http://iotn.co.kr 연락처: gilho.kr@gmail.com [ The Japanese government should apologize to Japanese Military Sexual Slavery victim. / 日本政府は日本軍の性的奴隷?牲者に謝罪すべき. ]

사용자

ID:
PW:

INDEX
01.게시판
게시판 [69]
02.File Book
File 자료실 [95]
Site Link [18]
개인폴더 [194]
03.Field Book
Altibase [19]
Tibero [30]
MS-SQL [18]
MySQL [40]
DB2 [79]
ORACLE [2896]
PostgreSQL [103]
기타정보 [150]
운영체제 [583]
04.Q/A Book
Q/A [53]
05.방명록
방명록 [54]
레벨업 [37]
구인/구직 [2]

기념일
Search
LINK
+ 가족 Hompy
+ DNSEver
IOTN :: Field Book :: 운영체제

 회원가입

yum install tigervnc-server
최길호 [LIST]   2021-03-08 11:24:27, 조회 : 297

mount /dev/sr0 /mnt

cat /etc/yum.repos.d/cdrom.repo
[cdrom]
name=Oracle Linux $releasever - DVD
baseurl=file:///mnt
enabled=1
gpgcheck=no

yum clean all
yum repolist enabled
yum update

yum install telnet
yum install tigervnc-server

su - oracle
mkdir .vnc
vncpasswd

cat > ~/.vnc/xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
#exec /etc/X11/xinit/xinitrc
#startkde &
xterm -geometry 80x24+0+0 &
xterm -geometry 80x24+500+0 &
xterm -geometry 80x24+0+340 &
xterm -geometry 80x24+500+340 &
xterm -geometry 200x24+0+680 &

chmod 755 ~/.vnc/xstartup

## root ##
# cp /lib/systemd/system/vncserver@.service \
# /etc/systemd/system/vncserver-oracle@\:1.service

cat > /etc/systemd/system/vncserver-oracle@\:1.service
#
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target
[Install]
WantedBy=multi-user.target
[Service]
Type=forking
WorkingDirectory=/home/oracle
User=oracle
Group=dba
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/bin/vncserver %i -geometry 1920x1080
PIDFile=/home/oracle/.vnc/%H%i.pid
ExecStop=/usr/bin/vncserver -kill %i

systemctl daemon-reload

systemctl stop    vncserver-oracle@\:1.service
systemctl start   vncserver-oracle@\:1.service
systemctl restart vncserver-oracle@\:1.service
systemctl status  vncserver-oracle@\:1.service
systemctl enable  vncserver-oracle@\:1.service

firewall-cmd --zone=public --list-ports
firewall-cmd --zone=public --add-service=vnc-server --permanent
firewall-cmd --zone=public --remove-service=vnc-server --permanent

출처:
https://access.redhat.com/solutions/1355683
https://docs.oracle.com/en/operating-systems/oracle-linux/7/network/ol7-vnc.html#ol7-vnc-config
18.207.157.152


  LIST

제목 작성자 작성일 조회
UNIX  mobaxterm Remote desktop (RDP, VNC, Xdmcp) Remote terminal (SSH, telnet, rlogin, Mosh)    최길호 2022/08/10 2
Linux  postfix smtp 공격    최길호 2022/07/29 9
Linux  Linux7 ssh port 추가    최길호 2022/07/27 8
Linux  vi /etc/pam.d/su # su 암호 없이 root 로그인    최길호 2022/07/26 6
Linux  Install VirtualBox 6.1 on Linux7    최길호 2022/07/22 12
UNIX  shell file read 세로 to 가로 출력 (grep sed while read echo -n )    최길호 2022/07/11 69
Linux  CentOS7 홈페이지 Migration 메모    최길호 2022/06/22 41
Linux  ssmtp: 450 4.7.1 Error: too much mail / warning: Message delivery request rate limit exceeded:    최길호 2022/05/26 39
Linux  No package ssmtp available. / Error: Nothing to do    최길호 2022/05/26 44
Windows  Windows 10 한글 사용자명 변경    최길호 2022/04/06 64
AIX (IBM)  ftp backup delete script / ftp 백업, 삭제 script    최길호 2022/03/30 1630
Windows  .bat .cmd file error keep running / .bat .cmd 에러 다음 계속 실행 / call 추가    최길호 2022/03/16 101
Windows  forfiles 200M 이상 파일 확인    최길호 2022/02/16 82
Windows  [ regedit ] reg add    최길호 2022/02/15 82
Windows  windows tail    최길호 2022/02/10 121
Solaris  solaris dns ping: unknown host    최길호 2022/02/08 126
Linux  /dev/mapper/mpathf: read failed after 0 of 4096 at 0: Input/output error    최길호 2021/12/14 111
Linux  wget --no-check-certificate    최길호 2021/11/11 1339
Windows  Windows VPN 지정한 포트가 이미 열려 있습니다. [ ipTIME vpn ]    최길호 2021/10/20 149

    목록보기   다음페이지 1 [2][3][4][5][6][7][8][9][10]..[30]   [다음 10개]
       

Copyright 1999-2022 Zeroboard / skin by 최길호(gilho.kr@gmail.com)
최근 댓글
2016/06/09
201606 추가 grid/runcluvfy.sh...
by 최길호
2016/05/09
lg tab full screen VNCSERVE...
by 최길호
2013/10/17
rsync -avH /data/*

by 최길호
최근 게시물
08/10
[운영체제]
mobaxterm Remote desktop (RDP,....
by 최길호
08/09
[ORACLE]
ORA-12521 listener does not cu....
by 최길호
08/08
[ORACLE]
ogg save table DML total count....
by 최길호