系统运维

vim常用命令

vim常用命令

每行的行首都添加一个字符串:%s/^/要插入的字符串每行的行尾都添加一个字符串:%s/$/要插入的字符串解释:% 代表针对被编辑文件的每一行进行后续操作$ 代表一行的结尾处^ 代表一行的开头处w 跳到下一个单词的开始e 跳到单词的结束b 向后跳gg 跳到文件的开始 G 跳到文件的结束&nb

admin admin 2014-08-13
388 0 0
authconfig-tui ImportError: No module named acutil

authconfig-tui ImportError: No module named acutil

[root@cd ~]# authconfig-tui Traceback (most recent call last):  File "/usr/sbin/authconfig-tui", line 27, in <module> 

admin admin 2014-08-08
1.2K+ 0 0
图解安装CentOS 6.3_x86_64

图解安装CentOS 6.3_x86_64

1.启动电源:2.选择第一项后,如下图:3.选择 Skip后,如下图:4.点击 Next 后,如下图:5.选择 English(English),点击Next后,如下图:6.选择 U.S.English,点击 Next后,如下图:7.选择第一项,点击 Next后,如下图:8.选择 Yes后,如下图:

admin admin 2014-07-31
7.7K+ 0 0
阿里云服务器添加Swap空间

阿里云服务器添加Swap空间

我现在使用的是阿里云最低配置的服务器,1核、512MB内存,内存不够用,查看内存信息Swap空间为0MB,如下: [root@qasar10 var]# free -m total used free shared buffers

admin admin 2014-07-30
396 0 0
Linux 安装 htop

Linux 安装 htop

htop 是一个 Linux 下的交互式的进程浏览器,可以用来替换Linux下的top命令。htop官网:http://hisham.hm/htop/系统环境:CentOS release 5.8 (Final)安装htop需要ncurses支持,请确保已安装:[root@localhost ~]#

admin admin 2014-07-25
526 0 0
It appears as though you do not have permission to view information for any of the hosts you requested

It appears as though you do not have permission to view information for any of the hosts you requested

装好Nagios后,在浏览器运行时出现It appears as though you do not have permission to view information for any of the hosts you requested解决办法:http://www.verydemo.com/

admin admin 2014-07-17
450 0 0
configure: error: xml2-config not found. Please check your libxml2 installation

configure: error: xml2-config not found. Please check your libxml2 installation

安装php时出现configure: error: xml2-config not found. Please check your libxml2 installation解决办法:# yum install libxml2结果还是出现,还需要装一个包:# yum install&nbs

admin admin 2014-07-17
490 0 0
CentOS5 CentOS6安装SVN & 可视化管理工具iF.SVNAdmin

CentOS5 CentOS6安装SVN & 可视化管理工具iF.SVNAdmin

Linux下安装SVN Linux下安装SVN可视化管理工具

admin admin 2014-07-17
910 3 0
Linux下rsync的安装及简易配置

Linux下rsync的安装及简易配置

rsync官网http://rsync.samba.org/ 下载地址:http://rsync.samba.org/ftp/rsync/src/ 本文使用版本:http://rsync.samba.org/ftp/rsync/src/rsync-3.1.0.tar.gz   #

admin admin 2014-05-15
476 0 0
Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.7/FAQ

Warning: bad syntax, perhaps a bogus ‘-‘? See /usr/share/doc/procps-3.2.7/FAQ

root@oracledb ~]# ps -aux | grep 100 Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ root 2969 0.0 0.0 61092

admin admin 2014-05-12
592 0 0
1 4 5 6 7