[ Python@ubuntu]
安裝套件時,常見此指令add-apt-repository,
add-apt-repository是Python內的指令,需安裝Python才能使用
$sudo apt-get install python-software-properties
[ubuntu-desktop@ubuntu server]
ubuntu server安裝後僅提供console環境使用,可另外安裝ubuntu-desktop使用桌面環境。
安裝ubuntu-desktop會一併安裝系統建議的應用程式,若不需要可在安裝時加入參數取消。
$sudo apt-get install ubuntu-dekstop --no-install-recommends
[Freenx@ubuntu] Ubuntu上的遠端桌面
$sudo add-apt-repository ppa:freenx-team
$sudo apt-get update
$sudo aptitude install freenx
$sudo /usr/lib/nx/nxsetup --install
[語言套件@Ubuntu Server] language-selector
透過Freenx進入ubuntu server後,並沒有設定語言支援的套件,
可手動安裝語言支援套件language-seletor
$sudo apt-get install language-selector
[Virtualbox@ubuntu]
1. 修改/etc/apt/sources.list [以ubuntu10.04 lucid為例]
$wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
3. 安裝Virtualvox-4.1
$sudo apt-get update
$sudo apt-get install virtualbox-4.1
4. 下載Software Developer Kit
$wget http://download.virtualbox.org/virtualbox/4.1.10/Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.vbox-extpack
[rsync@ubuntu]
1、修改/etc/default/rsync
$ sudo vi /etc/default/rsync
--------------------------------------------------------------
RSYNC_ENABLE=false改成RSYNC_ENABLE=true
--------------------------------------------------------------
2、設定/etc/rsyncd.conf
$ sudo vi /etc/rsyncd.conf
--------------------------------------------------------------
[{backup name}]
path =
auth users =
uid = root
gid = root
secrets file = /etc/rsyncd.secrets
read only = no
--------------------------------------------------------------
3、設定/etc/rsyncd.secrets
$sudo vi /etc/rsyncd.secrets
--------------------------------------------------------------
{passwd}<---client用
{username}:{passwd}<---Server用
$sudo apt-get update
$sudo aptitude install freenx
$sudo /usr/lib/nx/nxsetup --install
[語言套件@Ubuntu Server] language-selector
透過Freenx進入ubuntu server後,並沒有設定語言支援的套件,
可手動安裝語言支援套件language-seletor
$sudo apt-get install language-selector
[Virtualbox@ubuntu]
1. 修改/etc/apt/sources.list [以ubuntu10.04 lucid為例]
deb http://download.virtualbox.org/virtualbox/debian lucid contrib non-free
2. Oracle public key for apt-secure$wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
3. 安裝Virtualvox-4.1
$sudo apt-get update
$sudo apt-get install virtualbox-4.1
4. 下載Software Developer Kit
$wget http://download.virtualbox.org/virtualbox/4.1.10/Oracle_VM_VirtualBox_Extension_Pack-4.1.10-76795.vbox-extpack
[rsync@ubuntu]
1、修改/etc/default/rsync
$ sudo vi /etc/default/rsync
--------------------------------------------------------------
RSYNC_ENABLE=false改成RSYNC_ENABLE=true
--------------------------------------------------------------
2、設定/etc/rsyncd.conf
$ sudo vi /etc/rsyncd.conf
--------------------------------------------------------------
[{backup name}]
path =
auth users =
uid = root
gid = root
secrets file = /etc/rsyncd.secrets
read only = no
--------------------------------------------------------------
3、設定/etc/rsyncd.secrets
$sudo vi /etc/rsyncd.secrets
--------------------------------------------------------------
{passwd}<---client用
{username}:{passwd}<---Server用
--------------------------------------------------------------
4、啟動rsync
$ /etc/init.d/rsync start
$ /etc/init.d/rsync start
沒有留言:
張貼留言