- 论坛徽章:
- 0
|
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
Normal
0
7.8 磅
0
2
false
false
false
EN-US
ZH-CN
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-font-kerning:1.0pt;}
I
surprisingly and suddenly got a brand new PC though I haven’t applied for one.
Ok, let’s take it as a Christmas gift, and I can practice installing the Debian
Linux OS personally!
Firstly,
install the standard system. Everything is quite smooth during about 30m’s
installation process, nothing unexpected.
Now I have
to configure the IP address.
1. edit the /etc/network/interfaces as follows (use static IP):
iface eth0 inet static
address 10.120.5.104
netmask 255.255.252.0
gateway 10.120.4.1
2. ifup eth0
3. /etc/init.d/networking restart
One
thing to do before leaving the machine without monitor, keyboard and mouse is
to make sure it can be accessed by SSH. By default, Debian standard
installation doesn’t include ssh package for security consideration. But that’s
easy by running ‘apt-get update’ then ‘apt-get install ssh’. Make sure to have
root permission. A few seconds’ later, everything is OK.
Bang!
Seems there are lots of issues with Debian standard installation. By default,
the Vim doesn’t support command: syntax on; in .vimrc. It complains: “Sorry,
the command is not available in this version: syntax on;”. Also some other
options such as ‘foldmethod’ are not supported either. All we have to do is to
install the full function: apt-get install vim
Another
issue: I have installed ppp using ‘apt-get install ppp’ but when I run ‘sudo
route add -net 10.76.0.0 netmask 255.255.0.0 ppp0’, it complains “SIOCADDRT: No
such device”. Googled a lot but all solutions failed. By chance I noticed ppp
requires OpenSSL installed. But ‘whereis openssl’ returned nothing, which means
I have had it yet! Why it’s not installed when I install ppp? Maybe because I
answered ‘no’ when apt-get asked whether to verify packages or not? Not sure.
For now, I only need to ‘sudo apt-get install openssl’. Hooray!
Oh man!
Even gcc, make is not installed by default of standard installation!
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/21990/showart_2139225.html |
|