查看防火墙状态命令: service firewalld status systemctl status firewalld 结果: 其中: enabled:开机启动(开机不启动是disabled); active(running):已经启动(未启动是inactive)。 启动防火墙命令:servi ...
分类:
系统相关 时间:
2019-12-06 13:42:35
阅读次数:
114
为了让jupyterhub 开机启动,或者以服务的方式启动,折腾了好久。环境 ubuntu 16.04anaconda >= 4.5python35 jupyterhub 0.9.4node 6.14.4背景jupyterhub 安装在 conda的虚拟环境中 只有进入该虚拟环境中才能执行jupyt ...
分类:
其他好文 时间:
2019-12-03 23:46:12
阅读次数:
127
1、FTP的安装 #安装 yum install -y vsftpd #设置开机启动 systemctl enable vsftpd.service #启动 systemctl start vsftpd.service #停止 systemctl stop vsftpd.service #查看状态 ...
分类:
其他好文 时间:
2019-11-27 13:50:03
阅读次数:
122
yumlist|grepntpdyum-yinstallntpsystemctlstartntpdsystemctlstatusntpdsystemctlenablentpdsystemctllist-unit-files|grepntpdyum确认是否安装yum安装启动ntpd服务查看状态设置开机启动查看是否设置开机启动
分类:
系统相关 时间:
2019-11-25 16:48:19
阅读次数:
88
1.基础优化,规范目录: mkdir -p /server/tools mkdir -p /server/scripts 3. 修改主机名 4. 更新yum源 5、安全优化: a. 关闭SELinux b.关闭防火墙 systemctl stop firewalld 关闭防火墙服务 systemct ...
分类:
其他好文 时间:
2019-11-25 15:04:31
阅读次数:
83
查看开启服务:[root@localhostconf.d]#systemctllist-unit-files|grepenabledauditd.serviceenabledautovt@.serviceenabledcrond.serviceenabled查看要关闭的防火墙服务[root@localhostconf.d]#systemctllist-unit-files|grepfirewall
分类:
其他好文 时间:
2019-11-25 13:29:59
阅读次数:
293
首先接前文:ubuntu18.04 下启动Android Studio报错KVM is required to run this AVD. /dev/kvm device: permission denied. 在安装好Android Studio后遇到了改变文件操作权限的问题(使用sudo cho ...
分类:
系统相关 时间:
2019-11-25 09:46:56
阅读次数:
191
如何查看linux开机启动项目 在使用systemctl的命令时,可以看到它的帮助选项里写着,使用list-unit-files可以查看所有的项目。实际上,列出项目的时候会一同列出所有的项目的配置情况,包括是否开机启动(enabled),如果想要得到所有的开机启动项目的列表,那么使用grep过滤一下 ...
分类:
系统相关 时间:
2019-11-24 21:11:40
阅读次数:
94
1、crond服务管理与访问控制 Linux系统由 cron (crond,d守护进程的意思) 这个系统服务来控制定时任务,默认启动。控制计划任务的命令:crontab 命令。 service crond start:启动服务 chkconfig crond on:设置开机启动 chkconfig ...
分类:
系统相关 时间:
2019-11-24 15:43:54
阅读次数:
92
1、docker安装与启动 yum install -y epel-releaseyum install docker-io # 安装docker# 配置文件 /etc/sysconfig/docker chkconfig docker on # 加入开机启动service docker start ...
分类:
其他好文 时间:
2019-11-23 18:22:19
阅读次数:
63