Mengarahkan akses https menggunakan .htaccess

Jika website anda sudah terpasang sertifikat SSL dan anda ingin ketika website diakses menggunakan http biasa secara otomatis akan terhubung ke https maka anda bisa menggunakan setting redirect melalui .htaccess sebagai berikut: Read the rest of this entry »

Apache: Fatal Error Unable to create lock file: Bad file descriptor (9)

Bila menjumpai error seperti judul di atas coba cek privilege folder /tmp
# stat -c %a /tmp
0755

bila muncul 0755 akan menyebabkan Apache tidak dapat membuat file session pada folder /tmp
masalah ini dapat diatasi dengan perintah berikut
chmod -v 1777 /tmp /var/tmp
Read the rest of this entry »

Upgrading CentOS 7 to CentOS 8

The steps described herein do not depict the official upgrade and this should not be applied to a production server yet.

PRE TASKS

Step 1: Install the EPEL Repository
install the EPL repository by running:

# yum install epel-release -y

Step 2: Install yum-utils Tools
After successfully installing EPEL, install yum-utils by running the command below:

# yum install yum-utils

Thereafter, you need to resolves RPM packages by executing the command.

# yum install rpmconf
# rpmconf -a

Next, perform a clean-up of all the packages you don’t require.

# package-cleanup –leaves
# package-cleanup –orphans

INSTALL PRE-UPGRADE TOOL
Read the rest of this entry »