码迷,mamicode.com
首页 > 系统相关 > 详细

linux下常用工具安装

时间:2016-09-26 20:15:02      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:

1.安装rz sz上传下载    

yum install lrzsz

 

2.安装jdk

下载jdk放在指定目录

vim /etc/profile
export JAVA_HOME=linux下jdk路径
export PATH=$PATH:$JAVA_HOME/bin
source /etc/profile
echo $PATH

 

3.安装mysql数据库

MySQL-client-5.6.21-1.rhel5.x86_64.rpm
MySQL-devel-5.6.21-1.rhel5.x86_64.rpm
MySQL-server-5.6.21-1.rhel5.x86_64.rpm

wget http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-server-5.6.21-1.rhel5.x86_64.rpm
wget http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-devel-5.6.21-1.rhel5.x86_64.rpm
wget http://dev.mysql.com/Downloads/MySQL-5.6/MySQL-client-5.6.21-1.rhel5.x86_64.rpm

rpm -e mysql-libs-5.1.66-2.el6_3.x86_64 --nodeps

rpm -ivh MySQL-server-5.6.21-1.rhel5.x86_64.rpm
rpm -ivh MySQL-client-5.6.21-1.rhel5.x86_64.rpm

cat ./.mysql_secret

mysql -uroot -p

set password=password("root");
flush privileges;

 

linux下常用工具安装

标签:

原文地址:http://www.cnblogs.com/hcl1991/p/5891169.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!