Web server_PHP
Step 1
.: rpm -qa |grep php
.: yum -y remove php-mysql php-gd php-ldap php-odbc php-xml php-xmlrpc php-pgsql php-pdo php-pear ( jika ada uninstall )
.: yum -y install php-mysql php-gd php-ldap php-odbc php-xml php-xmlrpc php-pgsql php-pdo php-pear
.: rpm -qa |grep php (jika tidak ada paket maka install
Step 2
.: yum -y install mysql mysql-server
.: yum -y remove mysql mysql-server
.: Service mysqld restart
.: mysql -u root -p
# create database malik;
# crate user pljk@localhost identified by 'rahasia';
# grant all privileges on malik.* to pljk@localhost identified by 'rahasia';
# flush privileges;
# exit
Step 3
// Download paket wordpress !!
.: cd /var/www/html
.: cp /home/"nama pc kita"/Downloads/wordpress-4.9.6.tar.gz /var/www/html/
# ketik 'y'
.: unzip wordpress-4.9.6.tar.gz
.: cd wordpress
.: cp wp-config-sample.php wp-config.php
.: vim wp-config.php
# ('DB_NAME','malik');
# ('DB_USER','pljk');
# ('DB_password','rahasia');
.: service httpd restart
.: service mysqld restart
Step 1
.: rpm -qa |grep php
.: yum -y remove php-mysql php-gd php-ldap php-odbc php-xml php-xmlrpc php-pgsql php-pdo php-pear ( jika ada uninstall )
.: yum -y install php-mysql php-gd php-ldap php-odbc php-xml php-xmlrpc php-pgsql php-pdo php-pear
.: rpm -qa |grep php (jika tidak ada paket maka install
Step 2
.: yum -y install mysql mysql-server
.: yum -y remove mysql mysql-server
.: Service mysqld restart
.: mysql -u root -p
# create database malik;
# crate user pljk@localhost identified by 'rahasia';
# grant all privileges on malik.* to pljk@localhost identified by 'rahasia';
# flush privileges;
# exit
Step 3
// Download paket wordpress !!
.: cd /var/www/html
.: cp /home/"nama pc kita"/Downloads/wordpress-4.9.6.tar.gz /var/www/html/
# ketik 'y'
.: unzip wordpress-4.9.6.tar.gz
.: cd wordpress
.: cp wp-config-sample.php wp-config.php
.: vim wp-config.php
# ('DB_NAME','malik');
# ('DB_USER','pljk');
# ('DB_password','rahasia');
.: service httpd restart
.: service mysqld restart