Promo new domain .COM cuma 100rb

Dolar boleh naik, tetapi kami malah memberikan harga spesial untuk pendaftaran domain baru .COM hanya Rp 100,000/tahun.
Harga promo berlaku untuk pembelian domain baru .COM selama bulan November 2013.
Ayo manfaatkan kesempatan baik ini sebelum harga naik lagi.

* Untuk renewal Rp 120,000/tahun

Posted in News. Comments Off on Promo new domain .COM cuma 100rb

openvz scripts

In this article, we’ve put some small scripts that useful for openvz

vzstartall.sh
#!/bin/bash
## vzstartall - starts all openvz containers that are currently stopped
for arg in `vzlist -HS -o ctid`
do
echo working on container $arg
sudo vzctl start $arg
done

vzstopall.sh
#!/bin/bash
## vzstopall - stops all running openvz containers
echo stopping all running openvz containers
for arg in `vzlist -H -o ctid`
do
echo working on container $arg
sudo vzctl stop $arg
done

Read the rest of this entry »

Move addon domain as a standalone cpanel account

If you need to change an addon domain as a standalone cpanel account, follow these steps:
Backup
——
1. Take a full backup of the user from Cpanel
2. Extract the backup onto your PC.

Create as stand alone account
—————————–
3. Remove that addon domain
4. Create that domain from WHM –> Create new account

Restore web files
—————–
5. Copy all web files of that addon domain from the backup to the new document root.
6. Change the ownership all files to newuser.newuser

Restore DB’s
———–
7. Make sure the name of DB for each domain.
8. In backup directory there is a mysql directory. All DB’s are under that mysql directory.
9. Login to the new cpanel account of that new account.
10. Create a DB, DB user from Cpanel –> Mysql
11. Give all privileges to that mysql user to the corresponding DB from there.
12. Make sure to edit all mysql configuration files in the document root of that domain.
13. Restore the old DB to new DB.

Restore mails
————-
14. In the backup, we can see a directory named mail. Copy the directory of the domain from that directory to new accounts mail directory /home/newuser/mail/
15. Change the ownership of that directory under /home/newuser/mail/ to newuser.newuser

Restore mail accounts with same password
—————————————-
16. In the backup we can see a directory etc. Copy the directory of the domain from that directory to new accounts /home/newuser/etc/
17. Change the ownership of that directory under /home/newuser/etc/ to newuser.mail

That all folks