码迷,mamicode.com
首页 >  
搜索关键字:systemd systemctl    ( 3778个结果
No mysqld or mysql.server after mariadb-server install
To start MariaDB on Fedora 20, execute the following command:systemctl start mariadb.serviceTo autostart MariaDB on Fedora 20, execute the following c...
分类:数据库   时间:2016-01-04 19:55:18    阅读次数:261
关于linux的systemd的一些事
1. 输出运行失败的单元:systemctl --failed2. 所有的单元文件存放在 /usr/lib/systemd/system/ 和 /etc/systemd/system/ 这两个目录中, 但是后者的优先级更高. systemctl list-unit-files 可以列出所有的单元.3...
分类:系统相关   时间:2016-01-01 16:47:58    阅读次数:256
解决centos7 docker1.9 没有配置文件
如果没有/etc/sysconfig/docker这个配置文件1.vim/lib/systemd/system/docker.service[Unit] Description=DockerApplicationContainerEngine Documentation=https://docs.docker.com After=network.targetdocker.socket Requires=docker.socket [Service] Type=notify Enviro..
分类:其他好文   时间:2015-12-22 19:37:48    阅读次数:1472
linux 目录功能
[root@localhost/]#ls/bindateetclibmediaoptrootsbinsysusrbootdevhomelib64mntprocrunsrvtmpvarlinux目录简介/根目录---/etcRHEL6中主要存放服务配置文件---/usr/lib/systemd/systemRHEL7服务文件中用来替代RHEL6的/etc目录---/boot存放linux系统启动时候需要加载的文件。(..
分类:系统相关   时间:2015-12-22 19:36:15    阅读次数:166
nginx 重启错误
错误显示: 1 [root@iZ941h63xkhZ ~]# service nginx restart 2 Restarting nginx (via systemctl): Job for nginx.service failed. See 'systemctl status nginx.se....
分类:其他好文   时间:2015-12-11 14:49:46    阅读次数:396
openstack controller ha测试环境搭建记录(四)——配置mysql数据库集群
内容正式开始前,我已经在集群中添加了新的节点controller1(IP地址为10.0.0.14)。安装软件:# yum install -y mariadb-galera-server xinetd rsync创建用于健康检查的用户:# systemctl start mysqld.service...
分类:数据库   时间:2015-12-10 18:54:54    阅读次数:358
CentOS7配置Apache HTTP Server
CentOS7默认使用的是firewall防火墙,我们需要关闭防火墙。#关闭防火墙systemctl stop firewalld.service #禁止防火墙开机启动systemctl disable firewalld.service#安装Apacheyum install -y httpd#启...
分类:Web程序   时间:2015-12-10 13:15:25    阅读次数:220
RedHat7搭建Nginx+Apache+PHP
安装Apache# yum -y install httpd修改Apache默认端口为81#vi /etc/httpd/conf/httpd.conf找到"Listen 80"这行,改为 Listen 81设置Apache服务开机自启动# systemctl enable httpd启动Apache...
分类:Web程序   时间:2015-12-07 15:47:13    阅读次数:128
CentOS7 防火墙 firewall-cmd
最小化安装CentOS7 后,很多端口默认是不打开的,需要通过 firewall-cmd 把这些端口打开。检查防火墙状态# firewall-cmd --staterunning 关闭防火墙# systemctl stop firewalld# firewall-cmd --statenot ru....
分类:其他好文   时间:2015-12-05 16:06:20    阅读次数:193
Centos 7 yum 安装Apache
1.首先查看是否已经安装rpm -qa httpd2.如果没有yum install httpd -yrpm -ql httpd 查看3.重新启动服务/bin/systemctl start httpd.service
分类:Web程序   时间:2015-12-03 11:46:33    阅读次数:121
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!