sudo firewall-cmd --permanent --zone=public --add-port=32200/tcp —— 配置白名单 sudo systemctl start firewalld — 启动防火墙 sudo firewall-cmd --state - 看状态 sudo ... ...
分类:
系统相关 时间:
2017-06-16 22:09:45
阅读次数:
239
解决Kali Linux没有声音 Kali Linux系统默认状态下,root用户是无法使用声卡的,也就没有声音。启用的方法如下: (1)在终端执行命令:systemctl --user enable pulseaudio (2)在/etc/default/目录下,创建一个文件,命名为pulseau ...
分类:
系统相关 时间:
2017-06-16 12:46:40
阅读次数:
258
vmware下为CentOS7设置静态IP可以分为三个主要步骤: 1. 在windows中设置VMWare创建的虚拟网络 2. 设置VMWare为静态IP 3. 设置CentOS7的网络为静态IP 首先来到控制面板下 如图所示,点击"VMware Network Adapter VMnet8",可以 ...
分类:
系统相关 时间:
2017-06-15 23:33:01
阅读次数:
302
vim /lib/systemd/system/docker.service ExecStart=/usr/bin/dockerd -H fd:// --registry-mirror=https://3hn88wev.mirror.aliyuncs.com systemctl daemon-rel... ...
分类:
系统相关 时间:
2017-06-15 22:43:59
阅读次数:
678
centos 7 系统 默认是开启防火墙,而且没有打开80和8080等端口。 因此,今天配置tomcat和nginx后,分别无法正常访问 访问80和8080端口都报:502错误。(错误的网关)查询资料得知是防火墙的原因。 搜索得知以下命令: systemctl start firewalld # 启 ...
分类:
系统相关 时间:
2017-06-15 20:35:35
阅读次数:
271
一、Redis的安装(前提是已经安装了EPEL) 安装redis: yum -y install redis 启动/停止/重启 Redis 启动服务: systemctl start redis.service 停止服务: systemctl stop redis.service 重启服务: sys ...
分类:
其他好文 时间:
2017-06-15 12:58:16
阅读次数:
209
关闭防火墙:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firewall开机启动firewall-cmd --state #查看默认防火墙状态(关闭后显示notrunning,开 ...
分类:
其他好文 时间:
2017-06-15 10:36:06
阅读次数:
217
1.关闭firewall #停止firewall systemctl stop firewall.service #禁止firewall开机启动 systemctl disable firewall.service 2.安装iptables #安装iptables yum install iptab... ...
分类:
其他好文 时间:
2017-06-15 10:27:45
阅读次数:
126
serverd端安装(centos7)关闭SElinux(重要)安装软件包:yum install mariadb-server mariadb-devel mariadb gcc gcc-c++systemctl start mariadb.servicesystemctl enable mari ...
分类:
Web程序 时间:
2017-06-14 18:18:59
阅读次数:
1086
LinuxSystemctl是一个系统管理守护进程、工具和库的集合,用于取代SystemV、service和chkconfig命令,初始进程主要负责控制systemd系统和服务管理器。通过Systemctl–help可以看到该命令主要分为:查询或发送控制命令给systemd服务,管理单元服务的命令,服务文件的相关命令,?.
分类:
其他好文 时间:
2017-06-14 10:14:32
阅读次数:
376