随笔分类 - linux
摘要:Centos systemctl 介绍 在 Centos 中 systemctl 是设置系统服务(service)的命令,它融合之前service和chkconfig的功能于一体。 可以使用它永久性或只在当前会话中启用/禁用服务。 添加服务 CentOS7的服务systemctl脚本存放在:/usr
阅读全文
摘要:编译 安装 MySQL Centos7.6 + MySQL5.7.34 下载地址:https://dev.mysql.com/downloads/mysql/ 下载源码包 wget -c https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-boos
阅读全文
摘要:RPM安装MySQL Centos7.6 + MySQL5.7.34 下载地址:https://dev.mysql.com/downloads/mysql/ # 清理环境 rpm -qa |grep -i mysql rpm -qa |grep -i mariadb # 普通删除模式 rpm -e
阅读全文
摘要:二进制 安装 MySQL Centos7.6 + MySQL5.7.32 下载地址:https://dev.mysql.com/downloads/mysql/ 清理环境 rpm -qa |grep -i mariadb rpm -e --nodeps mariadb-libs-5.5.68-1.e
阅读全文
摘要:centos7 修改yum源为阿里源 # 备份旧配置信息 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak # 下载阿里云源 wget -O /etc/yum.repos.d/CentOS-Base.
阅读全文
摘要:# 使用ssh-keygen生成SSH钥匙,可添加参数设置密码,密钥类型等 # 会询问是否自定义文件,设置密码等,一路回车即可。 root@DESKTOP-FVOICCT:~# ssh-keygen Generating public/private rsa key pair. Enter file
阅读全文
摘要:CentOS 7.0默认使用的是firewall作为防火墙 当前Linux版本信息: [root@VM-0-12-centos bin]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 基础命令: # 启动 systemct
阅读全文
摘要:Linux版本信息: [root@VM-0-12-centos bin]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) 下载Redis:Redis下载地址 wget http://download.redis.io/rel
阅读全文
摘要:Centos7默认gcc版本: [root@VM-0-12-centos /]# gcc -v gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) Centos7升级到gcc9: yum install centos-release-scl -y
阅读全文

浙公网安备 33010602011771号