- 论坛徽章:
- 2
|
回复 1# dooros
我们的生产平台有点复杂,我说说我们的测试平台.
安装系统时,除了系统必须的组件,其它必装组件:- chinese-support
- development-libs
- development-tools
- legacy-software-development
复制代码 主要使用的 CentOS 5 系列,后来进行了统一部署,系统全部采用CentOS 5.8,严格控制kernel版本- [root@TESTAPP1 ~]# rpm -qa | grep kernel
- kernel-2.6.18-308.1.1.el5
- kernel-headers-2.6.18-308.1.1.el5
- kernel-devel-2.6.18-308.1.1.el5
- [root@TESTAPP1 ~]#
- [root@TESTAPP1 ~]# cat /etc/redhat-release
- CentOS release 5.8 (Final)
- [root@TESTAPP1 ~]#
- [root@TESTAPP1 ~]# tail -n 1 /etc/yum.conf
- exclude=kernel*
复制代码 系统安装完成以后,关闭不需要的启动项,并设置runlevel为3- #!/bin/bash
- export PATH=/bin:/sbin:/usr/bin:/usr/sbin
- for i in `chkconfig --list | grep 3:on | awk '{print $1}'`
- do
- chkconfig --level 3 ${i} off
- done
- chkconfig cups off
- chkconfig --level 3 cpuspeed on
- chkconfig --level 3 crond on
- chkconfig --level 3 irqbalance on
- chkconfig --level 3 messagebus on
- chkconfig --level 3 microcode_ctl on
- chkconfig --level 3 network on
- chkconfig --level 3 readahead_early on
- chkconfig --level 3 readahead_later on
- chkconfig --level 3 sshd on
- chkconfig --level 3 syslog on
复制代码- [root@TESTAPP1 ~]# grep id /etc/inittab
- id:3:initdefault:
复制代码 其它的一时说不上来,慢慢补充.
不要在Linux的桌面上浪费时间,Linux桌面再怎么强,在易用性上还是比不过Windows,我在经历了 Ubuntu,CentOS,FreeBSD,Linux Mint等桌面后,最后还是回到了Win7.
服务器版,根据需求而定,新手不建议装Mini系统,因为很多依赖性的问题,会让新手失去耐心,但是也不能什么都装.
此外,如果用CentOS或RHEL,对于第三方源的选择需慎重.
编译安装的软件,最好安装在 /usr/local 目录,这样可以省去很多麻烦,等对系统熟悉了,再自定义安装到其它目录.
目前能想到的就这么多,以后慢慢补充. |
评分
-
查看全部评分
|