How to Install Xoops CMS 2.5.10 on Ubuntu 18.10
- 03:01 wget https://github.com/XOOPS/XoopsCore25/archive/master.zip
- 03:14 unzip master.zip
- 03:29 mv XoopsCore25-master/ xoops
- 03:47 chown -R www-data. xoops/
- 03:51 chmod -R 775 xoops/
- 04:25 chmod 777 mainfile.dist.php
- 04:37 vim /etc/apache2/sites-available/xoops.conf
- 05:00 a2dissite 000-default.conf
- 05:06 a2ensite xoops.conf
- 05:12 a2enmod rewrite
- 05:22 systemctl restart apache2
Installation Of Xoops CMS 2.5.10 :
XOOPS CMS is an acronym of eXtensible, OO (Object Oriented) portal System, easy to use dynamic web content management system (CMS) written in PHP. XOOPS is the ideal tool for developing small to large dynamic community websites, intra company portals, corporate portals, weblogs.
Features:
Database driven
Personalization
User Management
Multi-Byte language Support
Versatile group permission System
Theme Based skinnable interface.
Requirements:
LAMP Stack
PHP Modules:
Php php-gd php-pdo php-mysql php-simplexml php-mbstring php-mcrypt php-zip php-curl
Download Link:
https://github.com/XOOPS/XoopsCore25/archive/master.zip
Installation Procedure:
Configure the database for Xoops CMS to access the Xoops CMS .
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 54
Server version: 10.1.29-MariaDB-6ubuntu2 Ubuntu 18.10
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database xoops character set utf8mb4;
Query OK, 1 row affected (0.11 sec)
MariaDB [(none)]> use xoops;
Database changed
MariaDB [xoops]> create user user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.07 sec)
MariaDB [xoops]> grant all on xoops.* to user@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [xoops]> flush privileges;
Query OK, 0 rows affected (0.02 sec)
MariaDB [xoops]> exit
Bye
Change the directory To Apache,s Document root directory.
root@linuxhelp:~# cd /var/www
create A directory for Xoops CMS
root@linuxhelp:/var/www# mkdir xoops
Change the directory to Xoops.
root@linuxhelp:/var/www# cd xoops
Download the Xoops CMS from the website.
root@linuxhelp:/var/www/xoops# wget https://github.com/XOOPS/XoopsCore25/archive/master.zip
--2019-04-12 22:38:24-- https://github.com/XOOPS/XoopsCore25/archive/master.zip
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/XOOPS/XoopsCore25/zip/master [following]
--2019-04-12 22:38:25-- https://codeload.github.com/XOOPS/XoopsCore25/zip/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’
master.zip [ <=> ] 11.76M 965KB/s in 13s
2019-04-12 22:38:39 (928 KB/s) - ‘master.zip’ saved [12334198]
Extract the Zip file of Xoops CMS
root@linuxhelp:/var/www/xoops# unzip master.zip
Archive: master.zip
dcaba5cea1a673cde4d81d2755682a4f45dfc1de
creating: XoopsCore25-master/
inflating: XoopsCore25-master/CONTRIBUTING.md
inflating: XoopsCore25-master/LICENSE
inflating: XoopsCore25-master/README.md
creating: XoopsCore25-master/docs/
inflating: XoopsCore25-master/docs/README.txt
inflating: XoopsCore25-master/docs/changelog.250.txt
.
.
.
.
.
inflating: XoopsCore25-master/upgrade/upd-2.5.5-to-2.5.6/index.php
creating: XoopsCore25-master/upgrade/upd-2.5.7-to-2.5.8/
inflating: XoopsCore25-master/upgrade/upd-2.5.7-to-2.5.8/index.php
creating: XoopsCore25-master/upgrade/upd-2.5.8-to-2.5.9/
inflating: XoopsCore25-master/upgrade/upd-2.5.8-to-2.5.9/index.php
creating: XoopsCore25-master/upgrade/upd-2.5.9-to-2.5.10/
inflating: XoopsCore25-master/upgrade/upd-2.5.9-to-2.5.10/index.php
inflating: XoopsCore25-master/upgrade/upgrade_tpl.php
finishing deferred symbolic links:
XoopsCore25-master/htdocs/class/libraries/vendor/bin/reloadpsl -> ../geekwright/regdom/bin/reloadpsl
List out the files
root@linuxhelp:/var/www/xoops# ll
total 12060
drwxr-xr-x 3 root root 4096 Apr 12 22:39 ./
drwxr-xr-x 4 root root 4096 Apr 12 22:34 ../
-rw-r--r-- 1 root root 12334198 Apr 12 22:38 master.zip
drwxr-xr-x 6 root root 4096 Mar 27 14:49 XoopsCore25-master/
Rename the extracted directory to xoops.
root@linuxhelp:/var/www/xoops# mv XoopsCore25-master/ xoops
List out the file
root@linuxhelp:/var/www/xoops# ll
total 12060
drwxr-xr-x 3 root root 4096 Apr 12 22:39 ./
drwxr-xr-x 4 root root 4096 Apr 12 22:34 ../
-rw-r--r-- 1 root root 12334198 Apr 12 22:38 master.zip
drwxr-xr-x 6 root root 4096 Mar 27 14:49 xoops/
Assign the ownership permissions to xoops directory
root@linuxhelp:/var/www/xoops# chown -R www-data. xoops/
Assign the writable permissions to xoops directory
root@linuxhelp:/var/www/xoops# chmod -R 775 xoops/
root@linuxhelp:/var/www/xoops# cd xoops
root@linuxhelp:/var/www/xoops/xoops# ll
total 68
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 ./
drwxr-xr-x 3 root root 4096 Apr 12 22:39 ../
-rwxrwxr-x 1 www-data www-data 1481 Mar 27 14:49 CONTRIBUTING.md*
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 docs/
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 extras/
drwxrwxr-x 17 www-data www-data 4096 Mar 27 14:49 htdocs/
-rwxrwxr-x 1 www-data www-data 18047 Mar 27 14:49 LICENSE*
-rwxrwxr-x 1 www-data www-data 8391 Mar 27 14:49 README.md*
-rwxrwxr-x 1 www-data www-data 4106 Mar 27 14:49 release_notes.txt*
drwxrwxr-x 20 www-data www-data 4096 Mar 27 14:49 upgrade/
Enter into htdocs dirrectory by using the following command
root@linuxhelp:/var/www/xoops/xoops# cd htdocs/
List out the file
root@linuxhelp:/var/www/xoops/xoops/htdocs# ll
total 340
drwxrwxr-x 17 www-data www-data 4096 Mar 27 14:49 ./
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 ../
-rwxrwxr-x 1 www-data www-data 5908 Mar 27 14:49 admin.php*
-rwxrwxr-x 1 www-data www-data 5781 Mar 27 14:49 ajaxfineupload.php*
-rwxrwxr-x 1 www-data www-data 3110 Mar 27 14:49 backend.php*
-rwxrwxr-x 1 www-data www-data 17858 Mar 27 14:49 banners.php*
-rwxrwxr-x 1 www-data www-data 3027 Mar 27 14:49 browse.php*
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 cache/
drwxrwxr-x 17 www-data www-data 4096 Mar 27 14:49 class/
-rwxrwxr-x 1 www-data www-data 20538 Mar 27 14:49 edituser.php*
-rwxrwxr-x 1 www-data www-data 1150 Mar 27 14:49 favicon.ico*
-rwxrwxr-x 1 www-data www-data 3003 Mar 27 14:49 footer.php*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 Frameworks/
-rwxrwxr-x 1 www-data www-data 4968 Mar 27 14:49 header.php*
-rwxrwxr-x 1 www-data www-data 10109 Mar 27 14:49 imagemanager.php*
-rwxrwxr-x 1 www-data www-data 25385 Mar 27 14:49 image.php*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 images/
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 include/
-rwxrwxr-x 1 www-data www-data 3772 Mar 27 14:49 index.php*
drwxrwxr-x 7 www-data www-data 4096 Mar 27 14:49 install/
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 kernel/
drwxrwxr-x 3 www-data www-data 4096 Mar 27 14:49 language/
-rwxrwxr-x 1 www-data www-data 4068 Mar 27 14:49 lostpass.php*
-rwxrwxr-x 1 www-data www-data 3477 Mar 27 14:49 mainfile.dist.php*
drwxrwxr-x 4 www-data www-data 4096 Mar 27 14:49 media/
-rwxrwxr-x 1 www-data www-data 13618 Mar 27 14:49 misc.php*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 modules/
-rwxrwxr-x 1 www-data www-data 9629 Mar 27 14:49 notifications.php*
-rwxrwxr-x 1 www-data www-data 1716 Mar 27 14:49 pda.php*
-rwxrwxr-x 1 www-data www-data 6906 Mar 27 14:49 pmlite.php*
-rwxrwxr-x 1 www-data www-data 6008 Mar 27 14:49 readpmsg.php*
-rwxrwxr-x 1 www-data www-data 15502 Mar 27 14:49 register.php*
-rwxrwxr-x 1 www-data www-data 248 Mar 27 14:49 robots.txt*
-rwxrwxr-x 1 www-data www-data 12306 Mar 27 14:49 search.php*
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 templates_c/
drwxrwxr-x 5 www-data www-data 4096 Mar 27 14:49 themes/
drwxrwxr-x 7 www-data www-data 4096 Mar 27 14:49 uploads/
-rwxrwxr-x 1 www-data www-data 9618 Mar 27 14:49 userinfo.php*
-rwxrwxr-x 1 www-data www-data 6528 Mar 27 14:49 user.php*
-rwxrwxr-x 1 www-data www-data 5991 Mar 27 14:49 viewpmsg.php*
-rwxrwxr-x 1 www-data www-data 2740 Mar 27 14:49 xmlrpc.php*
-rwxrwxr-x 1 www-data www-data 17401 Mar 27 14:49 xoops.css*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 xoops_data/
drwxrwxr-x 4 www-data www-data 4096 Mar 27 14:49 xoops_lib/
Give full permissions to mainfile file which is required to access the xoops cms
root@linuxhelp:/var/www/xoops/xoops/htdocs# chmod 777 mainfile.dist.php
root@linuxhelp:/var/www/xoops/xoops/htdocs# ll
total 340
drwxrwxr-x 17 www-data www-data 4096 Mar 27 14:49 ./
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 ../
-rwxrwxr-x 1 www-data www-data 5908 Mar 27 14:49 admin.php*
-rwxrwxr-x 1 www-data www-data 5781 Mar 27 14:49 ajaxfineupload.php*
-rwxrwxr-x 1 www-data www-data 3110 Mar 27 14:49 backend.php*
-rwxrwxr-x 1 www-data www-data 17858 Mar 27 14:49 banners.php*
-rwxrwxr-x 1 www-data www-data 3027 Mar 27 14:49 browse.php*
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 cache/
drwxrwxr-x 17 www-data www-data 4096 Mar 27 14:49 class/
-rwxrwxr-x 1 www-data www-data 20538 Mar 27 14:49 edituser.php*
-rwxrwxr-x 1 www-data www-data 1150 Mar 27 14:49 favicon.ico*
-rwxrwxr-x 1 www-data www-data 3003 Mar 27 14:49 footer.php*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 Frameworks/
-rwxrwxr-x 1 www-data www-data 4968 Mar 27 14:49 header.php*
-rwxrwxr-x 1 www-data www-data 10109 Mar 27 14:49 imagemanager.php*
-rwxrwxr-x 1 www-data www-data 25385 Mar 27 14:49 image.php*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 images/
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 include/
-rwxrwxr-x 1 www-data www-data 3772 Mar 27 14:49 index.php*
drwxrwxr-x 7 www-data www-data 4096 Mar 27 14:49 install/
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 kernel/
drwxrwxr-x 3 www-data www-data 4096 Mar 27 14:49 language/
-rwxrwxr-x 1 www-data www-data 4068 Mar 27 14:49 lostpass.php*
-rwxrwxrwx 1 www-data www-data 3477 Mar 27 14:49 mainfile.dist.php*
drwxrwxr-x 4 www-data www-data 4096 Mar 27 14:49 media/
-rwxrwxr-x 1 www-data www-data 13618 Mar 27 14:49 misc.php*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 modules/
-rwxrwxr-x 1 www-data www-data 9629 Mar 27 14:49 notifications.php*
-rwxrwxr-x 1 www-data www-data 1716 Mar 27 14:49 pda.php*
-rwxrwxr-x 1 www-data www-data 6906 Mar 27 14:49 pmlite.php*
-rwxrwxr-x 1 www-data www-data 6008 Mar 27 14:49 readpmsg.php*
-rwxrwxr-x 1 www-data www-data 15502 Mar 27 14:49 register.php*
-rwxrwxr-x 1 www-data www-data 248 Mar 27 14:49 robots.txt*
-rwxrwxr-x 1 www-data www-data 12306 Mar 27 14:49 search.php*
drwxrwxr-x 2 www-data www-data 4096 Mar 27 14:49 templates_c/
drwxrwxr-x 5 www-data www-data 4096 Mar 27 14:49 themes/
drwxrwxr-x 7 www-data www-data 4096 Mar 27 14:49 uploads/
-rwxrwxr-x 1 www-data www-data 9618 Mar 27 14:49 userinfo.php*
-rwxrwxr-x 1 www-data www-data 6528 Mar 27 14:49 user.php*
-rwxrwxr-x 1 www-data www-data 5991 Mar 27 14:49 viewpmsg.php*
-rwxrwxr-x 1 www-data www-data 2740 Mar 27 14:49 xmlrpc.php*
-rwxrwxr-x 1 www-data www-data 17401 Mar 27 14:49 xoops.css*
drwxrwxr-x 6 www-data www-data 4096 Mar 27 14:49 xoops_data/
drwxrwxr-x 4 www-data www-data 4096 Mar 27 14:49 xoops_lib/
Create a customised Configuration file for Xoops CMS
root@linuxhelp:/var/www/xoops/xoops/htdocs# vim /etc/apache2/sites-available/xoops.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/xoops/xoops/htdocs/
<directory /var/www/xoops/xoops/htdocs/>
allowoverride all
allow from all
</directory>
</virtualhost>
Disable the default sites.
root@linuxhelp:/var/www/xoops/xoops/htdocs# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the xoops site.
root@linuxhelp:/var/www/xoops/xoops/htdocs# a2ensite xoops.conf
Enabling site xoops.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:/var/www/xoops/xoops/htdocs# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the service of Apache.
root@linuxhelp:/var/www/xoops/xoops/htdocs# systemctl restart apache2
Enter the servername that was configured inside the virtual hosting of xoops.conf
Select the language and click continue.
Check the Installation wizard of Xoops CMS 2.5.10 and click continue.
Check the server configuration and click continue.
Check the path settings of the Xoops CMS ,website location and click continue.
Check the database connection by entering the username and password that had created during the configuration of mariaDB and click continue.
Enter the database name and click continue.
System Configuration settings has been saved and click continue.
Database tables have been created and click continue.
After Enrolling your admin credentials like username,password and email id ,click continue.
To Save your database settings, click Continue.
Configure the site details by setting a site name and click continue.
Select the modules that you would want to install and click continue.
The installation of modules has been finished and click continue.
In the welcome page of Xoops Cms site click continue.
The website of Linuxhelp1 site has opened with the installed modules and themes.
Thus Installation Of Xoops CMs 2.5.10 On Ubuntu 18.10 comes to end.
Comments ( 0 )
No comments available