<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1008185208591577206</id><updated>2011-04-22T02:43:53.060+08:00</updated><category term='Ubuntu Server'/><title type='text'>Life and Web</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lomoman-cn.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1008185208591577206/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lomoman-cn.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Lomoman</name><uri>http://www.blogger.com/profile/08172899960953969986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1008185208591577206.post-4092142080984372222</id><published>2009-02-20T13:48:00.000+08:00</published><updated>2009-02-20T14:49:04.201+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Server'/><title type='text'>Ubuntu Server 学习笔记（2）</title><content type='html'>基本配置&lt;br /&gt;    修改源：sudo vim/etc/apt/sources.list——》按“I”键切换到插入模式&lt;br /&gt;    修改镜像地址：&lt;a href="http://mirror.lupaworld.com/ubuntu"&gt;http://mirror.lupaworld.com/ubuntu&lt;/a&gt; 其它不变，共10条。&lt;br /&gt;    保存后 升级：sodo apt-get update&lt;br /&gt;    开启SSH服务：sodo apt-get install openssh-server&lt;br /&gt;&lt;br /&gt;网络配置&lt;br /&gt;    查看网络配置：ifconfig&lt;br /&gt;    配置网络：sudo vi /etc/network/interfaces&lt;br /&gt;&lt;br /&gt;                       # The loopback network interface&lt;br /&gt;                       auto lo&lt;br /&gt;                       iface lo inet loopback&lt;br /&gt;&lt;br /&gt;                       # The primary network interfaceauto eth0&lt;br /&gt;                       iface eth0 inet static&lt;br /&gt;                       address 203.187.182.***&lt;br /&gt;                       netmask 255.255.255.***&lt;br /&gt;                       network 203.187.182.***&lt;br /&gt;                       broadcast 203.187.182.***&lt;br /&gt;                       gateway 203.187.182.***&lt;br /&gt;                       # dns-* options are implemented by the resolvconf package, if installed&lt;br /&gt;                       dns-nameservers 202.106.196.115 202.106.0.20       &lt;br /&gt;                       dns-search workgroup&lt;br /&gt;&lt;br /&gt;                       # The second network interface for intranetauto eth1&lt;br /&gt;                       iface eth1 inet static&lt;br /&gt;                       address 192.168.0.123&lt;br /&gt;                       netmask 255.255.255.0&lt;br /&gt;                       network 192.168.0.1&lt;br /&gt;                       broadcast 192.168.0.255&lt;br /&gt;                       # dns-* options are implemented by the resolvconf package, if installed&lt;br /&gt;                       dns-nameservers 202.106.196.115 202.106.0.20&lt;br /&gt;&lt;br /&gt;新配置生效：sudo /etc.init.d/networking restart&lt;br /&gt;或重启网卡：sodo ifdown eth0&lt;br /&gt;                        sudo ifup eth0&lt;br /&gt;查看路由信息：route&lt;br /&gt;配置DNS：    sudo vi /etc/resolv.conf&lt;br /&gt;                        nameserver 202.106.196.115&lt;br /&gt;                        nameserver 202.106.0.20    (可添加3个)&lt;br /&gt;&lt;br /&gt;参考：&lt;a href="http://hi.baidu.com/coffeefoam"&gt;Ray's Notes&lt;/a&gt; - &lt;a href="http://hi.baidu.com/coffeefoam/blog/item/9844e301ddf643001c958386.html"&gt;Ubuntu Server 下的网络配置&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1008185208591577206-4092142080984372222?l=lomoman-cn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lomoman-cn.blogspot.com/feeds/4092142080984372222/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://lomoman-cn.blogspot.com/2009/02/ubuntu-server-2.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1008185208591577206/posts/default/4092142080984372222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1008185208591577206/posts/default/4092142080984372222'/><link rel='alternate' type='text/html' href='http://lomoman-cn.blogspot.com/2009/02/ubuntu-server-2.html' title='Ubuntu Server 学习笔记（2）'/><author><name>Lomoman</name><uri>http://www.blogger.com/profile/08172899960953969986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1008185208591577206.post-4505428476900488876</id><published>2009-02-20T13:00:00.000+08:00</published><updated>2009-02-20T15:06:38.604+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Server'/><title type='text'>Ubuntu Server 学习笔记（1）</title><content type='html'>首先到&lt;a href="http://www.ubuntu.com/"&gt;Ubuntu网站&lt;/a&gt;下载&lt;a href="http://www.ubuntu.com/getubuntu/downloading?release=server-newest&amp;amp;mirror=http%3A%2F%2Fmirror.nttu.edu.tw%2Fubuntu-releases%2F&amp;amp;arch=i386"&gt;64位Server版镜像文件&lt;/a&gt;并刻录CD。&lt;br /&gt;服务器配置：&lt;br /&gt;Dell PowerEdge 2800&lt;br /&gt;CPU：Xeon 3.0 ×1 （64bit）&lt;br /&gt;内存：1G （512M×2）&lt;br /&gt;硬盘：SCSI 600G （300G×2）&lt;br /&gt;&lt;strong&gt;1&lt;/strong&gt;.设置光驱启动&lt;br /&gt;开机自检时按F2进入Bios ，进入BOOT SEQUENCE，按“-”使CD_ROM DEVICE到第一位，并按空格键激活“√”，同法令Hard drive C:列位第二，ESC推出、保存。&lt;br /&gt;&lt;strong&gt;2&lt;/strong&gt;.安装系统 （8.10）&lt;br /&gt;进入安装首页，首先&lt;strong&gt;选择语言&lt;/strong&gt;【中文（简体）】——》【Install Ubuntu Server】&lt;br /&gt;&lt;strong&gt;键盘选择&lt;/strong&gt;【NO】，键盘源选择【USA】&lt;br /&gt;&lt;strong&gt;设置网络&lt;/strong&gt;（系统首先会自动DHCP，但大多数情况都会失败）（双网卡选择第1块eth0）选择【Configure network manually】（手动设置网络）——》按顺序设置【IP Address】【Network Mask】【Gateway】【DNS】&lt;br /&gt;&lt;strong&gt;设置主机名称&lt;/strong&gt;【Hostname】——》如联网则自动设置时间&lt;br /&gt;&lt;strong&gt;分割及格式化硬盘&lt;/strong&gt;【MANUAL】（手动）第一块硬盘：根/30G，HOME/266G，SWAP/4G（swap一般为内存2倍，交换空间）；第二块硬盘：DATA/300G（ext3）。&lt;br /&gt;安装基本系统……&lt;br /&gt;&lt;strong&gt;设置用户名及密码&lt;/strong&gt;【Full name for the new user】——》【Username for your account】（）登录名——》【Choose a new password for the new user】——》【Re-enter password for verify】——》【private directory】是否建立私人目录&lt;br /&gt;&lt;strong&gt;安装软件&lt;/strong&gt;……是否使用代理服务器，否则选择更新方式：【不自动更新 (No automatic updates) 】【自动安装安全更新 (Install security updates automatically)】 【使用 Landscape 管理系统 (Manage system with Landscape)】&lt;br /&gt;&lt;strong&gt;选择组合软件&lt;/strong&gt;：【DNS Server】【LAMP Server】【Mail Server】【OpenSSH Server】【PostgreSQL database】【Print Server】【Samba File Server】【Tomcat Java Server】【Virtual Machine Host】&lt;br /&gt;安装完毕，取出系统盘，重启进入Ubuntu Server。&lt;br /&gt;&lt;br /&gt;参考：&lt;a href="http://wiki.debian.org.hk/w/Install_Ubuntu_server"&gt;安装 Ubuntu 服务器 8.10 (Intrepid Ibex)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1008185208591577206-4505428476900488876?l=lomoman-cn.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lomoman-cn.blogspot.com/feeds/4505428476900488876/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://lomoman-cn.blogspot.com/2009/02/ubuntu-server-1.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1008185208591577206/posts/default/4505428476900488876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1008185208591577206/posts/default/4505428476900488876'/><link rel='alternate' type='text/html' href='http://lomoman-cn.blogspot.com/2009/02/ubuntu-server-1.html' title='Ubuntu Server 学习笔记（1）'/><author><name>Lomoman</name><uri>http://www.blogger.com/profile/08172899960953969986</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
