1、firewalld的基本使用启动: systemctl start firewalld查看状态: systemctl status firewalld停止: systemctl disable firewalld禁用: systemctl stop firewalld 2.systemctl是C ...
分类:
系统相关 时间:
2017-02-19 20:16:56
阅读次数:
775
[root@localhost ~]# systemctl stop firewalld[root@localhost ~]# setenforce 0[root@localhost ~]# systemctl start docker[root@localhost ~]# docker image ...
分类:
Web程序 时间:
2017-02-18 14:20:36
阅读次数:
2401
一、安装mariadb : yum groupinstall mariadb mariadb-client -y 二、启动(设置开机启动)服务 : systemctl start (enable) mariadb 三、设置只允许本地访问, 在 /etc/my.cnf 里添加内容: skip-netw ...
分类:
数据库 时间:
2017-02-16 01:29:25
阅读次数:
209
一、http单域名访问 1、安装软件: yum -y install httpd 2、启动服务:systemctl start httpd 3、设置开机启动: systemctl enable httpd 4、创建index.html : touch /var/www/html/index.html ...
分类:
Web程序 时间:
2017-02-15 22:23:12
阅读次数:
275
一、在服务器端上安装软件并进行相关配置(以下操作需用用户root进行): 1、安装samba: yum -y install samba samba-client 2、启动服务并设置开机启动: systemctl start smb , systemctl enable smb 3、创建共享文件 : ...
分类:
其他好文 时间:
2017-02-15 12:31:15
阅读次数:
170
###########################################################################第七单元##########################################################################1.什么是进程、线程进程是一个具有独立功能的程序关于某个数据集合的一次运动活动,进程也就是系统正在做的..
分类:
系统相关 时间:
2017-02-13 22:30:52
阅读次数:
267
1.Linux下安装与初始化 #安装 yum install mariadb-server #设置编码 vim /etc/my.cnf [mysqld]character-set-server=utf8 #启动 systemctl start mariadb #自启动 systemctl enabl ...
分类:
数据库 时间:
2017-02-12 10:52:15
阅读次数:
213
虚拟机1 : nginx 1 systemctl stop firewalld 2 setenforce 0 3 yum -y install lrzsz 4 rz 5 ls 6 tar -zxvf nginx-1.10.1.tar.gz -C /usr/src/ 7 cd /usr/src/ngi ...
分类:
其他好文 时间:
2017-02-10 23:01:41
阅读次数:
230
2 yum -y install httpd* mariadb* php php-mysql 安装环境 3 systemctl start httpd 5 vim /etc/httpd/conf/httpd.conf { index.php AddType application/x-http-ph ...
分类:
其他好文 时间:
2017-02-10 14:38:48
阅读次数:
156
systemctl start firewalld.service#启动firewallsystemctl stop firewalld.service#停止firewallsystemctl disable firewalld.service#禁止firewall开机启动 systemctl st ...
分类:
Web程序 时间:
2017-02-03 18:32:24
阅读次数:
481