로그인
Sign in

yum install epel-release

yum install tigervnc-server tigervnc xorg-x11-fonts-Type1 xterm

 

yum install glances

yum groups install "mate Desktop"

 

vi /etc/sysconfig/selinux

 

systemctl set-default graphical.target

 

useradd id_12331

useradd id_11469

useradd id_09434

useradd id_09943

useradd id_11148

useradd id_10786

useradd id_11991

useradd id_12357

useradd id_11660

useradd id_10607

useradd id_09736

useradd azure01

useradd azure02

useradd azure03

useradd azure04

useradd azure05

 

로그인 후 vncserver 실행하여 패스워드 설정

su -  id_12331

su -  id_11469

su -  id_09434

su -  id_09943

su -  id_11148

su -  id_10786

su -  id_11991

su -  id_12357

su -  id_11660

su -  id_10607

su -  id_09736

su -  azure01

su -  azure02

su -  azure03

su -  azure04

su -  azure05

 

 

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:1.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:2.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:3.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:4.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:5.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:6.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:7.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:8.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:9.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:10.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:11.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:12.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:13.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:14.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:15.service

cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:16.service

 

sed -i 's/<USER>/id_12331/g' /etc/systemd/system/vncserver@:1.service

sed -i 's/<USER>/id_11469/g' /etc/systemd/system/vncserver@:2.service

sed -i 's/<USER>/id_09434/g' /etc/systemd/system/vncserver@:3.service

sed -i 's/<USER>/id_09943/g' /etc/systemd/system/vncserver@:4.service

sed -i 's/<USER>/id_11148/g' /etc/systemd/system/vncserver@:5.service

sed -i 's/<USER>/id_10786/g' /etc/systemd/system/vncserver@:6.service

sed -i 's/<USER>/id_11991/g' /etc/systemd/system/vncserver@:7.service

sed -i 's/<USER>/id_12357/g' /etc/systemd/system/vncserver@:8.service

sed -i 's/<USER>/id_11660/g' /etc/systemd/system/vncserver@:9.service

sed -i 's/<USER>/id_10607/g' /etc/systemd/system/vncserver@:10.service

sed -i 's/<USER>/id_09736/g' /etc/systemd/system/vncserver@:11.service

sed -i 's/<USER>/azure01/g' /etc/systemd/system/vncserver@:12.service

sed -i 's/<USER>/azure02/g' /etc/systemd/system/vncserver@:13.service

sed -i 's/<USER>/azure03/g' /etc/systemd/system/vncserver@:14.service

sed -i 's/<USER>/azure04/g' /etc/systemd/system/vncserver@:15.service

sed -i 's/<USER>/azure05/g' /etc/systemd/system/vncserver@:16.service

 

echo "geometry=1440x900" >>/home/id_12331/.vnc/config

echo "geometry=1440x900" >>/home/id_11469/.vnc/config

echo "geometry=1440x900" >>/home/id_09434/.vnc/config

echo "geometry=1440x900" >>/home/id_09943/.vnc/config

echo "geometry=1440x900" >>/home/id_11148/.vnc/config

echo "geometry=1440x900" >>/home/id_10786/.vnc/config

echo "geometry=1440x900" >>/home/id_11991/.vnc/config

echo "geometry=1440x900" >>/home/id_12357/.vnc/config

echo "geometry=1440x900" >>/home/id_11660/.vnc/config

echo "geometry=1440x900" >>/home/id_10607/.vnc/config

echo "geometry=1440x900" >>/home/id_09736/.vnc/config

echo "geometry=1440x900" >>/home/azure01/.vnc/config

echo "geometry=1440x900" >>/home/azure02/.vnc/config

echo "geometry=1440x900" >>/home/azure03/.vnc/config

echo "geometry=1440x900" >>/home/azure04/.vnc/config

echo "geometry=1440x900" >>/home/azure05/.vnc/config

 

systemctl enable vncserver@:1.service

systemctl enable vncserver@:2.service

systemctl enable vncserver@:3.service

systemctl enable vncserver@:4.service

systemctl enable vncserver@:5.service

systemctl enable vncserver@:6.service

systemctl enable vncserver@:7.service

systemctl enable vncserver@:8.service

systemctl enable vncserver@:9.service

systemctl enable vncserver@:10.service

systemctl enable vncserver@:11.service

systemctl enable vncserver@:12.service

systemctl enable vncserver@:13.service

systemctl enable vncserver@:14.service

systemctl enable vncserver@:15.service

systemctl enable vncserver@:16.service

 
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 자주 사용하는 명령어 제비게릴라 2019-06-27 179
252 Centos 7에서 Docker, Docker Compose 설치 방법 제비게릴라 2025-02-25 6
251 Rocky Linux 9에서 bonding 설정 작업 제비게릴라 2025-02-22 8
250 python 3.10 설치 방법 제비게릴라 2025-02-19 4
249 megaRaid 명령어 제비게릴라 2024-04-17 107
248 azcopy github에서 소스 받아 설치하기.. 제비게릴라 2024-01-23 13
247 ssh 접속 알고리즘 문제로 로그인 오류 제비게릴라 2024-01-10 169
246 centos7 firewalld 설정 방법 제비게릴라 2023-12-01 32
245 dmidecode 값 제비게릴라 2023-08-25 16
244 sftp umask 설정 방법 제비게릴라 2023-08-16 86
243 L4 설정 후 ftp 접속후 ls명령어 안되는 경우 제비게릴라 2023-07-12 64
242 Ubuntu 패키지 업데이트 에러: dpkg: error processing package update-notifier-common (–configure): 제비게릴라 2023-01-19 134
241 centos 6에서 gcc 5버전, cmake 설치 제비게릴라 2022-12-08 93
240 리눅스 백업 후 원복 제비게릴라 2022-10-17 14
239 php pdo-mysql 확장모듈 설치 제비게릴라 2022-01-10 85
238 apache 소스파일을 rpm으로 컴파일 방법 제비게릴라 2022-01-10 103
237 ACPI Error 해결방법 [1] 제비게릴라 2021-12-18 93
236 net_ratelimit ping: sendmsg: Invalid argument 또는 kernel: Neighbour table overflow 발생시.. 제비게릴라 2021-08-25 181
235 tar 디렉토리 구조만 묶는 방법 제비게릴라 2021-04-23 156
234 openssl source 설치 제비게릴라 2021-03-10 269
» vnc 설정 방법 제비게릴라 2020-10-20 25