新鲜发布:测试

© ㄒiger / Posted in 主机域名 / April 8, 2013

VPS.NET香港 服务器 配置:

内存:376MB 硬盘:10G 流量:1TB

测试ip:http://103.13.240.1

下载地址:http://103.13.240.254/speedtest.256mb

购买地址:http://vps.net/  (从这里购买的话直接选香港节点需要65刀一个node)

100bt购买:直接进入购买 

这个拿到好几天了。想做反向代理用的。。还在测试中....

演示:现在你访问的这个....

VPS.NET: 国际领先的云主机服务提供商。近日发布声明称其计划在全球部署13个独立的云数据中心。

VPS.NET在建立新的云计算中心时,首先考虑的是消费者需求和以及市场研究报告。“这些新的云计算中心为我们的美国和欧洲客户提供额外的数据备份点。与此同时,我们新加坡云计算中心建立也反映了我们在亚太地区业务的快速增长”,VPS.NET的业务总监Rus Foster说道。

继续阅读全文... »

© ㄒiger / Posted in 主机域名 / February 5, 2013

http://www.ovh.com/fr/vps/vps-low-latency.xml

硬盘:25G  内存:512M 流量:2TB

测试ip:103.5.12.1

CPU型号:

[root@tiger ~]# more /proc/cpuinfo | grep "model name"
model name      : AMD Opteron(tm) Processor 6172
[root@tiger ~]# df -h
文件系统              容量  已用  可用 已用%% 挂载点
/dev/simfs             25G  562M   25G   3% /
/dev/simfs             25G  562M   25G   3% /var/named/chroot/etc/named
/dev/simfs             25G  562M   25G   3% /var/named/chroot/var/named
/dev/simfs             25G  562M   25G   3% /var/named/chroot/etc/named.conf
/dev/simfs             25G  562M   25G   3% /var/named/chroot/etc/named.rfc1912.zones
/dev/simfs             25G  562M   25G   3% /var/named/chroot/etc/rndc.key
/dev/simfs             25G  562M   25G   3% /var/named/chroot/usr/lib64/bind
/dev/simfs             25G  562M   25G   3% /var/named/chroot/etc/named.iscdlv.key
/dev/simfs             25G  562M   25G   3% /var/named/chroot/etc/named.root.key
[root@tiger ~]#

内存:512M

[root@tiger ~]# free -m
             total       used       free     shared    buffers     cached
Mem:           512         40        471          0          0         13
-/+ buffers/cache:         26        485
Swap:          128          0        128
[root@tiger ~]#

 宽带测试:下载cachefly.net 100Mb.test测试结果:

[root@tiger ~]# wget http://cachefly.cachefly.net/100mb.test
--2013-02-04 19:12:23--  http://cachefly.cachefly.net/100mb.test
正在解析主机 cachefly.cachefly.net... 204.93.150.151
正在连接 cachefly.cachefly.net|204.93.150.151|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
正在保存至: “100mb.test”

100%[======================================>] 104,857,600 67.9M/s   in 1.5s

2013-02-04 19:12:25 (67.9 MB/s) - 已保存 “100mb.test” [104857600/104857600])

[root@tiger ~]#

 

© ㄒiger / Posted in 杂七杂八 / January 22, 2013

1、安装iptables防火墙
CentOS执行:yum install iptables
 Debian/Ubuntu执行:apt-get install iptables

2、清除已有iptables规则
iptables -F
 iptables -X
 iptables -Z

3、开放指定的端口
#允许本地回环接口(即运行本机访问本机)
iptables -A INPUT -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
 # 允许已建立的或相关连的通行
iptables -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT
 #允许所有本机向外的访问
iptables -A OUTPUT -j ACCEPT
 # 允许访问22端口
iptables -A INPUT -p tcp –dport 22 -j ACCEPT
 #允许访问80端口
iptables -A INPUT -p tcp –dport 80 -j ACCEPT
 #允许FTP服务的21和20端口
iptables -A INPUT -p tcp –dport 21 -j ACCEPT
 iptables -A INPUT -p tcp –dport 20 -j ACCEPT
 #如果有其他端口的话,规则也类似,稍微修改上述语句就行
#禁止其他未允许的规则访问
iptables -A INPUT -j REJECT
 iptables -A FORWARD -j REJECT

4、屏蔽IP
 #如果只是想屏蔽IP的话3、“开放指定的端口”可以直接跳过。
#屏蔽单个IP的命令是
iptables -I INPUT -s 123.45.6.7 -j DROP
 #封整个段即从123.0.0.1到123.255.255.254的命令
