How to install XOOPS CMS on CentOS 7

To install XOOPS CMS on CentOS 7

Pre-Requisite

LAMP Setup
- Apache
- MariaDB
- PHP 7 along with the following repositories (yum install -y mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml)

Installation procedure

To start with the installation procedure, go to its official website and get the package link for downloading it using wget command followed by the download link.


\[root@linuxhelp ~\]# wget https://excellmedia.dl.sourceforge.net/project/xoops/XOOPS%20Core%20%28stable%20releases%29/XOOPS\_2.5.8.1/xoops-2.5.8.1.zip \--2017-09-21 10:02:20--  https://excellmedia.dl.sourceforge.net/project/xoops/XOOPS%20Core%20%28stable%20releases%29/XOOPS\_2.5.8.1/xoops-2.5.8.1.zip
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8847885 (8.4M) \[application/octet-stream\]
Saving to: &lsquo xoops-2.5.8.1.zip&rsquo 

100%\[======================================> \] 8,847,885    528KB/s   in 14s    

2017-09-21 10:02:35 (622 KB/s) - &lsquo xoops-2.5.8.1.zip&rsquo  saved \[8847885/8847885\]

The package has been installed in the system. Extract the downloaded package using unzip command.


\[root@linuxhelp ~\]# unzip xoops-2.5.8.1.zip Archive:  xoops-2.5.8.1.zip
bebd74ac7bbf29ccd92f2a6508562e6ca6765030
   creating: XoopsCore25-2.5.8.1/
  inflating: XoopsCore25-2.5.8.1/.gitattributes  
  inflating: XoopsCore25-2.5.8.1/.gitignore  
  inflating: XoopsCore25-2.5.8.1/.scrutinizer.yml  
  inflating: XoopsCore25-2.5.8.1/CONTRIBUTING.md  
  inflating: XoopsCore25-2.5.8.1/LICENSE  
  inflating: XoopsCore25-2.5.8.1/README.md  
.
.
.
.
inflating: XoopsCore25-2.5.8.1/upgrade/upd-2.4.x-to-2.5.0/index.php  
   creating: XoopsCore25-2.5.8.1/upgrade/upd-2.5.4-to-2.5.5/
  inflating: XoopsCore25-2.5.8.1/upgrade/upd-2.5.4-to-2.5.5/index.php  
   creating: XoopsCore25-2.5.8.1/upgrade/upd-2.5.5-to-2.5.6/
  inflating: XoopsCore25-2.5.8.1/upgrade/upd-2.5.5-to-2.5.6/index.php  
   creating: XoopsCore25-2.5.8.1/upgrade/upd-2.5.7-to-2.5.8/
  inflating: XoopsCore25-2.5.8.1/upgrade/upd-2.5.7-to-2.5.8/index.php  
  inflating: XoopsCore25-2.5.8.1/upgrade/upgrade\_tpl.php  

Move the extracted directory on Apache root directory and list the files in the directory.


\[root@linuxhelp ~\]# mv XoopsCore25-2.5.8.1/ /var/www/html/xoops
\[root@linuxhelp ~\]# cd /var/www/html/
\[root@linuxhelp html\]# ll
total 4
drwxr-xr-x 6 root root 4096 Jan  1  2017 xoops

Move to htdocs and move all the files into XOOPS directory.


\[root@linuxhelp xoops\]# cd htdocs/
\[root@linuxhelp htdocs\]# mv \*\* .. 

Provide the owner permission and file execution permission of the Apache directory.


\[root@linuxhelp xoops\]# chown -R apache:apache /var/www/html/xoops/
\[root@linuxhelp xoops\]# chmod -R 777 /var/www/html/xoops/

Open the Apache configuration named as httpd.conf and make the following changes in the file. Save and exit the file.


\[root@linuxhelp ~\]# vim /etc/httpd/conf/httpd.conf 
     ServerName 192.168.7.165:80
    DirectoryIndex index.html index.php

Restart the Apache service.


\[root@linuxhelp ~\]# systemctl restart httpd

Switch over to your browser and enter http://192.168.7.165/xoops. The index page of the XOOPS appears on the screen.

The installation wizard appears and now select the language and click next.

The introduction page of the XOOPS appears on the screen.

Next set the XOOPS physical paths and the Web locations of the XOOPS and click next.

Enter the database connection name and the username, password for the XOOPS.

Next configure the database by entering the database name and click next.

Save the system configuration and click next.

Enter the administration account details and click next.

Next enter the general settings of the site and meta description of the site.

Select the theme of the site and the about us pop-up window about the site. Select next option.

Now the installation of the modules protector is set and click next.

The installation is successfully done. Select the home page of your site option.

The Home page of the site is shown to the user as below.

< ads2>

The dashboard of the XOOPS is displayed on the screen.

The installation procedure of XOOPS on CentOS 7 is done successfully without any glitches.

FAQ
Q
what are all the Pre-Requisite needed for XOOPS in centos?
A
the Pre-Requisite needed for XOOPS in centos are\
LAMP Setup
- Apache
- MariaDB
- PHP 7 along with the following repositories (yum install -y mod_php71w php71w-cli php71w-common php71w-gd php71w-mbstring php71w-mcrypt php71w-mysqlnd php71w-xml)
Q
what is the use of installing the XOOPS in centos?
A
XOOPS is a popular and easy to use CMS written in PHP. It uses a modular architecture and it is an ideal tool for developing small to large dynamic community websites, weblogs etc. It is an acronym of eXtensible Object Oriented Portal System. It contains modules that can be installed or uninstalled within the XOOPS administration system, contains relational databases and a messaging system within the users.
Q
how to download the XOOPS package using terminal?
A
get the package link for downloading it using wget command followed by the download link.
# wget https://excellmedia.dl.sourceforge.net/project/xoops/XOOPS%20Core%20%28stable%20releases%29/XOOPS_2.5.8.1/xoops-2.5.8.1.zip
Q
which language using to built XOOPS?
A
language using to built XOOPS on PHP
Q
Whether XOOPS CMS is an open source?
A
Yes XOOPS CMS is free and open source tool.