码迷,mamicode.com
首页 >  
搜索关键字:systemctl    ( 2804个结果
linux系统手动搭建FTP站点教程
步骤一:安装vsftpd 安装vsftpd yum install -y vsftpd 设置FTP服务开机自启动 systemctl enable vsftpd.service 启动FTP服务 systemctl start vsftpd.service 查看FTP服务监听的端口 netstat - ...
分类:系统相关   时间:2020-05-31 01:11:53    阅读次数:92
Linux安全策略设置
一、 Linux安全设置 1、口令长度限制 设定用户默认密码长度不小于10位(数字、字母、特殊字符) 说明:该限制只是警告提示,不是强制要求 检查项:设置用户密码最小长度 加固建议:在/etc/security/pwquality.conf中取消minlen注释符号#,同时设置最小密码长度建议10位 ...
分类:系统相关   时间:2020-05-30 11:10:28    阅读次数:222
centos7.5安装mariadb
一.安装mysql 这里我们基础系统是centos7.5 [root@monitor ~]# yum install -y mariadb-server [root@monitor ~]# systemctl start mariadb && systemctl enable mariadb [ro ...
分类:数据库   时间:2020-05-29 19:13:24    阅读次数:73
Linux关闭防火墙命令
程序在本地能跑起来且正常访问,部署到linux服务器上,跑起来没报错,但是就是访问不了, 这种问题往往是防火墙问题!! 下面是red hat/CentOs7关闭防火墙的命令: 1:查看防火状态 systemctl status firewalld service iptables status 2: ...
分类:系统相关   时间:2020-05-29 17:40:22    阅读次数:110
如何在docker中启动应用
主机断电重启后,docker中的应用也就停止了服务。这里我们需要启动这些应用(这里以在docker中启动rocketmq为例); 1.linux中输入【systemctl status docker.service】命令查看docker是否正在运行,如果没有,输入【systemctl start d ...
分类:其他好文   时间:2020-05-29 12:18:26    阅读次数:126
jumpserver 1.5.9安装
##jumpserver 1.5.9安装 #!/bin/bash ###jumpserver 1.5.9 systemctl stop firewalld systemctl disable firewalld setenforce 0 sed -i "s/SELINUX=.*/SELINUX=di ...
分类:其他好文   时间:2020-05-29 11:58:41    阅读次数:121
记一次mysql 重启失败
今天重启mysql发现报错如下: $ sudo service mysqld restart Redirecting to /bin/systemctl restart mysqld.service Job for mysqld.service failed because the control ...
分类:数据库   时间:2020-05-28 16:13:34    阅读次数:115
Centos开放指定端口命令
1、开启防火墙 systemctl start firewalld 2、开放指定端口 firewall-cmd --zone=public --add-port=6666/tcp --permanent 命令含义: --zone #作用域 --add-port=6666/tcp #添加端口,格式为: ...
分类:其他好文   时间:2020-05-27 18:44:24    阅读次数:1301
CentOS7防火墙firewalld 和 CentOS6防火墙iptables的一些配置命令
CentOS7 防火墙 一、防火墙的开启、关闭、禁用、查看状态命令 (1)启动防火墙:systemctl start firewalld (2)关闭防火墙:systemctl stop firewalld (3)设置开机启用防火墙:systemctl enable firewalld.service ...
分类:其他好文   时间:2020-05-27 18:41:49    阅读次数:70
CentOS7.* 查询开机启动项
使用 systemctl list-unit-files 可以查看启动项 左边是服务名称,右边是状态,enabled是开机启动,disabled是开机不启动 过滤查询可以systemctl list-unit-files | grep enabled 过滤查看启动项如下 过滤查询可以systemct ...
分类:其他好文   时间:2020-05-27 11:48:15    阅读次数:98
2804条   上一页 1 ... 32 33 34 35 36 ... 281 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!