1. The first, install ius-release on mechine
2. Next, install httpd on mechine
3. After install httpd, now i start, enable, and status the service httpd on mechine
Installing Mysql
1. On install mysql, first download file mysql server
2. After download, install mysql server on mechine
4. Now setup mysql secure on mechine
5. And setup password for mysql, entry password mysql default above picture
6. Now, i try to login mysql on mechine
Installing PHP
1. Download remi file on mechine and install
2. Edit file /etc/yum.repos.d/remi.repo
[remi]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
3. In mechine use php version 5.6, now edit /etc/yum.repos.d/remi.repo[remi-php56]
name=Les RPM de remi de PHP 5.6 pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/php56/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/php56/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi
4. Now install module php on mechineyum install bcmath php-bcmath php-dba php-dom php-enchant php-gmp php-intl php-mbstring php-memcache php-odbc php-PDO_ODBC PDO_ODBC php_odbc php-pdo-odbc php-pdo_pgsql php-pgsql php-posix php-recode php-pspell php-shmop php-SimpleXML php-snmp php-soap php-sysvmsg php-sysvsem php-sysvshm php-wddx php-xml php-xmlreader php-xmlrpc php-xmlwriter php-xsl php-odbc php-mbstring php-ldap
5. After finish, i check php on mechine
0 comments: