Monday, August 27, 2018

Instalasi VNC Server di Centos 6.8 (For Remote)

1. INSTALASI APLIKASI PENDUKUNG
yum groupinstall Desktop
yum install gnome-core xfce4 firefox

2. INSTALASI VNC SERVER
yum install tigervnc-server

3. MAKE AUTOSTART ON BOOT
chkconfig vncserver on

4. CREATE VNC PASSWORD
vncpasswd

5. CONFIG VNC SERVER  (example using root user):
vi /etc/sysconfig/vncservers

teks paling akhir, ubah menjadi :
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768"

6. RESTART SERVICE
service vncserver restart

7. CONFIG STARTUP VNC
vi /root/.vnc/xstartup

teks paling akhir, ubah menjadi :
#twm &
exec gnome-session &

Instalasi MySQL 5.6 di Centos 6.8 (64 bit)

1. DOWNLOAD & INSTALL REPOSITORY
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -Uvh mysql-community-release-el6-5.noarch.rpm


2. INSTAL MYSQL SERVER
yum -y install mysql mysql-server


3. START SERVICEE
chkconfig mysqld on
service mysqld start


4. CONFIG MYSQL SERVER
mysql_secure_instalation

Saturday, August 25, 2018

Instalasi PHP 5.6 di Centos 6.x dan 7.x

1. DOWLOAD  RPM :
CentOS/RHEL 7.x:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

CentOS/RHEL 6.x:
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm


2. INSTALL PHP 5.6 :
yum install php56w php56w-mbstring php56w-devel php56w-ldap 
php56w-mbstring php56w-mcrypt php56w-xml php56w-mysqlnd 
php56w-pear php56w-gd


3. RESTART APACHE :
service httpd restart