常用功能配置文件路径

                    ubuntu                                    centos

修改主机名: /etc/hostname ---------------- /etc/sysconfig/network
配置网络 /etc/network/interfaces
服务启动脚本/etc/init.d/ ------------------------------- /etc/rc.d/init.d
用户初始配置/etc/skel/.bashrc
/etc/skel/.profile
apt更新源 /etc/apt/source.list

猜你喜欢

转载自blog.51cto.com/800011/2128559