We proudly announced for CentOS Tweak first release.
CentOS Tweak was a set of commands to optimizing CentOS server, including kernel, network and hard disk optimize etc.
It is very useful for automation management of CentOS server farms.
CentOS Tweak source code on GitHub: http://github.com/leopku/centostweak
Download last release: http://github.com/leopku/centostweak/downloads
History
2014-05-31
- Replaced original CentALT yum repo with neu.edu.cn
- Generate file content with cat and EOF. Echo method replaced.
2012-04-19
- Fixed error year.
2011-12-22
- add bash-completion.
- Fixed a bug of adding noatime option for ext3.
- Fixed a bug of disable env reset in sudoer.
- remove sohu dag yum repository.
2011-7-11
- Disable reseting enviroment varirables while sudo.
2010-10-28
- Disable CentALT yum repo by default.
- Change running ntpdate from daily to weekly.
- Change default VIM coloscheme from elflord to delek.
- Fixed auto yes(-y) while install fail2ban by yum.
- Add expandta & autoindent in /etc/vimrc.
- Add expandta & autoindent in /etc/vimrc.
2010-09-26:
- A bug while generating /etc/yum.repo.d/dag-sohu.repo.
- Change this file to UTF8-NOBOM.
- CentALT yum repository(/etc/yum.repo.d/centalt.repo) while the OS is RHEL/CentOS 5.
2010-09-11:
- Install fail2ban to prevent password exhaustion attacking and set ban time as 12 hours.(default not effect. recommend uncomment if your server had public IP.)
- Command not found bug when running by sudo.
2010-08-25:
- Disable Ctrl+Alt+Del rebooting(thanks 181789871).(default not effect. uncommnet to take effect.)
- Add README file.
2010-08-18:
- A bug while exporting path into /etc/bashrc caused by “"(thanks 181789871).
##2010-08-16:
- Close the tty between second and sixth(thanks selboo).
- Increase default open file limits from 1024 to 65525.
2010-08-14:
- Optimize code of disabling selinux(thanks huichrist)
2010-08-10:
- Disable ius yum repository by default.
2010-08-09:
- Tweak enviroment like PATH, LDFLAGS and LD_LIBRARY_PATH for easy using sudo.
2010-08-08:
- Firstly check running this script as root.
- Disable gpgcheck and plugins for running fastly.
- Increase yum cache expire time from 1h to 24h.
- Turn off auto running fsck while days duration.
- Turn off writing file reading time (add noatime in /etc/fstab).
- Change file name to centostweak.sh
- Change /etc/cron.daily/ntpdate with run mode(+x).
2010-08-04:
- Install sudo. Enable wheel group to use nopasswrd sudo.
2010-08-02:
- Install & config snmpd.
- Default iptables rules.
- ntp package name from ntpdate.
2010-08-01:
- To avoid backup file overried, Change backup file name ended from “.origin” to “.%Y-%m-%d_%H-%M-%S”.
2010-07-31:
- Modified to be used with CentOS 5.x Server and sohu mirrors.
- Removed some unuseful functions.
- Add functions for turnning unuseful service off while system start.
- Add functions for kernel & TCP parameters optimizing.
2010-06-06:
- Copied from http://laohuanggua.info/archives/695.