2010年7月8日 星期四

安裝Zzenphoto 相片模組程式

1.至http://www.zenphoto.org/下載程式(目前是1.3版)
2.解壓縮後上傳至網頁目錄
3.新增資料庫(例如:zenphoto)
4.cp zp-core/zp-config.php.source zp-data/zp-config.php
修改zp-config.php中的xxxxx為個人主機的資料
$conf['mysql_user'] = 'xxxxx'; // Supply your MySQL user id.
$conf['mysql_pass'] = 'xxxxx'; // Supply your MySQL password.
$conf['mysql_host'] = 'localhost'; // Supply the name of your MySQL server.
$conf['mysql_database'] = 'xxxxx';
5.修改權限
chmod 777 albums
chmod 777 cache
chmod 777 zp-data
chmod 777 cache_html
chmod 777 plugins
6.輸入http://yourweb/zenphoto/就會進入設定畫面
7.前往完成後,進入管理介面,並設定一個管理員帳號及密碼
8.進入管理介面開始操作

2010年5月10日 星期一

x2go on Ubuntu10.04的安裝與設定

一、Ubuntu10.04的電腦端
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys C509840B96F89133
gpg -a --export C509840B96F89133 | apt-key add -
sudo vi /etc/apt/sources.list
增加一行 deb http://x2go.obviously-nice.de/deb/ lenny main
sudo apt-get update
sudo apt-get install x2goserver-one (這步驟不知是不是多餘的)
sudo apt-get install x2goserver
adduser username x2gousers
二、Windows端
下載x2goclient (win32)
安裝x2goclient-3.01-2-setup.exe
圖片一:設定新的Session












圖片二:連入Ubuntu端








參考資料:http://www.x2go.org

FreeNX on Ubuntu10.4

開啟Terminal
sudo add-apt-repository ppa:freenx-team
sudo apt-get update
sudo apt-get install neatx-server
安裝完畢!!

參考資料:
1.https://help.ubuntu.com/community/FreeNX
2.Neatx Project:http://code.google.com/p/neatx/
3.NoMachine:http://www.nomachine.com/select-package-client.php

2010年4月13日 星期二

Ubuntu 9.10 安裝 webmin

1.下載webmin,目前最新版webmin_1.510-2_all.deb

2.sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

3.sudo dpkg -i webmin_1.510-2_all.deb

4.從瀏覽器進入管理介面 https://localhost:10000/

PS:若帳密正確無法進入時,請重新安裝webmin
cd /usr/share/webmin
sudo ./setup.sh

參考資料:Install Webmin on Ubuntu Server or Desktop 9.10 Karmic Koala

Ubuntu 9.10 採Wubi安裝,在更新後Grub無法開機

1.進入Ubuntu
sh:grub> insmod ntfs
sh:grub> set root=(hd0,2)
sh:grub> loopback loop0 /ubuntu/disks/root.disk
sh:grub> set root=(loop0)
sh:grub> linux /boot/vmlinuz-2.6.31-19-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro
sh:grub> initrd /boot/initrd.img-2.6.31-19-generic
sh:grub> boot

2.重新安裝grub
sudo apt-get install grub2

參考:三口之家

2010年3月21日 星期日

視窗內的最大化等按鈕消失

視窗內的最大化等按鈕消失,導致無法移動視窗
1.Alt+滑鼠左鍵:可移動視窗
2.解決方法:ubuntu正體中文站-視窗位置跑太上面太高按不到

2010年2月25日 星期四

安裝virtualbox無法使用或無法開啟,有提示訊息

出現以下訊息:
Kernel driver not installed(rc=-1908)
/etc/init.d/vboxdrv setup
依照訊息提示要執行/etc/init.d/vboxdrv setup,但是在/etc/init.s下卻只有vboxdrv.dpkg-bak
解決方法:
1.sudo cp /etc/init.d/vboxdrv.dpkg-bak /etc/init.d/vboxdrv
2.sudo /etc/init.d/vboxdrv setup