当前位置: 首页 > news >正文

【组件安装】Ubuntu 22.04.5 desktop 安装 Anyware Agent

系统初始化

sudo -i 
Passwd
apt-get update
apt-get install openssh-server
/etc/init.d/ssh start
vim  /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
Service ssh restart

配置防火墙

sudo ufw status
sudo ufw allow 443/tcp
sudo ufw allow 4172/tcp
sudo ufw allow 4172/udp
sudo ufw allow 60443/tcp
sudo ufw allow ssh  
sudo ufw enable 
sudo ufw status
sudo ufw status verbose

Chrome浏览器安装

sudo apt update 
sudo apt install wget
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
google-chrome --version

加域工具安装

apt install -y net-tools && ifconfig
resolvectl --no-pager | grep -i server
apt update -y
sudo apt install -y realmd libnss-sss libpam-sss sssd sssd-tools adcli samba-common-bin oddjob oddjob-mkhomedir packagekit krb5-user samba-libs samba-dsdb-modules policykit-1
realm discover ca.XXXX.com

Ubuntu加域

Using the AD domain controlled administrator account, add the Ubuntu virtual machine to the domain:

realm join --help
realm join -U administrator ca.xxxx.com
sudo realm list

Log in to Ubuntu virtual machine with a domain account and verify if domain control information can be queried

su zhang.san@ca.xxxx.com
realm list 
id ryan.yu@ca.xxxx.com
getent passwd ryan.yu@ca.xxxx.com
Exit

Edite the sssd.conf file to avoid PCoIP login failed issue:
In /etc/sssd/sssd.conf, add the following line to the domain section:

ad_gpo_map_permit = +pcoip-session

Example:

[domain\mydomain.com]
ad_domain = mydomain.com
ad_gpo_map_permit = +pcoip-session

If the above fails, try adding the following:

ad_gpo_access_control = permissive

设置域用户为本地管理员

add user home folder when login

sudo pam-auth-update

Add the following to the last line of the configuration file, so that domain users can log in as local administrators

sudo visudo
%domain\ users@ca.xxxx.com ALL=(ALL:ALL) ALL
cat /etc/sudoers
reboot

Test logging into a domain user as follows to see if it becomes a local root account on Ubuntu:

su zhang.san@ca.xxxx.com
sudo whoami   //this will be root 
exit

Anyware Agent服务安装

apt install curl
curl -1sLf https://dl.anyware.hp.com/rWKgtJyfBFzPIPkd/pcoip-agent/cfg/setup/bash.deb.sh | sudo -E distro=ubuntu codename=jammy bash
sudo apt update  
sudo apt install pcoip-agent-standard 
vim /etc/pcoip-agent/pcoip-agent.conf  //add below sentences into the conf file
pcoip.license_server_path = http://192.168.100.55:7070/request 
pcoip.event_filter_mode = 3
pcoip-list-licenses
reboot

安装Anyware Monitor

Manager打开Connector的monitor功能,复制安装脚本在Ubuntu系统安装

相关文章:

  • springboot441-基于SpringBoot的校园自助交易系统(源码+数据库+纯前后端分离+部署讲解等)
  • c++ 类和对象 —— 中 【复习笔记】
  • UE5中 Character、PlayerController、PlayerState、GameMode和GameState核心类之间的联动和分工·
  • 【从零开始学习计算机科学】软件工程(一)软件工程中的过程模型
  • 分布式 IO 模块:助力实现智慧仓储
  • 2.2 B/S架构和Tomcat服务器
  • QT非UI设计器生成界面的国际化
  • 提高开发效率:公共字段自动化填充方案
  • 【优选算法篇】--深度解析之滑动窗口篇
  • appium之Toast元素识别
  • Matlab 雷达导引头伺服系统的建模与仿真研究
  • python-leetcode 55.子集
  • Flutter 按钮组件 ElevatedButton 详解
  • spring AOP学习
  • Matlab 汽车ABS实现模糊pid和pid控制
  • SQL语言的编译原理
  • SQLMesh宏操作符深度解析:掌握@star与@GENERATE_SURROGATE_KEY实战技巧
  • 重生之我在学Vue--第13天 Vue 3 单元测试实战指南
  • 【漫话机器学习系列】144.辛普森悖论(Simpson‘s Paradox)
  • 数学建模:MATLAB循环神经网络
  • 证据公布!菲律宾6人非法登上铁线礁活动
  • 招行一季度净利372.86亿降2.08%,营收降逾3%
  • 一周人物|卡鲁等入围英国特纳奖,李学明新展中国美术馆
  • 亮剑浦江丨上海网信部门处罚一批医疗服务类互联网企业,三大类问题值得关注
  • 餐饮店直播顾客用餐,律师:公共场所并非无隐私,需对方同意
  • 葛兰西:“生活就是抵抗”