Sure! Simply open a ticket with support and we can upgrade your plan at any time to a higher package. If you require a custom plan, please contact our sales:[email protected] Please remember to backup your data before the upgrade because you will have to use Solusvm Control Panel to rebuild your VPS after the upgrade.
You can change your OS via SolusVM Control Panel. Currently, we're offering Centos, Ubuntu and Debian OS.
The answer is No. Unfortunately, we do not offer any refunds currently.
The answer is No. You will need Linux knowledge to manage your VPS by yourself. We don't provide any managing service to your VPS.
Currently, we do not provide any data backup service. If there is any change in the future, we will announce it on our website.
Currently, we don't offer any Windows based VPS. When we're ready, we will offer Windows based VPS by utilizing Haper-V technology.
Ten days before the due date, we will send you an email to remind you to pay for your next month's bill. You can also login to our Billing system and click "My Email" link to view these emails. If you still don't pay the bill after the due date, the system will automatically suspend your VPS service. And, after 7 days, the system will terminate your VPS service.
yum -y update
yum -y install gcc gcc-c++ autoconf automake libtool libevent libevent-devel gmp gmp-devel
yum -y install gd gd-devel freetype freetype-devel fontconfig fontconfig-devel libjpeg libjpeg-devel zlib zlib-devel pcre pcre-devel
yum -y install ncurses ncurses-devel libmcrypt mhash
yum -y install mysql mysql-server mysql-devel
yum -y install httpd httpd-devel
yum -y install php53*
Start apache server:
/etc/init.d/httpd restart
Start mysql server:
/etc/init.d/mysqld restart
Create a PHP testing file:
vi /var/www/html/info.php
Add following lines of code:
<?php
phpinfo();
?>
You can access this URL http://your_vps_ip/info.php to find out the LAMP configuration information on your VPS.
Set VPS startup options:
chkconfig httpd on
chkconfig mysqld on
PS: You can change following config files for mysql, apache and PHP.
1. mysql config file:
# ls -l /etc/my.cnf
-rw-r--r-- 1 root root 441 Nov 4 02:53 /etc/my.cnf
#
2. apache config file:
# ls -l /etc/httpd/
total 8
drwxr-xr-x 2 root root 4096 Jan 11 07:06 conf
drwxr-xr-x 2 root root 4096 Jan 11 07:03 conf.d
lrwxrwxrwx 1 root root 19 Jan 11 06:53 logs -> ../../var/log/httpd
lrwxrwxrwx 1 root root 27 Jan 11 06:53 modules -> ../../usr/lib/httpd/modules
lrwxrwxrwx 1 root root 13 Jan 11 06:53 run -> ../../var/run
#
3. PHP config file:
# ls -l /etc/php.ini
-rw-r--r-- 1 root root 45079 Nov 30 00:53 /etc/php.ini
Note: You need to turn off selinux before you start the installation. You can find how to turn off selinux in previous FAQs.
yum -y update
yum -y install gcc gcc-c++ autoconf automake libtool libevent libevent-devel gmp gmp-devel
rpm -qa|grep ppp
You might see following text displayed:
rp-pppoe-3.5-32.1
ppp-2.4.4-2.el5
If you see ppp-2.4.4-2.el5, that means ppp is already installed. You can move to install pptpd. If you don't see this line, you can use yum to install ppp.
yum install ppp*
Next, you should download pptpd rpm file:
32bit
wget http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.i386.rpm
64bit
wget http://acelnmp.googlecode.com/files/pptpd-1.3.4-1.rhel5.1.x86_64.rpm
We use 32bit rpm file for demo purpose:
rpm -ivh pptpd-1.3.4-1.rhel5.1.i386.rpm
After the installation, you will find a new file, pptpd.conf, under /etc folder.
Modify /etc/pptpd.conf:
Add '#' character in front of 'logwtmp' line. Looks like:
#logwtmp
At the end of the config file, add:
localip 192.168.101.1
remoteip 192.168.101.2-102
Save and exit
Next, change /etc/ppp/options.pptpd:
Change ms-dns to Google's DNS: 8.8.8.8 and 4.2.2.1, remove the leading '#' character, save and exit.
Next, you need to change /etc/ppp/chap-secrets file
At the end of the file, add:
abc pptpd abc *
By doing this, you just added a user with username 'abc' and password 'abc'.
Change /etc/sysctl.conf:
net.ipv4.ip_forward = 1
Save and exit. In command line, enter 'sysctl -p' for the change to take effect.
Setup iptables as following:
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.101.0/24 -j MASQUERADE
service iptables save
service iptables restart
Start pptpd
/etc/init.d/pptpd start
Now, you can try to establish ppp on Windows XP or Windows 7.
If you still can't access the website you want, you need to change your local DNS to Google's DNS. That's about it. Good luck!
yum -y install bison flex
yum -y install lsof
yum -y install gmp gmp-devel
1 openswan
wget http://www.openswan.org/download/openswan-2.6.31.tar.gz
tar zxf openswan-2.6.31.tar.gz
cd openswan-2.6.31
make programs
make install
1 Configure IPSEC
1.1 ipsec.conf
vi /etc/ipsec.conf
Change the content as following:
version 2.0
config setup
nat_traversal=yes
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
oe=off
protostack=netkey
conn L2TP-PSK-NAT
rightsubnet=vhost:%priv
also=L2TP-PSK-noNAT
conn L2TP-PSK-noNAT
authby=secret
pfs=no
auto=add
keyingtries=3
rekey=no
ikelifetime=8h
keylife=1h
type=transport
left=YOUR.SERVER.IP.ADDRESS
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
Note: YOUR.SERVER.IP.ADDRESS is your server's IP address.
1.2 ipsec.secrets
Setup Shared Key
vi /etc/ipsec.secrets
Content:
YOUR.SERVER.IP.ADDRESS %any: PSK "YourSharedSecret"
Note: YOUR.SERVER.IP.ADDRESS is your server's IP address. YourSharedSecret is your L2TP key.
1.3 Change ip_forward shell script
vi /etc/ip_forward.sh
Content:
#! /bin/bash
for each in /proc/sys/net/ipv4/conf/*
do
echo 0 > $each/accept_redirects
echo 0 > $each/send_redirects
done
Execute this script:
sh /etc/ip_forward.sh
vi /etc/sysctl.conf
Change net.ipv4.ip_forward = 1
In command line, run 'sysctl -p' for the change to take effect.
Restart ipsec, and verify the changes
/etc/init.d/ipsec restart
ipsec verify
2 Install L2TP
yum install libpcap-devel
wget http://sourceforge.net/projects/rp-l2tp/files/rp-l2tp/0.4/rp-l2tp-0.4.ta...
tar zxf rp-l2tp-0.4.tar.gz
cd rp-l2tp-0.4
./configure
make
cp handlers/l2tp-control /usr/local/sbin/
mkdir /var/run/xl2tpd/
ln -s /usr/local/sbin/l2tp-control /var/run/xl2tpd/l2tp-control
3 Install xl2tpd
wget http://www.xelerance.com/wp-content/uploads/software/xl2tpd/xl2tpd-1.3.0...
tar zxf xl2tpd-1.3.0.tar.gz
cd xl2tpd-1.2.6
make install
4. Set conf file
4.1 xl2tpd.conf
mkdir /etc/xl2tpd
vi /etc/xl2tpd/xl2tpd.conf
Content as following. Please be careful that ip range shouldn't conflict with your lan ip!
[global]
ipsec saref = yes
[lns default]
ip range = 192.168.2.2-192.168.2.254
local ip = 192.168.2.1
refuse chap = yes
refuse pap = yes
require authentication = yes
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes
4.2 Setup ppp config file
vi /etc/ppp/options.xl2tpd
Content:
require-mschap-v2
ms-dns 8.8.8.8
ms-dns 8.8.4.4
asyncmap 0
auth
crtscts
lock
hide-password
modem
debug
name l2tpd
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
# vi /etc/ppp/chap-secrets
Add this line at the end of the file:
abc l2tpd abc *
We established a L2TP user with username 'abc' and password 'abc'.
5 Setup iptable forward rules
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.2.0/24 -j MASQUERADE
service iptables save
service iptables restart
6 Testing
Run following command in the command line
xl2tpd -D
You can use the user 'abc' for the testing. After the testing, you can execute xl2tpd as the background process.
Important Note: You need to turn on ipsec service on Windows XP and Windows 7. Otherwise, L2TP won't work on them.
The website mirrorlist.centos.org returns yum source sites in CentOS. Most of Asian yum source sites locate in China, Taiwan or Hong Kong areas. Due to bandwidth restriction on these sites, the file download speed could be very slow.
Since Peer1 is directly connected to China Telecom network, yum source sites on our Peer1 nodes most likely are Asian sites. When you execute yum command to install CentOS packages, you would experience slow file download speed. To resolve this problem, you just need to add following text at the end of the URL of mirrorlist in /etc/yum.repos.d/CentOS-Base.repo configuration file:
&cc=us
Below is the test result after we changed the mirrorlist configuration:
Dependencies Resolved
======================================================================
Package Arch Version Repository Size
======================================================================
Installing:
kernel-xen i686 2.6.18-274.18.1.el5 updates 20 M
Updating:
device-mapper-multipath i386 0.4.7-46.el5_7.2 updates 2.8 M
glibc i686 2.5-65.el5_7.3 updates 5.3 M
glibc-common i386 2.5-65.el5_7.3 updates 16 M
kpartx i386 0.4.7-46.el5_7.2 updates 425 k
krb5-libs i386 1.6.1-63.el5_7 updates 668 k
libxml2 i386 2.6.26-2.1.12.el5_7.2 updates 796 k
lvm2 i386 2.02.84-6.el5_7.2 updates 2.9 M
mkinitrd i386 5.1.19.6-71.el5_7.1 updates 474 k
nash i386 5.1.19.6-71.el5_7.1 updates 1.1 M
nss i386 3.12.10-7.el5_7 updates 1.1 M
openldap i386 2.3.43-12.el5_7.10 updates 297 k
openssl i686 0.9.8e-20.el5_7.1.0.1.centos updates 1.4 M
popt i386 1.10.2.3-22.el5_7.2 updates 75 k
python i386 2.4.3-44.el5_7.1 updates 58 k
python-libs i386 2.4.3-44.el5_7.1 updates 5.8 M
rpm i386 4.4.2.3-22.el5_7.2 updates 1.2 M
rpm-libs i386 4.4.2.3-22.el5_7.2 updates 928 k
rpm-python i386 4.4.2.3-22.el5_7.2 updates 60 k
tzdata i386 2011l-4.el5 updates 765 k
udev i386 095-14.27.el5_7.1 updates 2.4 M
Transaction Summary
======================================================================
Install 1 Package(s)
Upgrade 20 Package(s)
Total download size: 65 M
Downloading Packages:
(1/21): python-2.4.3-44.el5_7.1.i386.rpm | 58 kB 00:00
(2/21): rpm-python-4.4.2.3-22.el5_7.2.i386.rpm | 60 kB 00:00
(3/21): popt-1.10.2.3-22.el5_7.2.i386.rpm | 75 kB 00:00
(4/21): openldap-2.3.43-12.el5_7.10.i386.rpm | 297 kB 00:00
(5/21): kpartx-0.4.7-46.el5_7.2.i386.rpm | 425 kB 00:00
(6/21): mkinitrd-5.1.19.6-71.el5_7.1.i386.rpm | 474 kB 00:00
(7/21): krb5-libs-1.6.1-63.el5_7.i386.rpm | 668 kB 00:00
(8/21): tzdata-2011l-4.el5.i386.rpm | 765 kB 00:00
(9/21): libxml2-2.6.26-2.1.12.el5_7.2.i386.rpm | 796 kB 00:00
(10/21): rpm-libs-4.4.2.3-22.el5_7.2.i386.rpm | 928 kB 00:00
(11/21): nss-3.12.10-7.el5_7.i386.rpm | 1.1 MB 00:00
(12/21): nash-5.1.19.6-71.el5_7.1.i386.rpm | 1.1 MB 00:00
(13/21): rpm-4.4.2.3-22.el5_7.2.i386.rpm | 1.2 MB 00:00
(14/21): openssl-0.9.8e-20.el5_7.1.0.1.centos.i686.rpm | 1.4 MB 00:00
(15/21): udev-095-14.27.el5_7.1.i386.rpm | 2.4 MB 00:00
(16/21): device-mapper-multipath-0.4.7-46.el5_7.2.i386.rpm | 2.8 MB 00:00
(17/21): lvm2-2.02.84-6.el5_7.2.i386.rpm | 2.9 MB 00:00
(18/21): glibc-2.5-65.el5_7.3.i686.rpm | 5.3 MB 00:00
(19/21): python-libs-2.4.3-44.el5_7.1.i386.rpm | 5.8 MB 00:00
(20/21): glibc-common-2.5-65.el5_7.3.i386.rpm | 16 MB 00:01
(21/21): kernel-xen-2.6.18-274.18.1.el5.i686.rpm | 20 MB 00:02
----------------------------------------------------------------------
Total 8.1 MB/s | 65 MB 00:07
We listed the content of /etc/yum.repos.d/CentOS-Base.repo for your reference.
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&cc=us
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&cc=us
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/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&cc=us
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/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&cc=us
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib&cc=us
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
You can find two CentOS-Base.repo files below, one for CentOS5 and the other for CentOS6. If your VPS is on our Peer1 nodes, you can download the CentOS-Base.repo file based on your CentOS version and replace the original file in the OS with the downloaded file.
Many clients have asked us on how to reintall OS on their VPS. Actually, every client has the capability to reinstall OS via SolusVM control panel by himself/herself. We described the detail steps as following:
First, you need to use the username (e.g. vm×××) and password in the "New VPS Information" email which we sent you after you purchased the VPS to sign in to SolusVM control panel. Next, you can select the OS you prefer and click "Reinstall" button to install the new OS, The entire process only takes 5 minutes or less to complete.
You can change the timezone on your VPS to other timezones if you want. The default timezone on our server is Pacific Time (aka Los Angeles time). We described the detailed steps as following (use Beijing Time as the example):
First, you should log in to your VPS and check the timezone via 'date' command.
date -R
Sat, 25 Feb 2012 05:51:09 -0500
Next, you should execute 'tzselet' to change the timezone on your VPS.
# tzselect
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
#? 5
Note: Select 5)Asia
Please select a country.
1) Afghanistan 18) Israel 35) Palestine
2) Armenia 19) Japan 36) Philippines
3) Azerbaijan 20) Jordan 37) Qatar
4) Bahrain 21) Kazakhstan 38) Russia
5) Bangladesh 22) Korea (North) 39) Saudi Arabia
6) Bhutan 23) Korea (South) 40) Singapore
7) Brunei 24) Kuwait 41) Sri Lanka
8) Cambodia 25) Kyrgyzstan 42) Syria
9) China 26) Laos 43) Taiwan
10) Cyprus 27) Lebanon 44) Tajikistan
11) East Timor 28) Macau 45) Thailand
12) Georgia 29) Malaysia 46) Turkmenistan
13) Hong Kong 30) Mongolia 47) United Arab Emirates
14) India 31) Myanmar (Burma) 48) Uzbekistan
15) Indonesia 32) Nepal 49) Vietnam
16) Iran 33) Oman 50) Yemen
17) Iraq 34) Pakistan
#? 9
Note: Select 9)China
Please select one of the following time zone regions.
1) east China - Beijing, Guangdong, Shanghai, etc.
2) Heilongjiang (except Mohe), Jilin
3) central China - Sichuan, Yunnan, Guangxi, Shaanxi, Guizhou, etc.
4) most of Tibet & Xinjiang
5) west Tibet & Xinjiang
#? 1
Note: Select 1)Beijing
The following information has been given:
China
east China - Beijing, Guangdong, Shanghai, etc.
Therefore TZ='Asia/Shanghai' will be used.
Local time is now: Sat Feb 25 18:54:32 CST 2012.
Universal Time is now: Sat Feb 25 10:54:32 UTC 2012.
Is the above information OK?
1) Yes
2) No
#? 1
Note: Save and exit
You can make this change permanent for yourself by appending the line
TZ='Asia/Shanghai'; export TZ
to the file '.profile' in your home directory; then log out and log in again.
Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
Asia/Shanghai
Last step, you must run the command below for the change to take effect permanently.
#cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Now, you check the timezone on your VPS. You can find the timezone has been changed to Beijing Time.
# date -R
Sat, 25 Feb 2012 18:57:58 +0800
#
You can also install ntp service to automatically synchronize the time on your VPS with public time servers.
#yum install ntp
After the installation of ntp service, you need to add following cron task into the crontab on your VPS.
01 * * * * /usr/sbin/ntpdate -u clock.redhat.com
copyright©myhost123
