ubuntu virtualbox 에서 


Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT).


이렇게 에러 날때


ls -ld /usr /usr/lib


게 해서 root 소유가 아니면


sudo chown root:root /usr /usr/lib


이렇게 해주면 된다.

Posted by 살찐루어

댓글을 달아 주세요

hostname 변경

OS/리눅스 2014. 10. 1. 13:55 |

호스트네임 변경하기


이 파일을 수정하기 위해 아래의 명령어를 입력합니다.
# vi /etc/sysconfig/network


이제 재부팅 된 후에 '# hostname' 명령어로 호스트네임을 확인.

Posted by 살찐루어

댓글을 달아 주세요

CentOS6.x VNC 설치


 

1. 패키지 확인


[root@localhost~]# rpm -qa | grep vnc

gtk-vnc-python-0.3.10-3.el6.x86_64

gtk-vnc-0.3.10-3.el6.x86_64

tigervnc-server-module-1.0.90-0.17.20110314svn4359.el6.x86_64



2. 패키지 설치


[root@localhost~]# yum install tigervnc-server



3. vnc 환경 설정


[root@localhost~]# vi /etc/sysconfig/vncservers

VNCSERVERS="1:root 2:saint"

VNCSERVERARGS[1]="-geometry 1152x864"

VNCSERVERARGS[2]="-geometry 1152x864"



4. 개별 유저 패스워드 설정


[root@localhost~]]# vncpasswd

Password:

Verify:

[saint@localhost ~]$ vncpasswd

Password:

Verify:



5. vncserver 재시작


[root@localhost .vnc]# service vncserver restart

VNC 서버 종료 중: [ OK ]

VNC 서버 ()를 시작 중: 1:root xauth: creating new authority file /root/.Xauthority

New 'kvm.netpia.com:1 (root)' desktop is kvm.netpia.com:1

Creating default startup script /root/.vnc/xstartup

Starting applications specified in /root/.vnc/xstartup

Log file is /root/.vnc/kvm.netpia.com:1.log

2:scbyun xauth: creating new authority file /home/scbyun/.Xauthority

New 'kvm.netpia.com:2 (scbyun)' desktop is kvm.netpia.com:2

Creating default startup script /home/scbyun/.vnc/xstartup

Starting applications specified in /home/scbyun/.vnc/xstartup

Log file is /home/scbyun/.vnc/kvm.netpia.com:2.log

[ OK ]



6. 개별 사용자 vnc(xstartup) 설정


[root@localhost ~]# vi .vnc/xstartup

#twm &

gnome-session &

[saint@localhost ~]$ vi .vnc/xstartup

#twm &

gnome-session &



7. vncserver 재시작


[root@localhost .vnc]# service vncserver restart
VNC 서버 종료 중: 1:root 2:saint                           [  OK  ]
VNC 서버 (을)를 시작 중: 1:root
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

2:saint
New 'localhost.localdomain:2 (saint)' desktop is localhost.localdomain:2

Starting applications specified in /home/saint/.vnc/xstartup
Log file is /home/saint/.vnc/localhost.localdomain:2.log

                                                           [  OK  ]
[root@localhost .vnc]#

[root@localhost ~]# vi /etc/sysconfig/iptables

-A INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT

[root@localhost ~]# /etc/init.d/iptables restart

 





Posted by 살찐루어

댓글을 달아 주세요

토요일 저녁 매일미소와 만년동 엑스포 다녀왔습니다.

원래 계획은 자전거로 한바귀 돌아볼 심산였는데 자전거를 두고 걷는게 좋을듯 싶어

차를 세워두고 천천히 초여름 갑천변의 시원한 바람을 만끽하고 돌아왔습니니다.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

'일상 > 소소한일상' 카테고리의 다른 글

스팟용접기 제작  (0) 2018.04.03
대정동 임도 라이딩  (0) 2014.05.30
2013 계룡 軍 문화축제  (0) 2013.10.04
훈제오리볶음  (4) 2013.09.12
탐론 28-75 분해 청소 조립  (0) 2012.06.26
Posted by 살찐루어

댓글을 달아 주세요

 

 

 

 

 

 

 

 

'루어낚시 > 최근 조행기' 카테고리의 다른 글

옥정호 턴오버  (0) 2014.10.21
어제 경천지에서  (0) 2014.10.13
10월 17일 경천지 가을배스  (4) 2013.10.18
경천저수지 가을소경  (1) 2013.09.28
9월 15일 경천지  (2) 2013.09.15
Posted by 살찐루어

댓글을 달아 주세요