Setting VPS 3

Setting VPS 3


Install Wordpress
================
service apache2 stop apt-get remove apache2
Install the EasyEngine Script using the codes below
wget -qO ee rt.cx/ee && sudo bash ee
Now sit back and relax when the script automatically configures full nginx stack on your vps
Finally you can check whether all got installed perfectly using the following code
ee system status
You can change the default configuration of the script using the code below [Optional]
nano /etc/easyengine/ee.conf
The best caching setup for your WordPress site is W3TC over Nginx. Use the below code to install a WordPress site with W3TC Setup
ee site create example.com --w3tc
Now the Randomly created login info for your WordPress website will be shown in the Putty Window.
Copy the Password and Login. Then Change the Password as you wish

Install WordPress cara 2:
====================

wget --no-check-certificate https://raw.github.com/fwayme/vps/master/setup-debian.sh
bash setup-debian.sh system
bash setup-debian.sh exim4
bash setup-debian.sh nginx
bash setup-debian.sh mysql
bash setup-debian.sh php
bash setup-debian.sh wordpress nama-situs-anda.com

Ketikkan IP VPS anda pada web browser lalu enter

ketikkan IP VPS ditambah dengan /wp-admin
IP VPS/wp-admin

Rubah A record domain anda ke IP VPS

nantinya akan menggunakan port 80

buat folder WWW
cd /var
mkdir wwww
cd
bash setup-debian.sh wordpress nama-situs-anda.com

Bad VPN
========

apt-get update
apt-get install cmake make gcc -y
wget http://badvpn.googlecode.com/files/badvpn-1.999.127.tar.bz2
tar xf badvpn-1.999.127.tar.bz2
mkdir badvpn-build
cd badvpn-build
cmake ~/badvpn-1.999.127 -DBUILD_NOTHING_BY_DEFAULT=1 -DBUILD_UDPGW=1
make install
badvpn-udpgw --listen-addr 127.0.0.1:7300 > /dev/null &

Open VPN
=========

sebelum instal cek dulu modul TUN / TAP dan PPP sudah aktif atau belum, dengan perintah berikut ini :
cat /dev/net/tun

apabila hasilnya seperti berikut ini
# cat: /dev/net/tun: File descriptor in bad state

maka modul TUN/TAP sudah aktif dan kita bisa menginstall, namun jika hasilnya seperti berikut ini
# cat: /dev/net/tun: No such file or directory
maka modul TUN/TAP belum aktif, sehingga anda perlu mengaktifkan modul TUN/TAP di SolusVM anda.

kita juga harus cek status modul PPP di server kita apakah sudah Enable atau belum silahkan cek
# cat /dev/ppp

apabila hasilnya seperti berikut ini
# cat: /dev/ppp: Permission denied
maka modul PPP di server belum aktif silahkan Enable modul PPP dari SolusVM anda (control panel vps).

apabila modul PPP sudah Enable statusnya akan seperti ini

# cat: /dev/ppp: No such device or address

Download script
wget -O openvpn.sh http://script.anekavps.us:81/debian7/anekavps/openvpn.sh && chmod +x openvpn.sh && ./openvpn.sh

Install script
apt-get install openvpn.sh

Download config ovpn
client config : http://ipvps:81/client.ovpn

Selanjutnya ===>