添加新账号
useradd -d /home/xxx -m xxx
passwd xxx
reference
http://www.howtogeek.com/howto/ubuntu/add-a-user-on-ubuntu-server/
xxx is not in the sudoers file解决方法
|
ubuntu server中文
apt-get install language-pack-zh
good article:
http://www.slyar.com/blog/ubuntu-server-utf8-zhcn.html
reference:
http://www.cnblogs.com/javaite/archive/2010/07/29/1787698.html
http://www.linuxidc.com/Linux/2010-08/28040.htm
Tab Auto-completion in Ubuntu Server
apt-get install bash-completion
reference:
http://www.arkf.net/blog/?p=54<br />
ubuntu 安全设置 very good
http://media.yinyanghouse.com/web-management-help-articles/linode-vps-setup-ubuntu-security
ubuntu security update
sudo apt-get update sudo apt-get upgrade --show-upgraded
Set the Hostname
Now we'll set the hostname for your system. You can choose any name you like, but something unique and descriptive might be prudent. The hostname is what your machine calls itself, and you can choose any name you want. In this example, we will call it "squire".
echo "15-1688" > /etc/hostname hostname -F /etc/hostname
<h2>修改Ubuntu Server时区</h2><br /><div class="content"><p>因为装的是英文版的Ubuntu Server,故时区为美国东部时间。查找/etc目录后发现在timezone文件中有指定时区。使用vim打开timezone直接修改成"Asia/Shanghai"即可。</p> <div class="wp_syntax"><div class="code"><pre class="bash" style="font-family: Verdana,Courier New;"><span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>timezone
也可以使用以下命令打开交互式界面来更改系统时区。
<span style="color: #c20cb9; font-weight: bold;">sudo</span> dpkg-reconfigure tzdata
Current default time zone: 'Asia/Shanghai'
修改dns
<div class="t_header"><div class="l"><div class="r"><div class="tl_header"><div class="tr_header"><div class="b"><div class="box_header" style="font-size: 14px;">Edit Name Servers: 15-1688.com</div></div></div></div></div></div></div><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br" style="padding: 4px;"><div class="box_content"><table border="0" cellspacing="0" cellpadding="5" width="100%"><tbody><tr><td class="pagehead" valign="top"><table border="0" cellspacing="0" cellpadding="5" width="100%"><tbody><tr><td class="pagehead" valign="top"> <table border="0" cellspacing="0" cellpadding="1" bgcolor="#000000"> <tbody><tr> <td> <table id="Table8" border="0" cellspacing="0" cellpadding="6"> <tbody><tr> <td class="formstyle" valign="top" bgcolor="#ffffcc"><strong>Important: Please Read </strong></td> </tr> <tr> <td class="grBoxText" height="80" valign="top" bgcolor="#ffffcc"> <strong>ns1.name.com</strong><br /> <strong>ns2.name.com</strong><br /> <strong>ns3.name.com</strong><br /> <strong>ns4.name.com</strong><br /><br /> must be entered as "Current" name servers to take advantage of our real time DNS tools and URL forwarding </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td></tr></tbody></table></td></tr></tbody></table></div></div></div></div></div></div>
修改 dns
A domain name must use our NS1.NAME.COM, NS2.NAME.COM, NS3.NAME.COM, and NS4.NAME.COM name servers in order for DNS Management to function.
Record Type | Record Host | Record Answer | TTL | Priority (MX only) | Create Date |
A | 15-1688.com | 74.224.224.224 (delete) | 300 | 2010-08-27 01:19:33 | |
MX | 15-1688.com | mx.mail.sohu.net (delete) | 300 | 10 | 2010-08-16 23:26:59 |
A | www.15-1688.com | 74.224.224.224 (delete) | 300 | 2010-08-27 01:19:51 |
optional
Secure Communications with OpenVPN on Ubuntu 10.04 (Lucid) -
Diagnosing Network Issues with MTR
前往linode,使用这个链接产生购买,我将在三个月后有一些收入,感谢
http://www.linode.com/?r=c07cc819100fa5703ea5e56a6b30444bf9439dd9