1、ln命令 例:/bin/ln -snf /var/www/html/test /var/www/test2、cp命令 例: cp -r 地址1 地址23、rm命令 例: rm -rf 地址4、vi命令5、chkconfig命令 例: chkconfig httpd on (开机自启动httpd服...
分类:
系统相关 时间:
2014-06-28 22:59:32
阅读次数:
348
Type the following command to install ntp:# yum install -y ntpTurn on service:#chkconfig ntpd onSynchronize the system clock with 0.pool.ntp.org serve...
分类:
其他好文 时间:
2014-06-28 14:45:54
阅读次数:
185
我的机器有个coreseek服务,但是没加到开启启动中去,导致机房一旦重启了机器,我的服务便不能使用了。所以我需要把coreseek的searchd加到自启动服务中去。写一个脚本auto_coreseek.sh:#!/bin/sh#chkconfig:2345 80 90#description:a...
分类:
其他好文 时间:
2014-06-26 16:14:17
阅读次数:
184
基本上Linux的网络服务器在远程操作大多时候都是使用SSH来配置、管理服务器。现在我们就来分享一下简单配置Linux的SSH服务。1.检查一下默认安装的系统是否安装了SSH服务:chkconfig--list|grepsshd2.首先要备份配置文件,任何时候我们需要修改配置文件的时候都建议先..
分类:
系统相关 时间:
2014-06-25 06:11:31
阅读次数:
271
nginx添加系统服务1、编写脚本,名为nginx#!/bin/sh##nginx - this script start and stops the nginx daemon##chkconfig: -85 15#description: Nginx is an HTTP(S) server, H...
分类:
其他好文 时间:
2014-06-22 12:49:41
阅读次数:
199
1、修改oracle系统配置文件::/etc/oratabvi/etc/orataborcl:/opt/oracle/product/10.2.0/db_1:Y2、在 /etc/init.d/ 下创建文件oracle启动脚本,内容如下:#!/bin/sh# chkconfig: 35 80 10# ...
分类:
数据库 时间:
2014-06-20 20:21:15
阅读次数:
251
#!/bin/bash##oracle: Start/Stop Oracle Database 11g R2/12c## chkconfig: 345 90 10# description: The Oracle Database Server is an RDBMS created by Orac...
分类:
数据库 时间:
2014-06-18 12:46:02
阅读次数:
183
1、编写脚本,名为nginx#!/bin/sh## nginx - this script
starts and stops the nginx daemon## chkconfig:- 85 15# description: Nginx is an
HTTP(S) server, HTTP(S) ...
分类:
其他好文 时间:
2014-06-13 13:10:40
阅读次数:
243
1、查看系统运行级别#cat/etc/inittab#Defaultrunlevel.Therunlevelsusedare:#0-halt(DoNOTsetinitdefaulttothis)#1-Singleusermode#2-Multiuser,withoutNFS(Thesameas3,ifyoudonothavenetworking)#3-Fullmultiusermode#4-unused#5-X11#6-reboot(DoNOTsetinitdefaulttothis)#id..
分类:
其他好文 时间:
2014-06-10 23:13:36
阅读次数:
261
1 CRT显示乱码:
本地windows机器。修改SecureCRT的设置。找到“选项”->“会话选项”->“外观”:
* 字符编码设置为utf-8。
* 字体设置,选择中文字体,例如新宋体。
2 查看ftp 服务是否启动:
service vsftpd status
3 使 用chkconfig vsftpd on 设置...
分类:
其他好文 时间:
2014-06-10 17:59:51
阅读次数:
217