美国LP主机7-折:外连速度8.7m/s,测试方法见内(详细解说
|
|
本帖最后由 Web3.0博士 于 2013-1-21 04:41 PM 编辑
美国LP主机7-折:外连速度8.7m/s,测试方法详细听我说,
咱国内vps峰值限定3m(应该再除以8),
美国主机FTP速度8.7m/s,测试方法详细如下:
上传到WH空间文件
/ftpd/ftpd
属性设置“为可以执行,但只自己能写入”,
此文件内容仅一行:
ftp -i lp.mypku.com<./d.ftp;
其中lp.mypku.com指向LP空间,
上传到WH空间文件
/ftpd/d.ftp
此文件内容(每行后面的说明语句及空格都去掉):
username_at_LP 在LP空间的用户名
password_at_LP 在LP空间的ftp密码
bin
cd /izhan/ 在LP空间文件存放目录
get izhan01.tar 要传的大文件
quit
【d.ftp每行结尾按Linux要求只有char(10),在Windows系统编辑时显示的是个黑柱,
不能有Windows系统的换行用的char(13),在Windows系统编辑时看到的是都不换行】,
上传到WH的cgi-bin空间
/public_html/cgi-bin/ftpd.cgi
属性设置为“可以执行,但只自己能写入”,
此文件内容包含一行:
system("cd /home/username_at_WH/ftpd/;ftpd;");
在浏览器地址栏输入:
http://www.yourdomain.com/cgi-bin/ftpd.cgi
此网页要对应上述/public_html/cgi-bin/ftpd.cgi
结果:/public_html/cgi-bin/ftpd.cgi执行的/ftpd/ftpd是ftp到LP空间lp.mypku.com
其中ftp命令用的/ftpd/d.ftp中的六行,
,
测试结果:2.26G大文件仅用了260秒!(WP和LP主机:http://bbs.idcspy.com/thread-764330-1-1.html
补充内容 (2013-1-22 04:58 AM):
在国外主机之间网站搬家就极快速了
补充内容 (2013-3-9 07:31 AM):
LP不好:某文件稍微运行多点CPU就给停了,就不能给减慢处理等缓一点的方式处理,就得给咔嚓了? |
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-21 16:30:45
|
显示全部楼层
本帖最后由 Web3.0博士 于 2013-1-21 04:38 PM 编辑
实测结果:飞快:2.26G大文件仅用了260秒
!
启动命令/ftpd/ftpd也可以不用cgi,而用cron job,或者如果花每月两刀可以添加的shell功能大概也可以, |
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-21 16:52:35
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-22 04:57:57
|
显示全部楼层
|
这样以后在国外主机之间网站搬家就极快速了,加上用tar,zip打包压缩更方便乐 |
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-25 04:26:17
|
显示全部楼层
说total都七折,实际上附加的shell access和cpanel每月分别2$不打折,【要附加shell access就得买cpanel
【The following is the list of disabled commands when using Shell on LP Basic or Business web hosting plans:
archash.staticdddmesgdnsdomainnamedomainnamedumpkeysfingerkbd_modekshloadkeys
makemountmtncnetstatnisdomainnamepasswdpingping6rsyncsetfontsetserialsshsutelnet
traceroutetraceroute6umountunameunicode_startunicode_stopusleepwwgetwho
ypdomainname
,
我想 用cron job或cgi启动命令应该与shell一样,LP客服说shell功能更多,附加shell access后空间要运行在不同服务器 |
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-25 04:31:05
|
显示全部楼层
我搜索出了 disabled commands (客服给拷贝的都在一行上),
http://wiki.lunarpages.com/Disabled_JailShell_Commands
Disabled JailShell Commands
From Lunarpages Web Hosting Wiki
Jump to: navigation, search
The following is the list of disabled commands when using Shell on our Basic or Business web hosting plans:
arch
ash.static
dd
dmesg
dnsdomainname
domainname
dumpkeys
finger
kbd_mode
ksh
loadkeys
make
mount
mt
nc
netstat
nisdomainname
passwd
ping
ping6
rsync
setfont
setserial
ssh
su
telnet
traceroute
traceroute6
umount
uname
unicode_start
unicode_stop
usleep
w
wget
who
ypdomainname
NOTE: there is absolutely NO possibility to have any of these commands enabled at ANY time - no exceptions for our shared web hosting accounts. Please also note that this list does not pertain to our dedicated hosting accounts.
If you have any questions on any command, please just email support@lunarpages.com for assistance or put in a help desk ticket.
|
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-25 04:32:53
|
显示全部楼层
还好,有些没有被disabled commands :
ftp
cp
mv
ls
。。。 |
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-25 05:08:30
|
显示全部楼层
没有被禁用的应该还有编辑器等,shell编辑器应该比file manager的编辑器好用得多,
我刚支付了shell费用,加cpanel,共(2+2)*12*5*6.3,(如果按10%年息)平均每天约一元人民币,【关于利息:3个月:10.95$/月,60个月:4.95$/月,相当于利息大约按(10.95-4.95)/10.952/2=0.27=27%】但shell和cpanel在LP收费中都没有算利息 |
|
|
|
|
|
|
|
|
|
|
Web3.0博士
发表于 2013-1-21 18:46:17
|
显示全部楼层
|
|
|
|
|
|
|
|