码迷,mamicode.com
首页 >  
搜索关键字:systemd systemctl    ( 3778个结果
002.Nginx安装及启动
一 Nginx yum安装1.1 前置准备 1 [root@nginx01 ~]# systemctl status firewalld.service #检查防火墙 2 [root@nginx01 ~]# getenforce #检查SELinux 3 Disabled提示:建议关闭防火墙,或通过 ...
分类:其他好文   时间:2020-07-08 13:31:28    阅读次数:61
4、自定义service 服务
vim /usr/lib/systemd/system/minio.service 1 [Unit] 2 Description=Minio service 3 Documentation=https://docs.minio.io/ 4 5 [Service] 6 WorkingDirectory ...
分类:其他好文   时间:2020-07-07 17:45:15    阅读次数:75
kafka、zookeeper相关命令
查看防火墙状态 firewall-cmd --state 开放端口 firewall-cmd --zone=public --add-port=2181/tcp --permanent firewall-cmd --zone=public --add-port=9092/tcp --permanen ...
分类:其他好文   时间:2020-07-07 17:40:16    阅读次数:62
CentOS 7/8修改系统运行级别
CentOS 5、 CentOS 6可以通过修改配置文件/etc/inittab 参数,从而修改系统运行级别,切换系统的runlevel,但是从CentOS 7开始,不能用这个命令了,只能由systemd统一管理,并且减少到了两个等级(当然这里不包含poweroff.target、reboot.ta ...
分类:其他好文   时间:2020-07-07 14:55:14    阅读次数:67
mysql忘记密码
1、使用mysqld_safe命令 systemctl stop mariadb # 停止mariadb数据库 mysqld_safe --skip-grant-table & # 进入单机模式 mysql -uroot # 回车,进入数据库 use mysql; # 进入mysql库 update ...
分类:数据库   时间:2020-07-06 19:55:28    阅读次数:67
ELK+RabbitMq搭建日志系统
环境准备 1. 三台服务器 10.1.34.215 10.1.34.216 10.1.34.217 2. 全部关闭防火墙和selinux systemctl stop firewalld && systemctl stop firewalld sed -i 's/=enforcing/=disabl ...
分类:其他好文   时间:2020-07-06 16:04:30    阅读次数:59
centos7关闭防火墙
centos6中防火墙是iptables,centos7中防火墙是firewalld 在centos7中用service iptables status查看防火墙状态会报错 Redirecting to /bin/systemctl status iptables.service Unit ipta ...
分类:其他好文   时间:2020-07-06 10:48:36    阅读次数:94
zabbix 发现 vmvare esxi6.7 虚拟主机
1:服务端配置确认 确保 #vi /etc/zabbiz/zabbix-server/zabbix_server.conf ## 确认其中有 StartVMwareCollectors项目 值 > 0 StartVMwareCollectors=5 # systemctl restart zabbi ...
分类:其他好文   时间:2020-07-06 00:38:29    阅读次数:95
Centos7添加nginx为系统服务
1、Centos7添加nginx为系统服务、 vi /usr/lib/systemd/system/nginx.service [Unit] Description=nginx - web server After=network.target remote-fs.target nss-lookup ...
分类:其他好文   时间:2020-07-05 13:54:18    阅读次数:169
MySQL启动和关闭命令总结
启动MySQL mysqld --defaults-file=/etc/my.cnf --user=mysql & mysqld_safe --defaults-file=/etc/my.cnf --user=mysql & service mysql start # systemctl start ...
分类:数据库   时间:2020-07-05 00:39:21    阅读次数:149
3778条   上一页 1 ... 26 27 28 29 30 ... 378 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!