CentOS 7.0编译安装Nginx1.6.0+MySQL5.6.19+PHP5.5.14 一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firew ...
分类:
其他好文 时间:
2016-04-21 16:35:43
阅读次数:
257
准备工作: 停掉数据库服务: systemctl stop mariadb.service 将主库的数据库文件拷贝一份作为从库数据: cp -a -r /data/mysql_data/mysql/* /data/mysql_data/mysql2/ 拷贝完启动: systemctl start m ...
分类:
数据库 时间:
2016-04-18 21:58:08
阅读次数:
182
1)首先,检查服务器已安装的tftp-server 使用命令:rpm -qa | grep tftp-server 如果存在已安装的tftp这里会列出来 2)安装tftp-server 和 xinetd 使用如下的命令,进行相应服务的安装: $yum -y install tftp-server $ ...
分类:
Web程序 时间:
2016-04-15 20:01:46
阅读次数:
2269
忙碌/学习起来时间是过得 好快啊。 linux关闭桌面显示、不是修改/dev/inittab文件,而是这个文件有提示。systemctl set-default xxx 还有yum search ifconfig, yum install xxx 装的虚拟机都已经装了ftp了,还想自己装装试试来呢。 ...
分类:
其他好文 时间:
2016-04-11 00:02:43
阅读次数:
435
在CentOS 7上构建RAID5、LVM和SAMBA服务器(5)——架设SAMBA服务器
6. 架设SAMBA服务器
6.1. 预备
本节的任务是配置SAMBA服务,共享/home/shared目录,使指定的Windows用户可以远程访问该共享。
首先要在CentOS上运行yum命令安装SAMBA服务:
yum install samba安装之后,执行systemctl命令来启动smb...
分类:
其他好文 时间:
2016-04-10 14:42:35
阅读次数:
150
Nginx 的启动 指定配置文件的方式启动nginx 对于yum安装的nginx,使用systemctl命令启动 Nginx 的停止 从容停止 快速停止nginx 强制停止所有nginx进程 Nginx的平滑重启 在修改了nginx配置文件后,在重启nginx之前,需要确认nginx配置文件的语法是 ...
分类:
其他好文 时间:
2016-04-10 14:08:27
阅读次数:
127
systemctl start mariadb.service #启动MariaDBsystemctl stop mariadb.service #停止MariaDBsystemctl restart mariadb.service #重启MariaDBsystemctl enable mariad ...
分类:
数据库 时间:
2016-04-08 21:39:55
阅读次数:
244
使用CentOS-7一段时间,原来习惯服务管理上用service来操作服务的启动、停止、重启等操作,来到CentOS-7下发现不灵了,提示:查看发现CentOS-7下原来使用了systemctl强大融合了service和chkconfig的功能于一身来管理服务,可以使用它永远性或只在当前会话中启动服务。systemctl..
分类:
其他好文 时间:
2016-04-07 01:35:14
阅读次数:
298
一、配置防火墙,开启FTP服务器需要的端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable fire ...
分类:
其他好文 时间:
2016-04-03 13:04:38
阅读次数:
254
系统环境:ubuntu15.04 64bit , privoxy 3.0.24 代理环境:http://www.cnblogs.com/liuxuzzz/p/5324749.html 1. 重现失败环境。 不知道是什么原因,privoxy无法开机启动。于是,我手动使用systemctl开启。 结果失 ...
分类:
其他好文 时间:
2016-03-28 17:01:47
阅读次数:
628