顯示具有 Ubuntu 標籤的文章。 顯示所有文章
顯示具有 Ubuntu 標籤的文章。 顯示所有文章

2011年4月21日 星期四

[Ubuntu] Change Ubuntu distribution source

tw.archive.ubuntu.com is totally slowly

So I change tw.archive.ubuntu.com to us.archive.ubuntu.com

~$ sudo gedit /etc/apt/sources.list

2011年4月1日 星期五

[Ubuntu] lsb_release查詢系統 distributions 版本號

Linux Standard Base (LSB)

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:        10.10
Codename:       maverick

http://en.wikipedia.org/wiki/Linux_Standard_Base

2011年3月16日 星期三

[Linux] 使用 pwgen 產生隨機密碼 Use pwgen generate random password

$ sudo apt-get install pwgen

$ pwgen


Result:
ohp1Shei Keiwohr9 nahThe8a Gie6Fiev xie0Un0v phi0GaiL Ie2quufo angie6Qu
sahgoh6U Rubaot4o iphei1Ki tah2uChe oP9uong7 aixieJ0i Yachae6e chipa6In
Reem3ahM ohda2Cei Eib5ohno gieLa0ze uighoo6X Shoom1Ee Goope5sh Viewah1a
Jaito1oo chua9kiD du4eiP3y yohlie4T oc8oPhez Fu1quo0x bei1eaGh thahqu3K
Zeila2ai Aosho2ag fie5aiV8 ooKejiv0 Ieb2kait eeg3Xoh0 quaete7E Shoo5eix
iej2Iehe kee1Ohyu jeuDae9z eeShoh8j Ieth8Hai Queinai8 Zuce3ahb Oqu7ohd6
Thohtei0 aeT0ieth zur6teoZ doh0Oon2 Kooj1Lee uiDoh3jo ohHaiw1r uhet0eiX
Jolei3do to8Thohh Lohmook0 fohH3jei pah1uRae HioTie4e jequ0Iet AhM5ieSo
Voo3uTah Woo4eith Kai1aeth oazu1oT3 Toovah2e Aiz1uing yeiph8Ze Ayoo0po3
Gohqu3zu yohXesh4 pooXai7j zoo6de7E jicoo2oF uo5iez0U ieS7eeYe peFah4ph
eihuoTh7 kooPh4ei Fat6aong re6Axai7 gieNg2ae omaeHee3 Shai3xep yin5aaJu
Zuy3aaho ci3aiH1o aefo5aeW Sei3Phuu cu2wuaZu uu5ReeCo ohNgav5g OhLe9pha
aPei4Iep Xae3Gefu fu8Wixae eox2Duuk Isahcie6 eegai7Mu Reibohj6 noh7AhL4
ea5Thae1 vongoh3W Eey7Uz9h ael4ooBu Lai2iuj2 iaSheap3 Alae8ao3 ee1Aetha
reilaX8O Eenohj2y shee7Or9 uGh4eino Ohyot0mo iShuad9t kei0Eeko iequie8E
nooN2kia ahn5kooH eizaa2Pi Aeth1aof Xalo3ohS Aoquuv2L Aij3pho0 Dah7ooF4
ohwa5ohY daf7JauT Ieko6bih Oox7ieko lain8Eil xe7Af8ei biepooX0 ju8Ied8A
zagol7Qu EeM2etio eeW3ahno Chae5pho Nid0ceiz vie5Goo5 eW3ahbei Eik4thao
Aer9Dini oos8Eeho fi4aBi2R aid2Chei Oob1Eipu iiJie1sh xeiDoo4o Amuu8bah
sheiP9oh AeguGae9 iChee2oh Gah2yahy ZaiPh9Ah Pek0hahj BieM4ahs ooS6chah

2011年3月11日 星期五

[Ubuntu] Install Apache, PHP, MySQL, FTP 安裝指令速記

$ apt-get install apache2
$ apache2 -v
$ a2emod
$ /etc/init.d/apache2 restart

$ apt-get install php5
$ php -v

$ apt-get install mysql-server
$ mysql -u root -p
Enter Password:
mysql> select version();

$ apt-get install php5-mysql
$ vim /var/www/phpinfo.php

$ apt-get install phpmyadmin

$ apt-get install vsftpd

Mount /var/www
$ groupadd webadmin
$ useradd -mG webadmin --shell /bin/bash newUser
$ passwd newUser

$ chgrp -R webadmin /var/www/website
$ chmod 775 /var/www/website
$ chmod -R g+s /var/www/website
$ mount --bind /var/www /home/newUser/www


See Also
[CentOS] vsftpd 安裝與管理
vsftpd 設定啟動

2011年1月3日 星期一

[Django] Deploy Django on Cherokee Web Server by uWSGI

Cherokee Web Server

The Fastest free Web Server out there!
Cherokee is a very fast, flexible and easy to configure Web Server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, uWSGI, SSI, TLS and SSL encrypted connections, Virtual hosts, Authentication, on the fly encoding, Load Balancing, Apache compatible log files, Data Base Balancing, Reverse HTTP Proxy, Traffic Shaper, Video Streaming and much more.

Cherokee-Admin, a user friendly interface, provides a no-hassle configuration of the server. Check out the benchmarks and documentation to learn more, join our active Community and give it a try to squeeze your hardware to the fullest!

2010年11月11日 星期四

[Linux] VirtualBox - Kubuntu 調整解析度

用VirtualBox灌完KUbuntu後調解析度時, 只有800x600和640x480, 那麼大的螢幕, 解析度當然要調高點。

System Setting -> Display and Monitor
系統設定 -> 顯示與螢幕



























可以透過VirtualBox的安裝Guest Additions...來達成
Related Posts Plugin for WordPress, Blogger...