一、安装Nginx 指令 yum install -y nginx 二、设置开机启动 指令 systemctl start nginx.service systemctl enable nginx.service 三、浏览器打开ip地址查看效果 ...
分类:
其他好文 时间:
2020-05-13 11:44:41
阅读次数:
66
参考 http://gorails.com/setup/ubuntu/16.04 一 ruby 2.5.0 +rails 5.0.7.2 先ruby 1.安装 node.js + yarn 遇到问题 sudo systemctl --force --force reboot 解决 sudo syst ...
分类:
Web程序 时间:
2020-05-11 18:36:28
阅读次数:
91
Centos 7 的防火墙和ssh连接 Centos 7 firewall : 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开 ...
分类:
其他好文 时间:
2020-05-10 15:16:59
阅读次数:
72
1, 查看防火墙状态: firewall cmd state systemctl status firewalld.service 2, 开启防火墙: systemctl start firewalld.service 3,设置开机自启: systemctl enable firewalld.ser ...
分类:
其他好文 时间:
2020-05-09 17:21:17
阅读次数:
63
1.安装 yum install mariadb-server -y 2.启动 systemctl start mariadb-server 3.设置开机启动systemctl enable mariadb-server 配置mariadb 1,命令 mysql_secure_installatio ...
分类:
数据库 时间:
2020-05-07 15:35:27
阅读次数:
94
/var/run/mysqld/的属主和属组属于root,mysql并不能在其中创建文件 手动的新建目录 [root@iz2zei43l28m7vcezzzyyjz apache-tomcat-9.0.0]# mkdir -p /var/run/mysqld/ [root@iz2zei43l28m7 ...
分类:
数据库 时间:
2020-05-06 19:58:12
阅读次数:
99
查看默认的target,执行:systemctl get-default开机以命令模式启动,执行:systemctl set-default multi-user.target开机以图形界面启动,执行: systemctl set-default graphical.target ...
分类:
系统相关 时间:
2020-05-05 18:15:36
阅读次数:
184
查看防火墙状态 systemctl status firewalld.service 关闭防火墙 systemctl stop firewalld.service 禁止防火墙开机启动 systemctl disable firewalld.service netstat下载命令:yum instal ...
分类:
其他好文 时间:
2020-05-05 16:22:23
阅读次数:
84
3.1 kvm安装 [root@mp ~]# systemctl stop firewalld [root@mp ~]# systemctl disable firewalld Removed symlink /etc/systemd/system/multi-user.target.wants/f ...
分类:
其他好文 时间:
2020-05-04 23:05:58
阅读次数:
88
云服务器自带MariaDB,如无特别要求参照1)即可,本人1),2)都来了一遍 1)MariaDB 1.安装mysql数据库 yum install mysql mysql-devel mariadb-server mariadb –y 2.启动数据库 systemctl start mariadb ...
分类:
数据库 时间:
2020-05-04 12:59:08
阅读次数:
186