jdk:1.8: 鏈接:鏈接:https://pan.baidu.com/s/1r7lcGGR2HtHY49Ut3N_Aog
提取碼:r16q
tomcat8.5:
鏈接:https://pan.baidu.com/s/1_kD5f-zJJRjscmUXPB3MGg
提取碼:7pij
mysql5.5: 鏈接:鏈接:https://pan.baidu.com/s/1g2GvapiamCLNvv__RUosiA
提取碼:dj73
關於數據庫安裝:
1、先下載上面的mysql。
2、先檢查本機是否有安裝mysql數據庫,如果有要卸載才行
(普通卸載可以會出現依賴問題,所以必要時加一個 --nodeps選項)
3、再使用rpm命令進行安裝,必須要安裝兩個軟件包,MySQL-server-5.5.54-1.linux2.6.x86_64.rpm和MySQL-client-5.5.54-1.linux2.6.x86_64.rpm一個服務端和一個客戶端。
4、 啓動mysql數據庫。
或者: service mysql start
5、訪問mysql,初次是密碼爲空:
6、初次設置密碼:
選擇數據庫:use mysql;
修改密碼:update user set password=PASSWORD(‘密碼’) where user=‘root’;
刷新數據庫權限:flush privileges;
退出數據庫:exit;
這樣就完成了
說明:
今天在阿里雲申請了一臺雲服務器在安裝mysql的時候報錯
[root@localhost upload]# rpm -ivh MySQL-server-5.5.25a-1.rhel5.x86_64.rpm
error: Failed dependencies: libaio.so.1()(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
可以先執行一個命令: yum install libaio
這樣就ok了,就可以繼續按照上面方法安裝mysql了