Categories
Archives
New posts
centos安装nginx+php+mysql
经典dos命令
关于两年前那个论坛
寻找更简单、快速的模板处理办法...
wordpress之慢之我的解决办法(性能明显提升)
New Commets
2012-01-18:Various fields of life demand different specialist…
2012-01-16: I think it's alluring, because it expand a very a…
2012-01-16:Essays writing services create a lot of free essay…
2012-01-14:Do you guess that you can't 2012-01-12:All in our world is not constant, however we guara…
2012-01-09:Start dominating today choosing the quality 2012-01-04:Some time ago, I really needed to buy a building f…
2011-12-02:If you want to buy real estate, you will have to g…
2010-11-02:看看我自己写的博客CMS网址是http://www.taocms.tk,希望能和你交流,呵呵,不过貌…
2010-10-03:无意中来到这里,感觉不错...关注下~
Links
然,即便种种如此这般,仍乐此不疲…
centos安装nginx+php+mysql
Post by:admin, at:2011年11月28日
一、更改yum源为网易的源加快速度
vi /etc/yum.repos.d/CentOS-Base.repo
更改内容如下
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
二、update yum
yum -y update
[阅读全文»]
经典dos命令
Post by:admin, at:2010年08月11日
1.最基本,最常用的,测试物理网络的
ping 192.168.10.59 -t ,参数-t是等待用户去中断测试
2.查看DNS(对猫用户),还是比较有用处的
A.Win98:winipcfg
B.Win2000以上:Ipconfig/all
C.WinNt:CMD,然后NSLOOKUP
3.网络信使
Net send 计算机名/IP 传送内容,注意不能跨网段
net stop messenger 停止信使服务,也可以在面板-服务修改
net start messenger 开始信使服务
4.探测对方对方计算机名,所在的组、域及当前用户名
ping -a IP地址 -t ,只显示NetBios名
nbtstat -a 192.168.10.146 比较全的
5.netstat -a 显示出你的计算机当前所开放的所有端口
netstat -s -e 比较详细的显示你的网络资料,包括TCP、UDP、ICMP 和 IP的统计等
6.探测谁连接了我的计算机
arp -a
7.捆绑IP和MAC解决局域网内盗用IP的问题
ARP -s 192.168.10.59 00-50-ff-6c-08-75
8.在网络邻居上隐藏你的计算机
net config server /hidden:yes
net config server /hidden:no 则为开


