Programming language

Centos 7.3 How to install Apache 2.4, PHP 7.1 and MySQL (MariaDB)

Enable Network

Display network status

# nmcli d

Start network manager

# nmtui

Edit the connection to Automatically connect

Make GUI Default

Centos 7

# yum group install "GNOME Desktop" "Graphical Administration Tools"


# yum groupinstall "Server with GUI"

Run the following to make the GUI start on reboot

# ln -sf /lib/systemd/system/ /etc/systemd/system/

Start SSH service

# systemctl restart sshd.service

# firewall-cmd --add-port=22/tcp --permanent

#  firewall-cmd --reload

Upload progress PECL uploadprogress library

In my Drupal status report I get the following message:

Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library

So I decided to enable this on my Fedora server (same for CentOS), since I will probably need to do this on more servers, here are the steps it takes:

# yum install php-devel
# pecl install uploadprogress

if you get: pecl: command not found then you will need to run:

# yum install pear

Note: I found out this did not work because the name is now php-pear so use:

# yum install php-pear

Now you can finally run the command you need:

# pecl install uploadprogress

Note: if you get the error configure: error: no acceptable C compiler found

# yum install gcc

Add this line to /etc/php.ini

vi /etc/php.ini


Oracle XE with PHP

Oracle XE


  1. DownLoad and install the Oracle XE rpm
  2. As root run /etc/init.d/oracle-xe configure
    • Answer the configuration questions, remember the password.
  3. Open your browser to
  4. Start the enterprise manager control agent type: emctl start
  5. Start the enterprise manager dbconsole  type: emctl start dbconsole

Getting started


Oracle Block Edit