վѧ㽨վݺɣ
Ա¼ | Աע | ղ | Ϊҳ | ҪͶ | RSS
ǰλãҳ >  > linux̳

̸һ̸LinuxϵͳҪĿ¼

Դվѧ  ʱ䣺2019-04-15 12:29:11

/etc/fstab

Զط/̣涨ĸ/豸ص

 [root@oldboy ~]# cat /etc/fstab## /etc/fstab# Created by anaconda on Sun Aug 12 17:26:53 2018## Accessible filesystems, by reference, are maintained under '/dev/disk'# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info#UUID=c9b74b1a-41cd-4260-9444-6245ab833dd9 /            ext4  defaults    1 1UUID=8880df83-5bf8-40db-bf6f-bf878b7a7e2e /boot          ext4  defaults    1 2UUID=3144b92b-c079-4239-9a91-84111d2f1ac1 swap          swap  defaults    0 0tmpfs //Ҫ豸    /dev/shm //ص    tmpfs//ļϵͳdefaults//ѡ0//Ƿ񱸷0//ǷԼdevpts         /dev/pts        devpts gid=5,mode=620 0 0sysfs          /sys          sysfs  defaults    0 0proc          /proc          proc  defaults    0 0

/etc/resolv.conf

DNSʱļ

[root@oldboy ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-scriptsearch localdomainnameserver 192.168.182.2[root@oldboy ~]# vi /etc/resolv.conf ; generated by /sbin/dhclient-scriptsearch localdomainnameserver 192.168.182.2nameserver 8.8.8.8~                                        ~                                                                              ~                                        ~                                        "/etc/resolv.conf" 4L, 100C written[root@oldboy ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-scriptsearch localdomainnameserver 192.168.182.2nameserver 8.8.8.8

 /etc/hosts

ļ

hostsļipַĶӦϵ

ã

•ƷԵԱʹãͨʽԲƷ
֮ĵÿڲDNSǨ

[root@oldboy ~]# cat /etc/hosts127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4::1     localhost localhost.localdomain localhost6 localhost6.localdomain6

 /etc/sysconfig/nework

[root@study ~]# cat /etc/sysconfig/networkNETWORKING=yesHOSTNAME=study//

޸

•vim  /etc/sysconfig/network
•sed -i  's#HOSTNAME=study#HOSTNAME=centos#g'  /etc/sysconfig/network

/etc/rc.local

ŵļchkconfigyum/rmpװij

/etc/inittab

мļ

/etc/issue

½ʾļ

[root@study ~]# cat /etc/issueCentOS release 6.7 (Final)Kernel /r on an /m

/var/log/messages

ϵͳϢ־ļ

PS濴Linux Ŀ¼

lost+found ޸𻵵ļ
misc 豸
net
proc н̵ӳ
tmp ÿʧʱļ
var usrĿ¼йҪĵļʱɵļĿ¼ȡɴ˿ʹusrĿ¼Ϊֻķʽ
boot
ں˺ͼںļ
media
ҪǺSessionManagerн,жýIJšͣȲ
mnt
ҽӹUSB豸Ŀ¼غ󣬻mntӦ豸Ŀ¼
opt ѡӦðװ
selinux ǿƷĿ¼ʵ
sys ϵͳ

ܽ

СҽܵLinuxϵͳҪĿ¼ ϣԴκԣСἰʱظҵġڴҲdzлҶԽű֮վ֧֣

α༭ɸ

һ
ҳ
ҳ
û: :
֤:
Ƽ
CopyRight 2008-2019, JZREAD.COM, Inc. All Rights Reserved
ICP09015033