로그인
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

 
조회 수 :
3
등록일 :
2020.10.20
16:41:48 (*.170.33.77)
엮인글 :
http://bestceok.com/xe/index.php?mid=unix_com&document_srl=484239&act=trackback&key=73e
게시글 주소 :
http://bestceok.com/xe/index.php?document_srl=484239
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 자주 사용하는 명령어 제비게릴라 2019-06-27 21
235 tar 디렉토리 구조만 묶는 방법 new 제비게릴라 2021-04-23  
234 openssl source 설치 제비게릴라 2021-03-10 2
» vnc 설정 방법 제비게릴라 2020-10-20 3
232 우분투 rpm 파일을 deb로 변경시 i386 제비게릴라 2020-08-18 6
231 ubuntu nvidia 드라이버 업데이트 제비게릴라 2020-05-07 3
230 우분투 관련 명령 및 정보 제비게릴라 2020-03-13 4
229 centos 7에서 nic 고정 방법 제비게릴라 2020-03-05 7
228 pci 슬롯 확인... lspci 제비게릴라 2020-02-06 5
227 ubuntu apt proxy 설정 제비게릴라 2020-01-31 5
226 apache 동작이 안 될 때 제비게릴라 2019-12-17 7
225 MBR 삭제시 복구 방법 제비게릴라 2019-10-01 5
224 tx hang 관련 (TSO) 제비게릴라 2019-08-05 5
223 centos 7에서 파워버튼 눌러도 안 꺼지게 하는 방법 제비게릴라 2019-07-30  
222 date 사용한 스크립트 제비게릴라 2019-07-16  
221 자주 사용하는 명령어 제비게릴라 2019-06-27 21
220 리눅스 상에서 MBR 삭제 및 복구 방법 제비게릴라 2019-06-19 15
219 expect에서 echo 명령어로 추가할 때 [1] 제비게릴라 2019-06-04 6
218 chage 명령으로 패스워드 날짜 업데이트.. 제비게릴라 2019-05-14  
217 하드웨어 시간 맞추는 방법 제비게릴라 2019-04-22 6
216 dell disk 교체 방법 제비게릴라 2019-04-22 4