sudo apt-get install build-essential 后就可以了
2008年03月9日
2008年01月5日
ping: unknown host …..
root@server [/]# ping google.com
ping: unknown host google.com
root@server [/]# ping baidu.com
ping: unknown host baidu.com
发科………………….
root@server [/]#vi /etc/resolv.conf
Change /etc/resolv.conf to:
Quote:
| nameserver 208.67.222.222 nameserver 208.67.220.220 |
问题解决..
因为:These are opendns nameservers and you should have no issues with resolving anything after that
2007年12月21日
百GB级文件,服务器对服务器转移笨办法..
2台服务器(A和B,A服务器上的200GB的数据要转移到B服务器上)在同一个机房,但是不在一个网段,也就是说,局域网复制文件是不可实现的了.
办法1,A服务器上架设FTP服务器,B服务器上用FlashFxp登陆A服务器,然后下载.速度700K左右
办法2,B服务器上架设FTP服务器,A服务器上用FlashFxp登录B服务器,然后上传.速度400K左右
办法3,A和B都开启FTP服务器,都打开Flashfxp,然后从A上传文件到B的同时,也从B从A服务器下载.A上传速度300KB左右,B下载速度300KB左右.
总结,理论上,明显是办法1速度比较快,但是,看下办法3,下载的同时,也在上传(数据分卷打包)….
一宿了,才搞过去30多GB..发愁啊..
anyone can help me ?
2007年12月20日
Which Data Centers?
US
THE PLANET:
Dallas, Texas
Example hosts: Hostgator, Myacen, Ultraunix, Dathorn
RACKSPACE
San Antonio, TX
Example Hosts:
NAC:
New Jersey
Example hosts: AvidNewMedia, RShosting, Pwebtech
FORTRESS ITX (INCL PWEBTECH)
New Jersey
DedicatedNOW, BlueWho, HostNexus, HTTPme/Voxtreme
INTERSERVER:
New Jersey
Example hosts: JVDS
EV1:
Houston?
Example hosts: Oki, CredibleHost, ITechSolve?
GNAX
Atlanta, Georgia
Example hosts: DixieSys
GLOBALCOMPASS / CYBERWURX
Atlanta GA
Example Hosts: Idologic, DIYHosting, HaloServe
INTERNAP
Atlanta
Example Hosts:
EDELTACOM
Atlanta
Example Hosts: Dinix
HE
San Jose & Fremont, California
Example hosts: Powersurge, AWH, Purple Paw, Fastcolocation, Argon Blue, egihosting
ONE WILSHIRE
Los Angeles, CA
Example Hosts: InsiderHosting
ABOVE.NET
San Jose, CA
Example Hosts: Simpli Inc, Addr.com
CPCSERVERS
San Diego, CA
Example Hosts:
PEER 1
NYC
Example Hosts: VpsColo, AvidNewMedia
1AND1
NYC
Example Hosts:
EZZI. NET
New York
Example Hosts: X-Gravity
HOSTROCKET
New York
Example Hosts:
SUPERBSERVERS:
Virginia, US
Example hosts: HomeTownHosting
SERVINT
Mclean, VA
Example Hosts: Servint, Sonataweb
FDCSERVERS
Chicago
Example Hosts:
EQUINIX (Incl
Chicago
Example Hosts: Midphase, Frecklefacehosting
INTERNAP (Part of Equinix?)
Boston
Example hosts: Fluid Hosting
BURSTNET
Scranton, PA
Example Hosts:
LIQUID WEB
Michigan
Example Hosts: Liquid Web, Site5
FUTUREQUEST
Orlando, Florida
Example Hosts:
HOSTDIME
Florida
Example Hosts: Hostdime, Surpasshosting
NEUTELLIGENT
Tampa, Florida
Example Hosts: Candid
SAGONET
Tampa, Florida
Example Hosts: HostNetway
ATJEU
Phoenix, AZ
Example Hosts: WebNameHost, Ultraunix
STAMINUS
Fullerton, CA
Example Hosts:
RACKONLINE
San Francisco, CA
Example Hosts:
MANAGED.COM
?, CA
Example Hosts: Hostentric
AFFORDABLEHOST
Grand Rapids, Michigan
Example Hosts:
HOSTED SOLUTIONS
Cary/Charlotte NC
Example Hosts:
AIT
Fayetteville, NC
Example Hosts:
INFLOW
Durham, NC
Example Hosts:
PEAK 10
Morrisville / Charlotte, NC (+ elsewhere)
Example Hosts:
HOPONE INTERNET CORP
Washington, DC (& McLean, VA)
Sample customers: Superb Internet, Superb Servers, DeZines, IOMart, Internetters, DatabasePower, Avalon, etc…
UK
GLOBAL SWITCH 1
London
Example Hosts: RShosting
RACKSPACE
London, England
Example Hosts:
DONHOST
Doncaster, England
Example hosts: Hosternet, Dziner, Hostplus
REDBUS / TELEHOUSE
London
Example Hosts: Web Hosts Ltd, Secura Hosting Ltd, Simply.com, Claranet, UK2, Othellotech, 4d, Infinity, Spanky, 49, Othellotech, Gyron, Amard, UH
INTERXION
London
Example Hosts: KDA Web Services, Rack Sense
HOST EUROPE
Nottingham
Example hosts: Webfusion
SERVERSECURE
Sheffield
Example hosts: Serversure
MALAYSIA
TM (Myloca.Com)
Cyberjay
Example Hosts: Ultraunix
2007年06月21日
appserv and Zend
appserv官方站点 http://www.appservnetwork.com/
AppServ 2.4.8
MySQL Root Password Reset
Apache 2.0.59
PHP 4.4.5
MySQL 5.0.27
phpMyAdmin-2.9.2
Download
MD5SUM : 917bffb4f5b7ca6188a4c82b067d39df
AppServ 2.5.8
MySQL Root Password Reset
Apache 2.2.4
PHP 5.2.1
MySQL 5.0.27
phpMyAdmin-2.9.2
Download
MD5SUM : b5daeded874474873a03e75b36511fe7
Zend官方站点 www.zend.com
默认安装完毕后
需要手动修改php.ini
最下面增加
zend_optimizer.encoder_loader=1
2006年09月15日
2006年08月6日
What hosting plan do you need?
Free Non-Virtual Hosting
If you need somewhere to host a personal web site then choosing a web host is a much-simplified task. There are plenty of free hosts that will host your website at no cost to you, giving you space in a directory under their domain, e.g. ‘www.thehost.com/yourname/’. The catch is that you may have to carry some banners or mention the free hosts name somewhere on your site. Check out some of the leading free sub-domain hosts Geocities and Tripod.
Free Virtual Hosting
If you are on a tight budget but want to have a web presence then free virtual web hosting is what you are looking for. You will be able to host your website with your own domain name such as ‘www.yourname.com’, or a sub-domain such as ‘yourname.thehost.com’. The compromise is you may have to display your hosts adverts on your website.
Virtual Hosting
Virtual web hosting allows you to host your website using a domain name of your choice e.g. www.yourname.com. You will be given a certain amount of web space, measured usually in Mb on a server you share with other people. This gives a professional image and will allow you to change hosts with minimum hassle.
Dedicated Server Hosting
A dedicated server is one whereby you rent the use of a whole machine. This can be used to host one or more of your websites. Because you are renting the use of a machine, you have increased control over what software will be installed on the machine. You can even specify the set up. The major benefit is that this allows increased traffic to your sites. You could alternatively co-locate your own server at the host’s data center who can look after it for you.
Reseller Web Hosting
Reseller web hosting plans allow you to be a web hosting company yourself. In fact, many web hosting companies themselves have a web hosting company host their server. Some web hosting companies provide a service where small companies can resell web space on their servers for a small fee. You may wonder why go with the smaller company rather than the big. Well the smaller companies may add on certain features to make their plans more attractive and provide more services. Resellers can sometimes be better. The important things to consider are support, reliability and competitive pricing.
What’s the most popular type of hosting plan?
Virtual hosting is the most common plan purchased. It allows people starting a serious business or money making web site to get online at a low cost to begin with, and they can increase the services they require as their website grows. A typical virtual hosting plan can range from $10 to $30 per month, depending on the features that you require.
What hosting plan do I need?
Before choosing your hosting package, you should identify what your needs are. With all hosting plans, there will be some facilities that you need and some offered to you that you don’t need. Make sure you focus on the essentials that are required to launch your website. You may want all the nice extras but will you use them? It’s also a good idea to try and pick a host that will allow you to expand and increase your plan as and when your website grows. If you want to start selling online, an additional e-commerce option for an extra fee will be easier and quicker to implement than looking for and transferring to a new host.
2006年06月2日
DreamHost “No more CPU minute restrictions!”
Well, we’re sick and tired of people being sick and tired of getting.
disabled for “cpu minute” overages! ESPECIALLY when we don’t even have any real set “cpu minute” levels for plans, or a tab on our web panel.
So “guess” what?! We’ve changed our “cpu minute” “policy” “for the
better!” We no longer HAVE any limits on “cpu minutes”. Maybe it’s just
semantics, and maybe it’s just “crazy overselling”, but as long as your
site or scripts aren’t causing problems with the server, you are IN THE
CLEAR!
Let’s say you’re not IN THE CLEAR though.. don’t worry! We’ll work with
you! We’re adding a BUNCH of new servers to help “get” the average load
per web server down, and we’ll work with high-load people to get their
usage down or their butts onto a new server that can handle it. What a
sweet web host.. let no one accuse US of “crazy overselling,” and we
won’t accuse THEM.
—
Oh My god Is this true ????????
2006年06月1日
WHM’S Bug
There is a bandwidth statistical error in my cPanel&WHM System.
I bind aaa.com to the root folder of my account. And aaa.com has used 10G bandwidth.
Then I deleted aaa.com and bind bbb.com to the root folder.
Now the problem comes. the WHM reports both aaa.com and bbb.com have consumed 10G bandwidth.
For another words, I used 10G bandwitdth for aaa.com. But the system says I used 10G bandwidth for aaa.com
and another 10G bandwidth for bbb.com.
FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!FUCK!!
I’M Not Clear!!!!!!
—-
2006年05月26日
释疑”系统负载”
系统平均负载被定义为在特定时间间隔内运行队列中的平均进程树。
很难懂!!
不过只要知道!系统负载是评价一个系统当前性能的一个重要参数就成了!
举个例子来说:
我的机器的平均负载是:0.74 0.60 0.46
以上是三个数值!什么意思呢!
第一个数值的意思是系统在1分钟内的平均负载第2个是在5分钟内,第三个是在15分钟内的!
也就是1分钟,5分钟,15分钟的分别的负载!
但是我们怎么来通过这个数值来得到这个机器性能到底是怎么样呢!
因为:一般来说只要每个CPU的当前活动进程数不大于1那么系统的性能就是良好的!
这样我们来计算一下!先看看1分钟的负载,是0.74,而机器上有2个CPU,0.74/2=0.37,远远小于2,可见这个机器还不至于因为负载过大的Down机!
这个就是计算方法!但是这个计算方法仅仅可以参考!因为一个机器性能的好坏,与很多东西都有关系的!并不是仅仅依靠当前系统负载来确认机器的性能的好坏的!