United States Other Locations Virtualization/OS Memory Size Disk Size Price Per Month

SolusVMController: Control All Your VPSes under One Web GUI.

SolusVMController is free web based PHP application to control all your SolusVM based VPSes under one interface. This application access your VPS using API provided by SolusVM Panel. Please make sure your VPS provider has enabled API access in order to use this application.

 

 

 

Download and Install SolusVMController:

 

wget http://solusvmcontroller.com/files/solusvmcontroller-2.3.zip

unzip solusvmcontroller-2.3.zip

cd solusvmcontroller*

mv configuration.php.default configuration.php

chmod 777 configuration.php

chmod 777 tables

 

Open your web browser, enter the address of your SolusVMController to finish the installation.

 

The default username/password is: admin/admin

 

Continue Reading →

PositiveSSL + Nginx Configuration

Positivessl.com will offer you four files when you finish the application procedure:

 

Your domain's key file: domain.key or domain.pem

Your domian's certificate: domain.crt

Intermediate certificates: PositiveSSLCA.crt ,  UTNAddTrustServerCA.crt

Root certificate: AddTrustExternalCARoot.crt

 

1) Make a certificate chain:

If your Key file is domain.key, you'd better rename it to domain.pem

 

mv domain.key domain.pem

 

Then we have to concatenate all the certificates to one file in a special top to root chain: domian's certificate + Intermediate certificates + Root certificate

 

cat domain.crt PositiveSSLCA.crt  UTNAddTrustServerCA.crt AddTrustExternalCARoot.crt > domain_chain.crt

 

 

2) Modify Nginx conf file, here is a example:

server
{
listen 443;
server_name domain.com;

ssl on;
ssl_certificate /root/domain_chain.crt;
ssl_certificate_key /root/domiann.pem;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers ALL:-ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP;

location / {


}

}


 

3) Restart nginx

Compile and Install Nginx with Substitutions4nginx and Nginx-accesske Modules

1) Install related pachages (contains some additional packages for php ):

yum install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel subversion 

 

 

2) Add www group and www user

groupadd www
useradd -s /sbin/nologin -g www www
 

3) Create  folders where your website files will be placed

mkdir -p /var/www
chmod +w /var/www
mkdir -p /var/wwwlogs
chmod 777 /var/wwwlogs
chown -R www:www /home/www

 

4) Download nginx modules

mkdir /root/installation

cd /root/installation

svn checkout http://substitutions4nginx.googlecode.com/svn/trunk/ substitutions4nginx-read-only

wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.13.tar.gz
tar zxvf pcre-8.13.tar.gz && cd pcre-8.13/ && ./configure
make && make install && cd ../

wget http://wiki.nginx.org/images/5/51/Nginx-accesskey-2.0.3.tar.gz
tar zxvf Nginx-accesskey-2.0.3.tar.gz

wget http://www.nginx.org/download/nginx-1.0.6.tar.gz
tar zxvf nginx-1.0.6.tar.gz

 

5) Install nginx

curdir=$(pwd)

cd nginx-1.0.6

./configure –user=www –group=www \
–with-http_stub_status_module \
–with-http_ssl_module \
–with-pcre=$curdir/pcre-8.13 \
–with-http_sub_module –add-module=$curdir/substitutions4nginx-read-only \
–add-module=$curdir/nginx-accesskey-2.0.3 \
–with-ipv6 \
–with-http_gzip_static_module

make && make install

 

7) Start Nginx and restart Nginx

/usr/local/nginx/sbin/nginx

/usr/local/nginx/sbin/nginx -s reload

 

8) Auto Start

vi /etc/rc.local

then add this line:

/usr/local/nginx/sbin/nginx

Tool: Use chkrootkit to scan rootkits

chkrootkit is a tool to locally check for signs of a rootkit.


1) Download:

        wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz

2) Unpack and install.

        tar xvzf chkrootkit.tar.gz

        cd chkrootkit*

        make sense

3) Run chkrootkit

        ./chkrootkit

You should pay attention to "INFECTED"

PHP-DDOS Prevention

