In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to uninstall the centos system and deploy the environment for you. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Centos uninstall system has been widely used, but it is also constantly updated. After centos is installed, centos uninstalls the php,mysql,apache that comes with the system
The centos uninstall system can be checked using the rpm command
# rpm-qa | grep-I php
# rpm-qa | grep-I mysql
# rpm-qa | grep-I httpd
Centos uninstalls many dependencies on the system. The easiest way is to use yum to uninstall. Since it is a newly installed system, it should not be a big problem.
# yum-y remove php
# yum-y remove mysql
# yum-y remove httpd
Centos uninstall the system and then use rpm-qa to take a look, all uninstalled to a system directory convention Software source code package storage location / usr/local/src source package compilation and installation location (prefix) / usr/local/software_name script and maintenance program storage location / usr/local/sbinMySQL database location / var/lib/mysqlApache website root directory / data/wwwrootApache virtual host log root directory / data/logs/wwwApache running account www:wwwyum RPM package information file / etc/yum.list under the LAMP environment deployment is also a basic reference to the above article.
Deployment and adjustment of system environment
1. Check whether the system is normal # more / var/log/messages (check for system kernel-level error messages) # dmesg (check for hardware devices with error messages) # ifconfig (check whether the Nic settings are correct) # ping www.163.com (check whether the network is working properly)
two。 Disable unwanted services # ntsysv the following lists only the services that need to be started, and all services that are not listed are disabled: crondirqbalance (only if the server CPU is S.M.P architecture or supports dual-core, HT technology, it needs to be enabled, otherwise shut down. ) microcode_ctlnetworkrandomsendmailsshdsyslog
3. Adjust the parameters of TCP/IP network to strengthen the anti-SYN Flood ability # echo 'net.ipv4.tcp_syncookies = 1' > > / etc/sysctl.conf# sysctl-p
4. Configure yum# rpm-- import / usr/share/doc/centos-release-3/RPM-GPG-KEY-CentOS-3# yum list | tee / etc/yum.list
5. Modify the command history record # vi / etc/profile find HISTSIZE=1000 and change it to HISTSIZE=50
6. Time correction server time # yum install ntp# crontab-e join one line: * / 15 * ntpdate 210.72.145.44server # 210.72.145.44 is the server address of China National time Service Center.
7. Restart the system # init 6
8. Use the yum program to install the required development package (the following is the standard RPM package name) gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel follow the above steps, basically no problem, very smooth.
On how to uninstall the centos system and environment deployment is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.