安裝eclipse
安裝SSHSecureShellClient-3.2.9
1.下載CentOS
2船惨、連接CentOS
打開軟件寻歧,點(diǎn)擊Quick Connect 盛嘿,輸入CentOS的IP地址娜饵,用戶名root,密碼為自己設(shè)定的密碼
連接到CentOS
CentOS輸入ifconfig小染,可查詢本機(jī)IP地址
Paste_Image.png
用ssh上傳eclipse安裝包到指定路徑
按以下指令操作
1、上傳eclipse tar文件
2贮折、[root@localhost soft]# tar -zxvf eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz
3裤翩、創(chuàng)建桌面快捷方式
安裝tomcat服務(wù)器(任選一個(gè)tomcat安裝包)
在 eclipse中配置tomcat
- [root@localhost soft]# ls -l 看權(quán)限
2 [root@localhost soft]# chown -R qq:root tomcat7
改變授權(quán),即把comat7文件夾擁有者qq改成用戶root,方可登錄啟動tomcat或者使用root登錄
安裝mysql
1 [qq@localhost Desktop]$ su root //以root身份進(jìn)入
Password:
2 [root@localhost Desktop]# yum list | grep mysql //查看yum上提供的mysql數(shù)據(jù)庫可下載的版本
3 [root@localhost Desktop]# yum install -y mysql-server mysql mysql-devel //通過yum安裝
4 [root@localhost Desktop]# service mysqld start //啟動mysql服務(wù)
5 [root@localhost Desktop]# mysql -u root -p //登錄mysql
64 [root@localhost Desktop]# service mysqld stop //停止mysql服務(wù)
修改mysql數(shù)據(jù)庫的密碼
set password for 用戶名@localhost=password('新密碼')
例子:mysql<set password for root@localhost=password('123');
這樣數(shù)據(jù)庫的密碼就變?yōu)?23了
創(chuàng)建快捷方式