Install DCC on cpanel server

Install DCC

NOTE: You need to open UDP Port 6277 in the firewall.

Download http://www.dcc-servers.net/dcc/source/dcc.tar.Z into /usr/local/src

Extract and install:

tar xvzf zxvf dcc-dccd.tar.Z
cd dcc-dccd-*
./configure
make
make install

Configure to run as a daemon Read the rest of this entry »

Dealing with cPanel’s MultiPHP and CloudLinux’s PHP Selector.

If you are using PHP-FPM you cannot use Cloudlinux’s PHP selector so you may want to scrap PHP selector off the bat if that is the case, unless you plan on only using PHP-FPM for some account and not all.

If PHP-FPM isn’t a worry, then what I would recommend you doing is going into:

WHM > EasyApache4

customize the current profile, remove all PHP versions except for one, example PHP 7.0, then select all the extensions you want by default for that one PHP version, save.

Then go into

WHM > CloudLinux LVE Manager > Selector

Set your ‘Default php version’ to PHP 7.2(not native).

Read the rest of this entry »

Instalasi Centos 7 secara remote via VNC

Instalasi Centos 7 secara remote via VNC pada prinsipnya sama dengan instalasi Centos 6, hanya saja karena Centos 7 menggunakan versi grub yang berbeda maka ada perbedaan ssetting sbb:

CentOS 6 CentOS 7
vnc inst.vnc
vncpassword= inst.vncpassword=
Note: minimal 8 karakter
headless inst.headless
ip= ip=ip::gateway:netmask:hostname:interface:none
Contoh:
ip=10.0.0.10::10.0.0.1:255.255.255.0:host.example.com:eth0:none or ip=dhcp
gateway= Lihat IP di atas
netmask= Lihat IP di atas
dns= nameserver=
method= inst.repo=
lang= inst.lang=
keymap= inst.keymap=

Pastikan anda sudah mencatat IP Address, Gateway, Netmask, dan nama interface (eth0, eth1, venet0, dsb) dengan benar.

Langkah 1:  Copy file bootstrap (Linux kernel image dan ramdisk image) ke partisi / boot Anda:

cd /boot
wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/vmlinuz -O vmlinuz-7
wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/initrd.img -O initrd-7.img

Read the rest of this entry »