你的位置:国外/美国服务器租用 技术文档 LinuxVPS使用教程 正文
美国服务器出租
  1. 1美国独立服务器10G独享带宽不限流量,欧洲1G带宽独享,不限流量
  2. 2美国100M独享,洛杉矶 32GB内存 英特尔至强CPU,特价:1699元/月
  3. 3美国加州机房100M独享E3-1270,32G内存/96G内存,送KVM,1399元/月
  4. 4美国云服务器,8G内存,服务器CPU,4核心,特价699元/月,16G内存1299元
  5. 5美国G口抗攻击服务器,G口1000M独享带宽抗DDOS攻击服务器(至强Xeon E3 1230)
  6. 6国外G口带宽独享服务器,美国G口独享,欧洲G口独享服务器租用
  7. 7美国圣安娜KT服务器,加州KT服务器租用,KT独立服务器出租(特价799元/月)
  8. 8加州洛杉矶机房,中国访问速度最快的美国机房之一,999元/月,4G内存20M独享
  9. 9美国1G独享带宽,欧洲1G独享带宽租用(视频等大流量网站解决方案)
  10. 10凤凰城机房Phoenix服务器租用:7个机房4核I3,8G内存,30M独享带宽,首月999元
美国VPS主机
  1. 1美国SSD VPS租用,美国西海岸加州洛杉矶SSD VPS服务器,Linux/Windows
  2. 2内华达州VPS,拉斯维加斯VPS,拉斯维加斯服务器,内华达州服务器租用
  3. 3美国东海岸VPS,纽约服务器,曼哈顿云服务器,纽约VPS租用
  4. 4外贸VPS服务器,仿牌空间,仿牌主机,抗投诉VPS(外贸英文商城VPS)SSL证书安装服务
  5. 5美国Psychz电信直连VPS,中国访问速度最快的美国VPS,Psychz机房VPS
  6. 6Camforg专用VPS,美国Camforg多视频聊天软件VPS,Camforg服务器租用
  7. 7美国加州VPS,洛杉矶WebNX机房VPS,加州WN机房Windows VPS
  8. 8美国西雅图VPS,西雅图机房VPS,支持试用的VPS,VPS试用10元/天
  9. 9合租美国服务器,国外服务器合租,高端VPS服务器,完胜低配独立服务器的VPS
  10. 10抗攻击Windows VPS,不怕DDOS攻击的VPS,有攻击不关机,无攻击后2小时内恢复
在webmin安装statusnet微博程序(错误pcre不支持Unicode)
  • 在webmin安装statusnet微博程序,首先需要安装virtualmin:如何安装Virtualmin/Webmin在centos5上(一行命令安装virtualmin面板),然后需要升级webmin的php版本和mysql版本:Centos5.4(webmin)中Yum升级mysql5.1和php5.2(禁止php5.3),然后我们开始安装statusnet微博程序。

    错误提示: 需要 dom 和 xml 扩展库,解决办法如下:

    [root@vps113 backup]# yum --enablerepo=webtatic --exclude=php*5.3* update -y php-xml
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: yum.singlehop.com
     * base: mirror.nexcess.net
     * epel: mirror.vcu.edu
     * extras: mirrors.netdna.com
     * updates: dist1.800hosting.com
    Excluding Packages in global exclude list
    Finished
    Setting up Update Process
    Package(s) php-xml available, but not installed.
    No Packages marked for Update
    [root@vps113 backup]# yum --enablerepo=webtatic --exclude=php*5.3* install -y php-xml
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: yum.singlehop.com
     * base: mirror.nexcess.net
     * epel: mirror.vcu.edu
     * extras: mirrors.netdna.com
     * updates: dist1.800hosting.com
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-xml.i386 0:5.2.13-1 set to be updated
    --> Processing Dependency: libexslt.so.0 for package: php-xml
    --> Processing Dependency: libxslt.so.1 for package: php-xml
    --> Running transaction check
    ---> Package libxslt.i386 0:1.1.17-2.el5_2.2 set to be updated
    --> Finished Dependency Resolution

    Dependencies Resolved

    ====================================================================================================================================
     Package                      Arch                      Version                                 Repository                     Size
    ====================================================================================================================================
    Installing:
     php-xml                      i386                      5.2.13-1                                webtatic                      112 k
    Installing for dependencies:
     libxslt                      i386                      1.1.17-2.el5_2.2                        base                          485 k

    Transaction Summary
    ====================================================================================================================================
    Install      2 Package(s)        
    Update       0 Package(s)        
    Remove       0 Package(s)        

    Total download size: 597 k
    Downloading Packages:
    (1/2): php-xml-5.2.13-1.i386.rpm                                                                             | 112 kB     00:00    
    (2/2): libxslt-1.1.17-2.el5_2.2.i386.rpm                                                                     | 485 kB     00:00    
    ------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                               435 kB/s | 597 kB     00:01    
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : libxslt                                                                                                      1/2
      Installing     : php-xml                                                                                                      2/2

    Installed:
      php-xml.i386 0:5.2.13-1                                                                                                          

    Dependency Installed:
      libxslt.i386 0:1.1.17-2.el5_2.2                                                                                                  

    Complete!

     

    还有错误提示:说pcre不支持Unicode !  如下图,解决办法如下:
    statusnet-pcre.png

    [root@vps113 backup]# pcretest -C
    PCRE version 6.6 06-Feb-2006
    Compiled with
      UTF-8 support
      No Unicode properties support
      Newline character is LF
      Internal link size = 2
      POSIX malloc threshold = 10
      Default match limit = 10000000
      Default recursion depth limit = 10000000
      Match recursion uses stack
    [root@vps113 backup]# ls
    www.ctohome.com
    [root@vps113 backup]# cd www.ctohome.com/
    [root@vps113 www.ctohome.com]# ls
    epel-release-5-3.noarch.rpm  remi-release-5-7.el5.remi.noarch.rpm  ZendOptimizer-3.3.3-linux-glibc23-i386         zend.sh
    install.sh                   unrar-3.6.8-1.el5.rf.i386.rpm         ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
    [root@vps113 www.ctohome.com]# wget http://gaarai.com/wp-content/uploads/2009/01/pcre-6.6-2.7.i386.rpm
    --2010-04-13 11:28:53--  http://gaarai.com/wp-content/uploads/2009/01/pcre-6.6-2.7.i386.rpm
    Resolving gaarai.com... 74.53.81.82
    Connecting to gaarai.com|74.53.81.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 241253 (236K) [text/plain]
    Saving to: `pcre-6.6-2.7.i386.rpm'

    100%[==========================================================================================>] 241,253      602K/s   in 0.4s   

    2010-04-13 11:28:53 (602 KB/s) - `pcre-6.6-2.7.i386.rpm' saved [241253/241253]

    [root@vps113 www.ctohome.com]# rpm -Uvh pcre-6.6-2.7.i386.rpm
    Preparing...                ########################################### [100%]
       1:pcre                   ########################################### [100%]
    [root@vps113 www.ctohome.com]# pcretest -C
    PCRE version 6.6 06-Feb-2006
    Compiled with
      UTF-8 support
      Unicode properties support
      Newline character is LF
      Internal link size = 2
      POSIX malloc threshold = 10
      Default match limit = 10000000
      Default recursion depth limit = 10000000
      Match recursion uses stack

    重启apache,可以正常安装了:
    [root@vps113 www.ctohome.com]# service httpd restart
    Stopping httpd: [  OK  ]
    Starting httpd: [  OK  ]


     要支持fancy urls需要修改 .htaccess 文件
    statusnet-isntall.png

  • 点这里复制本页地址发送给您QQ/MSN上的好友