In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "CentOS system compilation and installation of mysql-4.1.22 steps", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn the "CentOS system compilation and installation of mysql-4.1.22 steps" bar!
CentOS system 5INSTALL-WIN-SOURCE file essence installation command:
The basic commands that you must execute to install a MySQL source distribution are: shell > groupadd mysql shell > useradd-g mysql mysql shell > tar-zxvf mysql-4.1.22.tar.gz shell > cd mysql-4.1.22 shell >. / configure-- prefix=/usr/local/mysql-- localstatedir=/data shell > make shell > make install shell > cp support-files/my-medium.cnf / etc/my.cnf shell > cd / usr/local/mysql shell > bin/mysql_install_db-- user=mysql shell > chown-R root. Shell > chown-R mysql / data shell > chgrp-R mysql. Shell > bin/mysqld_safe-- user=mysql & shell > bin/mysqladmin-p shutdown
Establishment of startup execution command msyqld in CentOS system
# cp mysql-4.1.22/support-files/mysql.server / etc/rc.d/init.d/mysqld # chmod + x / etc/rc.d/init.d/mysqld # / etc/rc.d/init.d/mysqld start
Join automatic start
# chkconfig-add mysqld
Change the password of root
# mysqladmin-uroot password 123456
Dependent package installation
# yum install gcc # yum install glib # yum install gcc-c++ # yum install esound-devel # yum install ncurses-devel
Brief introduction of several commands that may be encountered in CentOS system
Chgrp (change group)
Function description: change the group to which the file or directory belongs.
Chmod (change mode)
Function description: change the permissions of a file or directory.
Chown (change owner)
Function description: change the owner or group of files or directories.
In this way, we have finished compiling and installing mysql-4.1.22 for CentOS system 5.
Thank you for reading, the above is the "CentOS system compilation and installation of mysql-4.1.22 steps" of the content, after the study of this article, I believe you on the CentOS system compilation and installation of mysql-4.1.22 steps of this problem have a deeper understanding, the specific use of the need for you to practice and verify. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.