Monday, April 30, 2012

Ubuntu

1. Install Apache
$ sudo apt-get install apache2
www folder is at /var/www
2.Install ssh server
sudo apt-get install openssh-server
https://help.ubuntu.com/10.04/serverguide/openssh-server.html



Thursday, April 26, 2012

How to install network card driver in linux

1. Check the physical network card
lspci
2. Check the startup device loading information
dmesg
3. clear network interfaces /etc/sysconfig/network-scripts
4. enable the dirver

sudo modprobe 8139too
dmesg | grep 8139
ifconfig

5. restart network service
/etc/init.d/network restart
service network restart

http://ubuntuforums.org/showthread.php?t=1754699
http://www.cyberciti.biz/faq/linux-command-to-remove-virtual-interfaces-or-network-aliases/