码迷,mamicode.com
首页 >  
搜索关键字:systemctl    ( 2804个结果
Zabbix3.0完整部署
0. 准备工作 0.1 初始化 #!/bin/sh yum clean all systemctl stop firewalld.service systemctl disable firewalld.service sed -i 's/enforcing/disabled/g' /etc/seli ...
分类:其他好文   时间:2016-10-10 16:45:22    阅读次数:345
linux ntp 服务器和用户端
ntp 服务器 1.输入 rpm -qa|grep ntp 查看是否安装了ntp服务器 2.如果没安装 yum -y install ntp 安装 3.修改 /etc/ntp.conf 将原server加上注释 添加本地server 127.127.1.1 4.重启服务 systemctl rest ...
分类:系统相关   时间:2016-10-10 13:48:06    阅读次数:251
Rhel7.2的网络配置,防火墙、SELinux服务关闭及YUM源配置
1、网络配置 注:更改以上配置后需重启network服务 2、关闭防火墙的命令操作 首选检查防火墙状态#systemctl status firewalld.service 关闭防火墙:#systemctl stop firewalld.service 再次查看状态: 3、关闭SElinux的操作 ...
分类:系统相关   时间:2016-10-10 09:30:07    阅读次数:320
Linux学习笔记
systemctl --user enable pulseaudio说明:安装完成后系统没有声音,用该命令可以打开。ifconfig eth0 192.168.118.1说明:给网卡设置IP地址。apt-get install ugetapt-get install aria2说明:uget是kal ...
分类:系统相关   时间:2016-10-06 16:59:34    阅读次数:294
centos 7 防火墙和端口配置
systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p ...
分类:其他好文   时间:2016-10-03 17:15:26    阅读次数:3229
Centos7下面配置静态IP
修改网卡配置文件(操作前先备份一下该文件),/etc/sysconfig/network-scripts/ifcfg-enp0s3 ,如下: 默认该文件中还有其他配置,可以都删除或注释。 修改网关配置文件,/etc/sysconfig/networ,如下: 重启服务 systemctl restar ...
分类:其他好文   时间:2016-10-03 17:08:18    阅读次数:118
[archlinux][daily][pacman] local database 损坏
下午,开心的看着dpdk的文档,做做各种小实验。 后台正常yaourt -Syu,三个多G的下载,我总是过很久才update一次。 然后KDE窗口各种异常,我知道又在开始更x相关的东西了。可是因为X异常所以看见konsole。于是脑残的我就reboot了。。。 是reboot,不是systemctl ...
分类:数据库   时间:2016-09-29 20:27:22    阅读次数:249
MongoDB在CentOS 7上的systemctl服务配置
[Unit]Description=mongodbAfter=network.targetremote-fs.targetnss-lookup.target[Service]Type=forkingPIDFile=/mongodb_data/data/mongod.lockExecStart=/usr/local/mongodb/mongod--dbpath=/mongodb_data/data/--logpath=/mongodb_data/log/mongodb.log --logappend--fork..
分类:数据库   时间:2016-09-27 20:53:26    阅读次数:429
Systemd在docker容器中使用
以centos7.2容器中运行httpd服务为例子,默认下直接运行[root@b0b2a3ed40d6/]#systemctlstarthttpd.service FailedtogetD-Busconnection:Operationnotpermitted在网上找到的解决方法:创建Dockerfile创建一个基础镜像FROMcentos:7.2 MAINTAINERhpsfpcca@163.com ENVcontainerd..
分类:其他好文   时间:2016-09-27 20:41:49    阅读次数:295
Warning: Unit file of mysql.service changed on disk, 'systemctl daemon-reload' recommended.
CentOS7下重启MariaDB的时候出现Warning:Unitfileofmysql.servicechangedondisk,‘systemctldaemon-reload‘recommended.错误,根据提示,解决方法:systemctldaemon-reload正常重启MariaDBsystemctlrestartmysql即可。其他服务出现类似的情况,也可以使用system..
分类:数据库   时间:2016-09-27 11:59:01    阅读次数:622
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!