iptables -I INPUT -s 123.0.0.0/8 -j DROP
 #封IP段即从123.45.0.1到123.45.255.254的命令
iptables -I INPUT -s 124.45.0.0/16 -j DROP
 #封IP段即从123.45.6.1到123.45.6.254的命令是
iptables -I INPUT -s 123.45.6.0/24 -j DROP

4、查看已添加的iptables规则
iptables -L -n
 v:显示详细信息,包括每条规则的匹配包数量和匹配字节数
x:在 v 的基础上,禁止自动单位换算(K、M)
n:只显示IP地址和端口号,不将ip解析为域名

5、删除已添加的iptables规则
 将所有iptables以序号标记显示,执行:
iptables -L -n –line-numbers
比如要删除INPUT里序号为1的规则,执行:
iptables -D INPUT 1

6、iptables的开机启动及规则保存
chkconfig –level 345 iptables on
 CentOS上可以执行:service iptables save保存规则
linux下使用iptables封ip段的一些常见命令:
 封单个IP的命令是:
iptables -I INPUT -s 211.1.0.0 -j DROP
封IP段的命令是:
iptables -I INPUT -s 211.1.0.0/16 -j DROP
 iptables -I INPUT -s 211.2.0.0/16 -j DROP
 iptables -I INPUT -s 211.3.0.0/16 -j DROP

封整个段的命令是:
iptables -I INPUT -s 211.0.0.0/8 -j DROP

封几个段的命令是:
iptables -I INPUT -s 61.37.80.0/24 -j DROP
 iptables -I INPUT -s 61.37.81.0/24 -j DROP

解封的话:
iptables -D INPUT -s IP地址 -j REJECT
 iptables -F 全清掉了

关闭: /etc/rc.d/init.d/iptables stop
启动: /etc/rc.d/init.d/iptables start
重启: /etc/rc.d/init.d/iptables restart

1、重启后生效
 开启:chkconfig iptables on
关闭:chkconfig iptables off
 2、即时生效,重启后失效
 开启:service iptables start
关闭:service iptables stop

© ㄒiger / Posted in 杂七杂八 / December 15, 2012

http://www.ovh.com/us/dedicated-servers/

 

KS 1 Intel I3 - 2130 2 / 4 3.4GHz / - 8GB 2x 1TBSATA2 MORE
$39.00
[root@ca ~]# df -h
文件系统              容量  已用 可用 已用% 挂载点
/dev/md1               10G  2.6G  6.9G  27% /
/dev/md2              914G  494M  868G   1% /home
tmpfs                 3.9G     0  3.9G   0% /dev/shm
[root@ca ~]# free -m
             total       used       free     shared    buffers     cached
Mem:          7881       2623       5257          0         81       2137
-/+ buffers/cache:        404       7476
Swap:         1026          0       1026
[root@ca ~]# wget http://cachefly.cachefly.net/100mb.test
--2012-12-15 09:18:22--  http://cachefly.cachefly.net/100mb.test
正在解析主机 cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
Saving to: `100mb.test.1'

100%[=======================================================================>] 104,857,600 5.63M/s   in 21s

2012-12-15 09:18:43 (4.76 MB/s) - `100mb.test.1' saved [104857600/104857600]

[root@ca ~]#

© ㄒiger / Posted in 杂七杂八 / December 14, 2012

Now through December 31st, VPS.net is offering new customers the ability to purchase a 4 node cloud server, and receive a free upgrade for one year. With the upgrade customers will receive a 5th node, completely free, giving them the power of a 6 GHz, 1.8 GB Server, with 50 GB of Storage, and 5 TB of Bandwidth. All this for just $68/£50 a month!

购买地址:http://vps.net/

Why the Cloud?
Hosting your site on the VPS.net cloud means your site will be faster, and more reliable, in part due to 3 reasons.

  1. Auto Scaling Servers: With the VPS.net cloud, you’re able to add the resources your site needs, when you need them most. When the holiday sales start rolling in, with the click of a button you can add more resources to your cloud server, keeping your website online.
  2. Auto Healing Technology: Unlike a dedicated server where you’re only able to use the resources of a single machine, our cloud technology has multiple enterprise servers working together. If one starts to malfunction, our cloud technology quickly transfers the work to the other servers available.
  3. 20 Datacenters: We have datacenters all around the world, in the USA, UK, EU, Asia, South America, and Australia – you’re able to host your website in the location best fit for you and your customers.

Who is VPS.net?
VPS.net is an enterprise level cloud hosting provider, offering cloud services since 2009. Owned and backed by the UK2Group, one of the largest domain registration and web services providers, the company offers enterprise users the flexibility they need to adequately scale and handle their growing IT demands