In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
[root@mysql1 ~] # whoamiroot [root@mysql1 ~] # uname-r2.6.32-358.el6.x86_64 [root@mysql1 ~] # cat / etc/redhat-release CentOS release 6.4 (Final) [root@mysql1 ~] # ifconfig eth0eth0 Link encap:Ethernet HWaddr 00:0C:29:0D:D5:9F inet addr:172.16.10.88 Bcast:172.16.255.255 Mask:255.255.0.0 inet6 addr: fe80 :: 20c:29ff:fe0d:d59f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:506 errors:0 dropped:0 overruns:0 frame:0 TX packets:91 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:41642 (40.6 KiB) TX bytes:10715 (10.4 KiB)
1)。 Add a virtual user MySQL
[root@mysql1 ~] # useradd-r-s / sbin/nologin mysql [root@mysql1 ~] # id mysqluid=498 (mysql) gid=498 (mysql) groups=498 (mysql) [root@mysql1 ~] # tail-1 / etc/passwdmysql:x:498:498::/home/mysql:/sbin/nologin
2)。 Install openssl and openssl-devel packages
[root@mysql1 ~] # yum install openssl openssl-devel-y
3)。 Install the ncurses-devel package
[root@mysql1 mysql-5.5.32] # yum install ncurses-devel-y
4)。 Install the cmake-2.8.8 compilation tool wget https://cmake.org/files/v2.8/cmake-2.8.0.tar.gz
[root@mysql1 tools] # lltotal 29580 RW Murray. 1 root root 5691656 Jun 13 10:26 cmake-2.8.8.tar.gz # package-rw-r--r--. 1 root root 24596474 Jun 13 10:10 mysql-5.5.32.tar.gz [root@mysql1 tools] # tar xf cmake-2.8.8.tar.gz # decompression software [root@mysql1 tools] # cd cmake-2.8.8 # cut into the cmake-2.8.8 directory [root@mysql1 cmake-2.8.8] # pwd/root/tools/cmake-2.8.8 [root@mysql1 cmake-2.8.8] # . / configure. / bootstrap # start compilation [root@mysql1 cmake-2.8.8] # make & & make install # compile and start installation.
5)。 Start installing the MySQL database
[root@mysql1 tools] # pwd/root/tools [root@mysql1 tools] # tar xf mysql-5.5.32.tar.gz [root@mysql1 tools] # lltotal 29588drwxr-xr-x. 13 root root 4096 Jul 14 21:23 cmake-2.8.8-rw-r--r--. 1 root root 5691656 Jun 13 10:26 cmake-2.8.8.tar.gzdrwxr-xr-x. 31 7161 wheel 4096 Jul 2 2013 mysql-5.5.32-rw-r--r--. 1 root root 24596474 Jun 13 10:10 mysql-5.5.32.tar.gz [root@mysql1 tools] # cd mysql-5.5.32 cmake. -DCMAKE_INSTALL_PREFIX=/usr/local/mysql\-DMYSQL_DATADIR=/mydata/data\-DSYSCONFDIR=/etc\-DWITH_INNOBASE_STORAGE_ENGINE=1\-DWITH_ARCHIVE_STORAGE_ENGINE=1\-DWITH_BLACKHOLE_STORAGE_ENGINE=1\-DWITH_SSL=system\-DWITH_ZLIB=system\-DWITH_LIBWRAP=0\-DMYSQL_UNIX_ADDR=/tmp/mysql.sock\-DDEFAULT_CHARSET=utf8\-DDEFAULT_COLLATION=utf8_general_ ci [root @ mysql1 mysql-5.5.32] # echo $? 0 [root@ Mysql1 mysql-5.5.32] # make & & make install # starts compilation and installation
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.