怎么玩Ubuntu?

2011-09-21  张林 

怎么玩Ubuntu?
Ubuntu 8.04
1. networks/host
vi /etc/sysconfig/network

 NETWORKING=yes

HOSTNAME=ydcvm0xx

GATEWAY=172.18.133.5 # fixed network gateway

 vi /etc/hosts

172.0.0.1               localhost.localdomain localhost

172.18.133.xxx      ydcvm0xx

 /etc/sysconfig/network-scripts/ifcfg-eth0

2. soft repos
cat /etc/apt/source.list

sudo apt-get install sun-java6-jdk
sudo apt-get install putty-tools
sudo apt-get install cfengine3
sudo apt-get install openssh-server
apt-get install apache2 mysql-server mysql-client php5 php5-gd php5-mysql
sudo apt-get install phpmyadmin
sudo apt-get install apt-proxy
sudo apt-cache search tomcat

http://wiki.ubuntu.org.cn/UbuntuHelp:AptProxy
fyi,
www.ubuntuchina.com
http://www.ubuntu.org.cn/
http://www.cnblogs.com/ginoz/archive/2010/06/30/1768396.html
http://farlee.info/archives/ubuntu-server-install-lamp-phpmyadmin-vsftpd-zend-framework.html
速度快,且软件包比较全的source.list
http://tieba.baidu.com/p/13652880
http://www.debian.org/News/2011/20110525
Ubuntu 11.4
Network Configuration https://help.ubuntu.com/11.04/serverguide/C/network-configuration.html
/etc/network/interfaces
/etc/resolv.conf
/etc/hosts
Examples of how to set up interfaces can be found in
/usr/share/doc/ifupdown/examples/network-interfaces.gz.

sudo ifconfig eth0 192.168.1.200 netmask 255.255.255.0
ifconfig eth0
sudo route add default gw 192.168.1.1 eth0
route -n

sudo dpkg --configure -a
sudo lvextend -L+5G /dev/mapper/ubuntu114-rootsudo resize2fs /dev/mapper/ubuntu114-root
How to install PHP memcached on an Ubuntu server UBuntu 安装memcached
http://hi.baidu.com/ji_haiyang/blog/item/87d1ba4b2c58fefe82025c88.html
使用cfengine来实现服务器的自动化配置(1)
http://www.51cto.com/art/200711/60043.htm
http://farlee.info/archives/linux-ubuntu-lamp-apache-mysql-php-phpmyadmin-install-configuration.html

http://mirrors.ustc.edu.cn/
480°/4790 人阅读/1 条评论 发表评论

熊志男  2011-10-26

玩玩


登录 后发表评论