
计算机
xiongyingli
通过努力改变命运!
展开
-
CentOS 7 安装MySQL
CentOS 7 安装MySQL1.安装YUM Repoa、由于CentOS 的yum源中没有mysql,需要到mysql的官网下载yum repo配置文件。下载命令:[root@cnetos7 software]# wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpmb、然后进行repo的安装:[root@cnetos7 software]# rpm -ivh mysql57-community-r原创 2021-01-22 16:56:50 · 179 阅读 · 0 评论 -
CentOS 7 安装Maven
CentOS 7 安装Maven1.下载Maven安装包[root@cnetos7 software]# wget https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz2.安装maven[root@cnetos7 software]# tar -xvzf apache-maven-3.6.3-bin.tar.gz[root@cnetos7 software]# mv apa原创 2021-01-22 15:43:17 · 103 阅读 · 0 评论 -
CentOS 7 安装Nginx
CentOS 7 安装Nginx1.安装nginx依赖包安装gcc、gcc-c++[root@cnetos7 xiongyingli]# yum install -y gcc gcc-c++安装其它依赖包[root@cnetos7 xiongyingli]# yum install -y make automake autoconf libtool pcre pcre-devel zlib zlib-devel openssl openssl-devel2.下载nginx安装包获取ng原创 2021-01-21 21:51:31 · 143 阅读 · 0 评论 -
CentOS 7 安装redis
CentOS 7 安装redis1.下载redis安装包[root@cnetos7 software]# wget http://download.redis.io/releases/redis-5.0.7.tar.gz2.解压tar xzvf redis-5.0.7.tar.gz3.安装 cd redis-4.0.8 make cd src make install PREFIX=/usr/local/redis...原创 2021-01-20 22:20:34 · 119 阅读 · 0 评论 -
CentOS 7 安装redis过程中gcc: Command not found错误
CentOS 7 安装redis过程中make错误问题:[root@cnetos7 redis-5.0.7]# makecd src && make allmake[1]: Entering directory `/usr/local/software/redis-5.0.7/src' CC Makefile.depmake[1]: Leaving directory `/usr/local/software/redis-5.0.7/src'make[1]: Enteri原创 2021-01-20 20:45:25 · 1269 阅读 · 0 评论 -
CentOS 7 安装java环境
A.yum工具进行安装常用命令1.查看是否装有java环境原创 2021-01-20 17:20:31 · 198 阅读 · 0 评论 -
CentOS 7 修改主机名(hostname)
A.hostnamectl命令修改主机名常用命令1.查看状态 hostnamectl [root@localhost xiongyingli]# hostnamectl Static hostname: localhost.localdomain Icon name: computer-laptop Chassis: laptop Machine ID: 02f44c77569d4c0a96da22d6a99a0eaa原创 2021-01-20 15:02:26 · 335 阅读 · 0 评论 -
Docker部署项目下mysql 5.7.31链接报错 Communications link failure
Docker部署项目下mysql 5.7.31链接报错 Communications link failureurl链接jdbc:mysql://ip:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8mysql版本mysql> select version();+--原创 2020-11-13 16:27:28 · 2676 阅读 · 3 评论