代码编织梦想

centos开放端口,防火墙开启关闭,相关常用命令-爱代码爱编程

开启端口命令:firewall-cmd --zone=public --add-port=6379/tcp --permanent关闭端口命令:firewall-cmd --zone=public --remove-port

浅谈liunx init.d 和 rc.local 两种起动方式-爱代码爱编程

浅谈liunx init.d 和 rc.local 两种起动方式 以rabbitmq 举例 (一).init.d 方式 开机自动重启设置 1.在/etc/init.d 目录下新建一个 rabbitmq [root@

GitLab 公钥设置 上传项目-爱代码爱编程

首先本地git项目文件夹 打开 git bash git执行初始化命令 git init 使用命令生成公钥 ssh-keygen -t rsa -C ‘[email protected]’ 然后一路回车(-C 参数是你的邮箱地址) 找到提示公钥私钥生成的目录 将 id_rsa.pub 里的内容复制出来 gitlab 上设置公钥 找到ssh设置页面 粘

Liunx 安装JDK-爱代码爱编程

jdk 下载地址 https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 进到目录/usr/local/software 解压上传的jdk文件:tar -zxvf jdk-8u201-linux-x64.tar.gz 重命名:mv jdk

Swagger+Springboot 使用-爱代码爱编程

1.引入依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version> <

Centos 安装 docker-爱代码爱编程

添加yum源 依次执行命令 yum update yum install epel-release -y yum clean all yum list 安装并运行docker yum install docker-io -y systemctl start docker 查看安装结果 docker info 启动docke

Centos 安装mysql-爱代码爱编程

Centos 安装mysql 1.安装wget(类似迅雷下载工具) yum install wget 2.下载MySQL官方的 Yum Repository(安装仓库) wget -i -c http://dev.mysql.com/get/mysql57-community-release-el7-10.noarch.rpm 3.yum安装