#yum install -y gcc-c++ cmake vim ncurses-devel wget
業(yè)務(wù)包括:企業(yè)網(wǎng)站建設(shè)、手機(jī)網(wǎng)站制作設(shè)計(jì)、電子商務(wù)商城網(wǎng)站建設(shè)、網(wǎng)站營(yíng)銷(xiāo)推廣等服務(wù),并且涵蓋域名與空間、虛擬空間、云服務(wù)器、等互聯(lián)網(wǎng)基礎(chǔ)服務(wù);成都創(chuàng)新互聯(lián)公司聯(lián)建站以互聯(lián)網(wǎng)的創(chuàng)新理念,成熟完善的建站體系,開(kāi)拓進(jìn)取的精神,專業(yè)的解決方案和顧問(wèn)咨詢服務(wù),幫助客戶在互聯(lián)網(wǎng)時(shí)代提升形象、把握商機(jī)、實(shí)現(xiàn)價(jià)值,提高企業(yè)的核心競(jìng)爭(zhēng)力。#useradd mysql -s /home/nologin
#mkdir /soft/mysql,chown mysql:mysql !$
#mkdir /data/mysql,chown mysql:mysql !$
#tar xvf mysql-5.7.18.tar.gz
#cd mysql-5.7.18
#cmake -DCMAKE_INSTALL_PREFIX=/soft/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_MYISAM_STORAGE_ENGINE=1 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_ARCHIVE_STORAGE_ENGINE=1 -DWITH_BLACKHOLE_STORAGE_ENGINE=1 -DWITH_MEMORY_STORAGE_ENGINE=1 -DWITH_READLINE=1 -DENABLED_LOCAL_INFILE=1 -DMYSQL_USER=mysql -DMYSQL_TCP_PORT=3306 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=boost/boost_1_59_0 --將mysql默認(rèn)字符設(shè)置為utf8,并安裝到指定的目錄/soft/mysql,自動(dòng)下載BOOST庫(kù)
#make &&make install
#cd /soft/mysql
#ln /soft/mysql/support-files/mysql.server /sbin/mysqld
#ln /soft/mysql/bin/mysql /sbin/mysql
#bin/mysqld --initialize --記得最后一行生成的密碼
2017-07-15T07:39:36.600876Z 1 [Note] A temporary password is generated for root@localhost: QkaZGfBSL0#v
#mysqld start
Starting MySQL.. SUCCESS!
#mysql -pQkaZGfBSL0#v
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
#ln /soft/mysql/mysql.sock /tmp/mysql.sock
#mysql -pQkaZGfBSL0#v
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.18 Source distribution
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
mysql> use mysql;
ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
mysql>set password=password('123456');
Query OK, 0 rows affected, 1 warning (0.01 sec)
mysql>
mysql> use mysql
Database changed
end
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性價(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場(chǎng)景需求。