2021-12-07 14:12
88
0
0
0
1、利用 chkconfig 来配置启动级别在CentOS或者RedHat其他系统下,如果是后面安装的服务,如httpd、mysqld、postfix等,安装后系统默认不会自动启动的。就算手动执行 /etc/init.d/mysqld start 启动了服务,只要服务器重启后,系统仍然不会自动启动服务。 在这个时候,我们就需要在安装后做个设置,让系统自动启动
2021-12-07 14:11
89
0
0
0
一、时区显示时区date --help 获取帮助date -Rdate +%z上面两个命令都可[root@localhost ~]# date -R; date +%zFri, 19 Oct 2012 23:34:27 +0800+0800主要就是后面的+0800,东八区修改时区cp /usr/share/zoneinfo/Asia/Shanghai /et
2021-12-07 14:14
90
0
0
0
kill是用来终止进程的首先可以通过ps aux查看系统有哪些进程正在运行。这里写图片描述1.用kill来杀死某一个进程#kill,加选项-9,加PID,表示杀死进程编号为PID的这个进程# -1 重启#kill -9 PID#下面表示杀死进程PID为2899的进程[root@localhost ~]# kill -9
2021-12-07 14:14
92
0
0
0
安装环境:操作系统:CentOS 7OpenSSL Version:openssl-1.0.2f.tar.gzOpenSSL地址为http://www.openssl.org/source/openssl-1.0.2f.tar.gz1、安装 Openssl:[root@localhost openssl-1.0.2f]# wget http://www.op
2021-12-07 14:25
92
0
0
0
一、前言setup即Linux下的图形管理设置工具。二、环境系统:CentOS6.4 64位(最小化安装)三、配置#yuminstallsetuptool//安装setuptool,以便使用setup命令
#setup//系统最小化安装时的默认界面#yuminstallsystem-config-network-tui//网络设置
#yuminstall
2021-12-07 14:14
93
0
0
0
[root@localhost ~]# passwdChanging password for user root.New password:Retype new password:passwd: all authentication tokens updated successfully.
2021-12-07 14:15
93
0
0
0
一、Postfix简介Postfix 是一种电子邮件服务器,它是由任职于IBM华生研究中心(T.J. Watson Research Center)的荷兰籍研究员Wietse Venema为了改良sendmail邮件服务器而产生的。最早在1990年代晚期出现,是一个开放源代码的软件。Postfix 官方网站:http://www.postfix.org/Po
2021-12-07 14:19
93
0
0
0
1.建立服务文件文件路径vim /usr/lib/systemd/system/nginx.service服务文件内容1.nginx.service[Unit]Description=nginx - high performance web serverAfter=network.target remote-fs.target nss-lookup.targ