Configure the more secure Server in Linux-Linux Enterprise Application-Linux Server application information. The following is a detailed description. 1. Start in text mode
Vi/etc/inittab
Find "id: 5: initdefault"
Changed to "id: 3: initdefault"
2. Set language parameters (solve terminal garbled characters in text mode)
Vi/etc/sysconfig/i18n
Find "LANG =" en_US.UTF-8 ""
Change to "LANG =" zh_CN.GB18030 ""
3. Essential Services in Linux (can be modified using ntsysv)
Atd # As mentioned in routine commands, make sure to start the one-time scheduled execution service.
Crond # The Circular execution commands mentioned in routine commands must be started (some Linux versions are cron)
Iptables # firewall software. Enable it for security purposes.
Keytables # Set the letter format on the keyboard (this option is not available in some Linux versions)
Network # network functions
Random # Quickly saves the system status to the image file at random time, which is very important to the system! Because after the boot,
# The system will quickly return to the status before shutdown (some Linux versions do not have this option)
Syslog # system logs
Xined # Another Service Manager, super daemon!
Xfs # this service is required for the run-level = 5 graphic interface. If you log on only in text mode, you can not start
# You can enable appropriate services as needed, such as sshd, vsftp, httpd, mysqld, and spamssion.
4. firewall configuration (you can enable the port as needed. The script below is for the Samba server)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.