Linux(deepin) 安装ideaIU-redis-ElasticSearch-mysql软件教程含压缩包

1.安装ideaIU-2018.2.8 从idea官网下载一个稳定版本,由于工作用的2018.2所以下载的ideaIU-2018.2.8版本。

下载url:http://www.jetbrains.com/idea/download/other.html

解压后运行bin目录下的idea.sh文件启动idea。

启动后如需要购买。我根据https://blog.csdn.net/tiantang_1986/article/details/81346558文章中的第二种方式解,亲测有效。

2.安装redis

https://redis.io/download下载redis安装包,根据官网给的步骤操作即可。

(1).tar xzf redis-5.0.5.tar.gz  //此命令会解压到当前目录

(2).cd redis-5.0.5/

(3).make //make命令会解释redis目录下的Makefile文件,打开文件可看到会执行打包命令。过程需要等一小会。

(4).cd src   //编译成功后会产生一个src目录

(5).    ./redis-server //运行redis  如图

3.安装ElasticSearch(根据https://www.jianshu.com/p/b89b1db2d65d

https://www.elastic.co/cn/downloads/past-releases

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.6.10.tar.gz  //ps:切换到放置安装包的目录

tar -zxvf ../elasticsearch-5.6.10.tar.gz   //解压

./bin/elasticsearch   //启动es(https://www.elastic.co/guide/cn/elasticsearch/guide/current/running-elasticsearch.html):

或者用  ./bin/elasticsearch -d //后台运行es  运行后在浏览器访问http://localhost:9200/?pretty,有结果返回即启动成功

后台运行es,关闭es需要用kill命令。

ps -ef |grep elasticsearch 然后获取进程号

kill -9 进程号

4.安装mysql

sudo apt-get install -y mysql-server mysql-client

安装成功后登陆:sudo mysql -uroot -p

登陆成功后设置root密码:

update mysql.user set plugin="mysql_native_password" where user="root";

grant all on *.* to root@"localhost";

update mysql.user set authentication_string=password('这里是你的密码') where user='root'and Host = 'localhost';

flush privileges;

退出后重新登陆输入设置的密码即可登陆成功。

压缩包:https://pan.baidu.com/s/1UIDuFnjFCmb1vAjM-G9V0A  提取码: j3rv

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值