Moving to a new harddrive - with lvm - luks encryption

In this post, I will describe how to move to a new harddrive, either server or desktop (linux).
This topic is outside the "hosting" topic, but may be useful for you.

Suppose that you have one old drive, (/dev/sda), Luks encrypted.
one new drive, bigger (/dev/sdb)

New drive has no partitions (or may have also...)

This command copies all of old drive onto new one, with a kind of progress indicator..
pv -n /dev/sda | dd of=/dev/sdb bs=128M conv=notrunc,noerror

this takes long time, depending on your old drive size.


Hi it would be nice to have more videos on this control panel it looks so good and i think it could have a lot of promise to it i have my own websites and want to move them to my own sever and host out the rest of my HHD but i would like you know how i can build my hosting site around this control panel so more videos would help please on how to add things like paypal and other things to thank you

can't running apache service, ( web service )


install a new version of ehcp but i can't upload my website and can't run apache2 service.

here is error report

apache2: Syntax error on line 272 of /etc/apache2/apache2.conf: Syntax error on line 26 of /var/www/new/ehcp/apachehcp.conf: Could not open configuration file /etc/apache2/fastcgi_params;: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information

Add Nameservers to ehcp

If you need more domain name servers (e. g. and, if you are a web hosting provider use this syntax to add name servers to your DNS template: IN NS IN NS IN NS IN A {dnsip} IN A {dnsip} IN A {dnsip} IN A IN A

SMTP eposta (email) gönderemiyorum...

Problem ; Ubuntu Server 10.04 /EHCP kontrol paneli ile oluşturduğum e-posta hesaplarından SMTP posta gönderemiyorum.

Çözümü : /var/www/new/ehcp/webmail/config/config.php dosyasında değişiklik yapmalıyım.

$useSendmail = false;
$smtpServerAddress = 'localhost';
$smtpPort = 25; ( 25 sayısını 587 olarak değiştireceğim )
$sendmail_path = '/usr/sbin/sendmail';

user6@sr:~$ sudo nano /var/www/new/ehcp/webmail/config/config.php
[sudo] password for user6:

- dosya açıldı - değiştirdim - kaydettim.

Power your VPN Main Server using EHCP

HI, for my first blog in EHCP. I will show you how to use EHCP to power your VPN service.

1. Why EHCP?
answer: Coz EHCP provides low memory consumption for your VPS way better that the others. It also provides easy customization to fit your needs.

Here are the steps:
1. Install Ubuntu 10+ OS or whatever latest build into your VPS
2. Install EHCP.
3. Edit classapp.php to use plain text password.
Note: You can contact ehcp support for know hows on configuring this.
4. Add users to your EHCP main db for the "panelusers" table to be accessible outside.

open_basedir paths

I keep having this problem of inability to install any plug in or module to my website since I switched to EHCP.This is the error.

• JFolder::create: Path not in open_basedir paths
• Warning! Failed to move file.

I was made to understand that I have to set the tmp path to ftpuser/domainname/phptmpdir (I have tried several ways to do it (I am a complete newbie please)as much as possible and have not been able to solve it. I keep having the error. Today, I have to keep looking here and there on the NET for solution, yet, I am still in headlong with it.