2014年10月23日
摘要: [1] 首先备份/etc/yum.repos.d/CentOS-Base.repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup [2] 进入yum源配置文件所在文件夹 [root@localhost yum.repos.d]# cd /etc/yum.repos.d/ [3] 下载163的yum源配置文件,放入/etc/yum.repos.d/(操作前请做好相应备份) [root@localhost yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo 阅读全文
posted @ 2014-10-23 17:05 赫赫小虾 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 一、压缩文件命令 1、*.Z compress 程序压缩的档案; 2、*.bz2 bzip2 程序压缩的档案; 3、*.gz gzip 程序压缩的档案; 4、*.tar tar 程序打包的数据,并没有压缩过; 5、*.tar.gz tar 程序打包的档案,其中并且经过 gzip 的压缩! 6、*.zip zip 程序压缩文件 7、*.rar rar 程序压缩文件 二、解压缩文件命令 1、*.tar 用 tar –xvf 解压 2、*.gz 用 gzip -d或者gunzip 解压 3、*.tar.gz和*.tgz 用 tar –xzf 解压 4、*.bz2 用 bzip2 -d或者用bunzip2 解压 5、*.tar.bz2用tar –xjf 解压 6、*.Z 用 uncompress 解压 7、*.tar.Z 用tar –xZf 解压 8、*.rar 用 unrar e解压 9、*.zip 用 unzip 解压 阅读全文
posted @ 2014-10-23 16:59 赫赫小虾 阅读(233) 评论(0) 推荐(0) 编辑