ǰλ: ҳ > >

VirtualBox 4.3.6*װCentOS 6.5

ʱ:

CentOsصַhttp://mirrors.163.com/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-bin-DVD1to2.torrent


1.½

2.´



֮װʱʱ

?


3.װCentOS6.5

5ʱ/ϺȡϵͳʱʹUTCʱ䡱

10ApplicationsEmacsBase System磨Dial-up Networking SupportߣNetworking ToolsԼLanguagesChinese Supportѡ


11ʼװֱ*

14KdumpĬΪѡkdump˴Ĭϼ

ʱ

?


4.װ

(1)ʹNATģʽĬϵģʽ

ͨifconfig鿴IP֪eth0ĬϷIPǣ10.0.2.15




鿴|IP,غDNS

# һ

BOOTPROTO=none

DEFROUTE=yes



鿴ip

------------------------------------------------------

ϵͳping





ϵͳpingٶȣ

------------------------------------------------------




ЧķʹIPӳϵ

IP . ޸


޸ģ

192.168.137.128 lq lq


Ч޸ִһservice network restart


hostname

ע⣺/etc/hostsʾIPӳϵ

ʱpingping lq pingͨ


b.deb/ubuntu

޸

?


*ϵͳ

ػ

?


5.ͨXshellӵCentOS



3

ȷ


ӣûrootliqiongסȷӳɹ


Xshellã

?


6.ԴãXshellв



ضӦ汾repoļ, /etc/yum.repos.d/(ǰӦ)

йƼѧhttps://lug.ustc.edu.cn/wiki/mirrors/help/centos

--------------------------------

yumԴ󣬽һ£ʹЧ

-----------------------------------------------------------------------



EPELȫ: Extra Packages for Enterprise Linux.˵ȫyumԴ


Ҫ밲װEPELҪEPELrpmװ

汾6Server

ҳepel



a. ȷCentOS İ汾

b. EPEL rpm װ

c. װEPEL

жأrpm -e epel-releas


ls /etc/yum.repos.d/ һepel.repoһepel-testing.repo


d. EPELԴ
* epel: mirrors.ustc.edu.cn

-----------------------------------------------------------------------

ͣʹEPELļenabled=0ɣ

-----------------------------------------------------------------------


e.ʹ


һ´EPELȡ

ϵͳ



?


гпɸµ嵥

װָ

ɾ

ѯϢyum info foo


ָ

԰fooֶΪyum search foo


гпɰװͿɸµ嵥

Ѱװİ



yum updateʱں˵ķ

?


鿴ϵͳ汾

uname -r ʾϵͳķа

?


7.װcentos֮rootû¼װVirtualBoxǿ

װǿҪkernel-devel뱣֤kernel-develkernel汾һ¡鿴Դkernel-develİ汾

*ϵͳ(reboot)µkernelܱʹá


2װkernel-develgcc



?




ʱʽ24Сʱ

ʱChinaGMT+8Location NameShanghai, Shanghai, China


¶ȵλCٵλm/s 1m/s = 3.6 km/h






мǣ35


Ҫ޸Ĭм޸ļvim /etc/inittab id:5:initdefault:е֣5޸Ϊ3

ע⣺޸ĬмΪ16ϵͳֱӹػ*Ҳظ




취滻

*ͼν棬Ȼinit 3ַģʽ¡


?


?


360ȫʿpingӰ


pingеcentosܻ⣺


ping 192.168.137.128

ܵ360ȫʿţ취

?


?


niceover


?



ת:https://www.cnblogs.com/liqiong/p/4268110.html






ԴMicrosoft Visual C++ 2015-2019 пϼ32λ6



ӣ