
安装
ranran陈
这个作者很懒,什么都没留下…
展开
-
Linux里重装ssh
搭建ssh免密通道的时候误删了/etc/ssh里的私钥和公钥文件,导致xshell连接不上我的虚拟机。所以准备重装ssh服务。1.先查看openssh相关服务安装情况。rpm -qa openssh*2.卸载yum remove openssh*3.重新安装yum install openssh-server4.修改配置vim /etc/ssh/sshd_config5.重启systemctl start sshd6.设置开机启动systemctl enable sshd原创 2021-01-03 21:40:09 · 5106 阅读 · 0 评论 -
使用systemctl服务的方式启动nginx
当编译安装好nginx之后,使用以下命令来启动/停止/重启nginx是很麻烦的。/usr/local/nginx2/sbin/nginx/usr/local/nginx2/sbin/nginx -s stop/usr/local/nginx2/sbin/nginx -s reload以下我们来配置一个systemctl 命令,来操作nginx的启动、停止和重启命令。[root@localhost ~]# vim /usr/lib/systemd/system/nginx.service# N原创 2020-12-06 10:40:53 · 2018 阅读 · 0 评论 -
在windows机器上使用SQLyog远程登录MySQL数据库
1.如何在windows里去远程连接到linux里的MySQL里?SQLyog:是一个在windows里远程连接linux里的MySQL的工具navicat:是一个在windows里远程连接linux里的MySQL的工具2.在xshell中关闭防火墙selinux(secure linux 安全的linux)selinux 是linux下的安全措施机制,用来保护linux系统的安全。相当于另外一个安全工具[root@localhost ~]# getenforce 查看selinu原创 2020-10-18 16:36:42 · 498 阅读 · 0 评论 -
Linux里安装mysql:二进制安装(内附配置好的一键安装脚本)
下载地址https://downloads.mysql.com/archives/community/一键安装脚本[root@mysql-binary ~]# cat onekey_binary_install_mysql.sh #!/bin/bash#author:cali#time: 2020-10-6#company: sanchuang#QQ:1260919872#####################################编译安装mysql 5.7.30#os原创 2020-10-18 15:07:26 · 250 阅读 · 0 评论 -
Linux里shell脚本一键安装mysql:编译安装
经典的编译安装3步曲1.编译前的配置 ./configure或者是cmake目的是生成一个叫做Makefile的文件2.编译 make make -j 2启动2个进程去编译,提高速度3.编译安装 make install-本质是将编译好的二进制程序复制到指定的安装目录一键安装脚本:[root@mysql-compile ~]# cat onekey_compile_install_mysql.sh #!/bin/bash#author:cali#time: 202原创 2020-10-18 14:56:21 · 568 阅读 · 0 评论 -
Linux里安装mysql:rpm包(内附安装包)
Linux里安装mysql:rpm包(内附安装包)1.准备:1.准备一台centos7的系统–》建议使用最新版本的centos系统 7.82.从mysql的官方网站下载rpm包 https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.29-1.el7.x86_64.rpm-bundle.tar什么是rpm包:rpm包:是redhat、centos的linux系统里的软件包的格式,类似于windows的.exe程序。只是cent原创 2020-10-18 11:41:26 · 884 阅读 · 0 评论