To prevent PHP-DDOS atacking, you should modify some configurations in the file php.ini,

Set:

allow_url_fopen = Off

 

and disable php_sockets.dll

;extension=php_sockets.dll

 

then restart your web service – apache, nginx, IIS, etc.

Limit the Number of Connecting Threads from A Single IP to Protect CC Attacking

This method may help you alleviate the CC attacking from a single IP.

 

1) Install iptables:

 

Ubuntu/Debian:

apt-get install iptables

CentOS: 

yum install iptables

 

2) Set the maximum number of threads that a single ip can connect you server at the same time:

iptables -I INPUT -p tcp –dport 80 -m connlimit –connlimit-above 10 -j DROP

iptables-save > /etc/noddos

Here 10 is the maximum number, you can change it to others, then:

vim /etc/rc.local

Add:

iptables-restore /etc/noddos

 

ALL DONE.

 

 

Setup Nginx HTTPS (SSL) Inverse Proxy

We aim to setup an inverse proxy “https://google.vpscouponcode.com” to “https://encrypted.google.com”.

 

1) Download Nginx and install it. (Make sure to include the SSL Module)

 

2) Goto your DNS panel and make a new A record (Proxy URL, here we take “google.vpscouponcode.com” as an example) to your inverse proxy server ip.

 

3) Forge a Self-authorized Certificate

 

Make a dictionary for the Certification files:

 

cd ~

mkdir ssl

cd ssl

Generate a CA Private Key:

openssl genrsa -out ca.key 4096

Generate a  CA Certification:

openssl req -new -x509 -days 3650 -key ca.key -out ca.crt

Generate the Private Key of your server:

openssl genrsa -out server.key 4096

Generate the Certificate Signing Request of your server (Important: Common Name is your inverse proxy URL ):

openssl req -new -key server.key -out server.csr

Using the CA Certification to sigh your Certificate Signing Request:

openssl x509 -req -days 3650 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt

Continue Reading →

Tool: Using dstat to monitor your linux server

Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat. Dstat is handy for monitoring systems during performance tuning tests, benchmarks or troubleshooting.
Dstat allows you to view all of your system resources in real-time, you can eg. compare disk utilization in combination with interrupts from your IDE controller, or compare the network bandwidth numbers directly with the disk throughput (in the same interval).

 

Installation:

Ubuntu:

sudo apt-get install dstat

CentOS:

yum install dstat

 

Usage:

dstat -cdlmnpsyt 5

 

Continue Reading →

50% OFF – $15 2GB OpenVZ – [US] Batchservers

Batchservers is a vps provider based out of Chicago with datacenters in Chicago and New York. Their vps plans are hosted on intel dual quad core E5620 16 core with 32 GB ram,1gb port and Raid 10. All vps plans have 100mbps port. All vps plans are customizable. 3 locations to choose from. Chicago,LAX,and NYC. They accept paypal,Alertpay,And Google checkout, now take this coupon code below to get 50% off for the life of certain plan.

50% OFF Coupon Code: TAKE50

 

 

Openvz plans. NYC,CHICAGO,LAX

VPS2GB

  • Choice of linux os
  • Instant setup
  • 2 GB Ram
  • 40 GB Raid-10 Protected Disk
  • 2,000 GB Bandwidth 100mbps
  • 4 CPU's
  • Cpanel/WHM Available for $14
  • Solusvm control panel
  • 2 IP Addresses
  • 100% network uptime guarantee
  • 24×7 help desk support
  • 7-day money back guarantee(except cpanel license)

$30.00 ($15.00/mo with coupon code take50|)
Order Now!

Continue Reading →

Tips of Windows 8: Dual-boot, Default booting system, Disable metro.

1) Dual-Boot Windows 7 and Windows 8:

Extract  the Windows8 iso that you just downloaded, run setup.exe in the sources folder. (not the top folder setup.exe), then install windows 8 on another partition.

 

2) Set Windows 7 as default booting system:

Control Panel -> System and Security -> System -> Advanced system settings -> Advanced – Startup and Recovery – Settings… -> Default operating system

 

Continue Reading →