12 2012 档案

yum error
摘要:# yum updateLoaded plugins: fastestmirrorDetermining fastest mirrorsYumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. $releasever is not a valid release or hasnt been released yet/removing mirrorlist with no valid mirrors: /var/cache/yum/addons/mirrorlist.txtError: Cannot find a 阅读全文

posted @ 2012-12-29 13:50 晓风残梦 阅读(573) 评论(0) 推荐(0) 编辑

vsftp+apache--中文乱码问题
摘要:本以为很简单的两个服务,装装配配,一个小时搞定的事情,哪里想到会碰到中文编码的问题。。。。。。 一。vsftpd很好用,但是在windows IE下中文会出现乱码,查了下相关手册,vsftpd固有的顽症,网上有人说在2.1后的版本有修复我特意下了个vsftpd-3.0.2.tar.gz,安装测试,证明是扯淡的话,先采用以下办法解决,~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 下载vsftpd-2.0.3.tar.gz,之后解压得到文件夹vsftpd-2.0.3再下载补丁vsf... 阅读全文

posted @ 2012-12-23 20:43 晓风残梦 阅读(2965) 评论(0) 推荐(0) 编辑

vmware workstation 9 nat setting
摘要:晕着~,centos下安装了个 vmware workstation 9,使用nat模式,楞是着不找 Nat setting的界面,google,baidu了n边也是不知所云没法只能查vmware workstation 9的英文手册,终于找到相关的字眼,share下吧。。。~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~On a Windows host system, you can change the NAT configuration by using the virtual network 阅读全文

posted @ 2012-12-21 23:33 晓风残梦 阅读(393) 评论(0) 推荐(0) 编辑

比较好的iptable实例
摘要:转载 xxxxx以前公司用的一个例子,写成一个脚本,放在rc.local开机运行即可:http://files.cnblogs.com/derekchen/iptables.rarservice iptables stop service iptables stop //停止先停止防火墙INET_IP=`ifconfig | grep 'inet ' | grep -v '127.0.0.1' | awk -F ' ' '{print $2}'| awk -F':' '{print $2}'` // 阅读全文

posted @ 2012-12-21 00:01 晓风残梦 阅读(337) 评论(0) 推荐(0) 编辑

cp文件
摘要:1. nohup cp -ra /images /files/131/images &2. nohup awk 'BEGIN { cmd="cp -ira /images/* /files131/images/"; print "n" |cmd; }' >>/cp.log & 阅读全文

posted @ 2012-12-12 10:13 晓风残梦 阅读(366) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示