顯示包含「linux」標籤的文章。顯示所有文章
顯示包含「linux」標籤的文章。顯示所有文章

Ubuntu ~ edit php.ini

sudo pico /etc/php5/apache2/php.ini


reference
http://ubuntuforums.org/showthread.php?t=853642

Ubuntu ~ vsftp add user account to www root


不像windows用ftp程式架ftp

是在程式裡新增account跟指定目錄

vsftp是新增一個系統的user


sudo adduser YOUR_USER_NAME

像我新增使用者bitty就是

sudo adduser bitty

然後登入的目錄是在/home/bitty/

要修改成在/var/www/

下指令

sudo vim /etc/passwd

把剛新增的user

我是叫bitty.....

後面的目錄改成

/var/www/



這樣用bitty登入就會直接到網頁上的跟目錄

reference
http://blog.udn.com/nigerchen/2261345

http://www.berecursive.com/2011/amazon-ec2/installing-vsftpd-on-an-amazon-ec2-ubuntu-instance

Ubuntu ~ set user, vsftp authority, vsftp can't write file

這是在我用AWS時候遇到的問題= =

就是成功把user登入的目錄換到/var/www/

可是沒權限寫入檔案XD


下這指令就解決了~

我的user名稱是bitty

chown -R bitty /var/www

修改vsftpd.conf

guest_username=btty


reference
http://blog.csdn.net/debehe/article/details/4154755

Ubuntu ~ install LAMP


sudo apt-get install tasksel

sudo tasksel

select LAMP server

and install


reference
http://www.unixmen.com/install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat/

Ubuntu ~ remove php

sudo apt-get -y purge php*

reference
http://askubuntu.com/questions/59886/how-to-compelety-remove-php

Ubuntu ~ enable apache mod_rewrite

sudo a2enmod rewrite

然後再restart apache

sudo /etc/init.d/apache2 restart

reference
http://thinkdiff.net/ubuntu-linux/ubuntu-enable-mod_rewrite-in-apache-server/

vi command

以下是我今天用vi使用到的指令.......

會這三招應該簡單的修改都可以辦到了XD


i為進入編輯模式

按Esc打:w為儲存

按Esc打:q!為離開


http://www.washington.edu/computing/unix/vi.html

Ubuntu ~ list folder files command

ls - list

reference
http://manpages.ubuntu.com/manpages/lucid/man1/ls.1.html

Ubuntu on Dell now available in the UK, Germany and France

Ubuntu and Dell

 Ubuntu has always been known for its super-easy installation. But to make things even easier, Canonical and Dell have teamed together to deliver Ubuntu 7.04 fully certified, pre-installed and supported on a range of Dell products.

Canonical offers full commercial support for Ubuntu 7.04 on all of the pre-installed Ubuntu certified Dell hardware products listed below.

The following notebooks and workstations are certified to run Ubuntu 7.04 and customers can choose to purchase commercial support options from Canonical directly through Dell at time of purchase:

  • The Inspiron E1505n – Delivers excellent Linux productivity in a thin and light notebook form factor
  • Dimension XPS410n – Packs massive power into a sophisticated and elegant desktop design
  • Dimension E520n – Customizable desktop design, built to perform

Ubuntu on Dell now available in the UK, Germany and France

To purchase Ubuntu on Dell in these countries follow the links below

(Please note: These you can begin ordering systems starting Wed, August 8th)


UK

www.dell.co.uk/ubuntu (available August 8th)

France

www.dell.fr/ubuntu (available August 8th)

Germany

www.dell.de/ubuntu (available August 8th)



http://www.ubuntu.com/dell

Beryl 讓 Vista 說 Cow!~~哈哈

Microsoft Windows Vista 上市後廣告主打的 Wow!, 雖然炫目的特效會讓人發出 Wow,但是看到電腦所需的配備跟價錢也不得不發出一聲 Wow! (註1)

不過在 Linux 上有個叫 Beryl 的套件,所需要的硬體配備大約只要 Vista 等級的一半,就能展現出讓 Vista 大叫 "Cow!" 的操作介面。

還沒看過 Windows Vista 操作介面的可以跟 Beryl 的畫面比較:


轉貼~http://www.neo.com.tw/archives/001049.html