一. 启动ssh服务 /etc/init.d/ssh restart #centos6启动SSH服务 chkconfig --level 35 sshd on #centos6开机启动SSH服务 systemctl restart sshd #centos7启动SSH服务 systemctl ena ...
分类:
系统相关 时间:
2020-03-14 16:57:27
阅读次数:
78
一、防火墙(iptables)临时状态查看/开启/关闭serviceiptablesstatusserviceiptablesstartserviceiptablesstop永久状态查看/开启/关闭chkconfig--listiptableschkconfigiptablesoffchkconfigiptableson注意:设置完之后重启(reboot)才能生效二、iptables临时查看,关闭
分类:
系统相关 时间:
2020-03-11 12:28:24
阅读次数:
96
在/etc/init.d路径下新建一个文件(这里以tomcat为例) vi /etc/init.d/tomcat 按i进入脚本编辑,开始写tomcat开机自动启动脚本; #!/bin/sh # chkconfig: 2345 80 90 # description: Auto-starts tomc ...
分类:
系统相关 时间:
2020-03-09 19:29:22
阅读次数:
70
首先,在linux系统的/etc/init.d/目录下创建nginx文件,使用如下命令: vim /etc/init.d/nginx 在脚本中添加如下命令: #!/bin/sh # # nginx - this script starts and stops the nginx daemon # # ...
分类:
其他好文 时间:
2020-03-06 23:45:52
阅读次数:
78
一、JDK安装:将jdk1.7.0_55.zip拷贝到自己这台服务器上,解压在/usr/java/下cd /usr/javatar -zxvf jdk1.7.0_55.tgz环境配置:vi /etc/profile #改动Linux的环境变量,在该文件最后加上下面几行(红色部分需改成jdk实际的安装 ...
分类:
其他好文 时间:
2020-03-03 01:06:37
阅读次数:
67
病毒现象 服务器出现卡顿、CPU飙升 以下为WatchDogs的判断方式及其命令:存在恶意进程watchdogs: ps -ef | grep watchdogs存在恶意进程ksoftirqds: ps -ef | grep ksoftirqds存在恶意启动项watchdogs: chkconfig ...
分类:
其他好文 时间:
2020-02-28 19:06:10
阅读次数:
108
安装 将Jenkins存储库添加到yum repos,并从此安装Jenkins。 sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import ht ...
分类:
其他好文 时间:
2020-02-27 23:43:35
阅读次数:
780
1、Request message: 常用sub-function: 0x14服务不支持Sub-Function参数。 2、Positive response message: 3、Supported Negative Response codes (NRC_): 4、Example #1: Req ...
分类:
其他好文 时间:
2020-02-22 14:12:56
阅读次数:
111
1、Request message: 常用sub-function: 0x2F服务不支持sub-function参数。 2、Positive response message: 3、Supported negative response codes (NRC_): 4、Example #1 - ”A ...
分类:
其他好文 时间:
2020-02-22 13:57:22
阅读次数:
140
一,服务分类 1,服务简介与分类 1,服务的分类 启动与自启动 1,服务启动:就是在当前系统中让服务运行,并提供功能 2,服务自启动:自启动是指让服务在系统开机或重启动之后,随着系统的启动而自动启动的服务 查询已安装的服务: 1,RPM包安装的服务 chkconfig --list 查看服务自启动状 ...
分类:
系统相关 时间:
2020-02-14 18:47:14
阅读次数:
124