Search results

'ubuntu'에 해당하는 글들

  1. 2009/07/04  Ubuntu 9.04 & VNCSERVER (5)
  2. 2009/06/10  Ubuntu 9.04 에서 APM 설치 (2)

집에 있는 컴퓨터를 외부에서 remote하게 사용할때, 왠만한 작업은 ssh를 이용해서 할 수 있는데..

간간히 remote desktop을 부득이하게 사용해야할 때가 있습니다...
(아직 쉘로 모든걸 할 수 있는 경지에 못올라서 ㅠㅠ)


그럴때 다음과 같이 vncserver를 설정하고, vnc client로 접속하면 remote desktop을 사용할 수 있습니다.

필요한 과정:
#sudo apt-get install vnc4server                          vnc server 설치

#vncserver :2 -geometry 1024x768 -depth 16          vnc server 설정 (접속 password 정해야함)

#vncserver -kill :2                                              vnc server 세부설정 위해 일단 죽이기

#sudo vim ~/.vnc/xstartup


xstartup 내용을 다음과 같이 수정:

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

gnome-session &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
# xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

#vncserver                                                        vnc server 시작



윈도우에서 vnc를 이용하여 리눅스 머신 접속:
사용자 삽입 이미지





2009/07/04 01:26 2009/07/04 01:26
Ubuntu (우분투) 9.04 에서, APM: Apache, PHP, MySQL 설치하기
=============================================================

1. Apache
$sudo apt-get install apache2

2. MySQL authencation module
$sudo apt-get install libapache2-mod-auth-mysql

3. MySQL
$sudo apt-get install mysql-server mysql-client

4. PHP5
$sudo apt-get install php5-common php5 libapache2-mod-php5

5. MySQL-PHP5 module
$sudo apt-get install php5-mysql

6. Restart Apache Webserver
$sudo /etc/init.d/apache2 restart

7. Checking if MySQL is working well
$sudo netstat -ap | grep mysql
tcp 0 0 localhost.localdomain:mysql *:* LISTEN  <== Normal


-----------------------------------------------------
While installing APM on machine for research website...



2009/06/10 22:06 2009/06/10 22:06
─ tag  , , , , , ,
openclose