• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How To Install Ocportal on ubuntu 17.04

2232

To Install ocPortal on Ubuntu 17.04

ocPortal is a free and open source content management system (CMS) built using PHP and it uses a MySQL database to store the data. With ocPortal, you can customize your online store, create an interactive website and incorporate business. It can be easily customized and it is packed with a lot of website features like photo galleries, news, events and social networking. It is really so simple to install ocPortal and in this article, you will learn about the method to install ocPortal on Ubuntu 17.04.


Pre-requirements
Install LAMP (apache, php5.6, mariadb-server)
In MariaDB (create database, user and give privilages to user)

For PHP installation
1. add-apt-repository ppa:ondrej/php
2. apt-get update

modules (php5.6 php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-gd php5.6-imap php5.6-ldap php5.6-odbc php-pear php5.6-xmlrpc php-xml-parser)


Installing ocPortal

Before you begin the process, make sure you download the latest and stable ocportal installation package from the following link : http://ocportal.com/site/sites.html.

Once the file is downloaded, you should enter into your downloads directory by making use of the following command.

root@linuxhelp:~# cd /home/user/Downloads/


And in that directory, make use of the following command to list the files. You will see the downloaded zip file in it.

root@linuxhelp:~/Downloads# ls
ocportal_manualextraction_installer-9.0.41.zip

And from there, you need to extract the downloaded package by making use of the following command.

root@linuxhelp:~/Downloads# unzip ocportal_manualextraction_installer-9.0.41.zip -d ocportal
Archive: ocportal_manualextraction_installer-9.0.41.zip
creating: ocportal/adminzone/
inflating: ocportal/adminzone/find_permissions.php 
inflating: ocportal/adminzone/index.php 
inflating: ocportal/adminzone/load_template.php 
inflating: ocportal/adminzone/logowizard.php 
inflating: ocportal/adminzone/menu_management.php 
creating: ocportal/adminzone/pages/
.
.
.
extracting: ocportal/uploads/watermarks/index.html 
creating: ocportal/uploads/website_specific/
extracting: ocportal/uploads/website_specific/index.html 
inflating: ocportal/validateip.php 
inflating: ocportal/web.config  


And then, you should move the extracted package into the html location as follows.

root@linuxhelp:~/Downloads# mv ocportal /var/www/html/


And from there, you need to change ownership of the ocportal directory in html location

root@linuxhelp:~/Downloads# chown www-data:www-data -R /var/www/html/ocportal


You should also create a new .conf file for VirtualHosting, so make use of the following command for the same purpose.

root@linuxhelp:~/Downloads# vim /etc/apache2/sites-available/ocportal.conf 

And in that file, you need to add the following lines.

< VirtualHost *:80> 
ServerAdmin admin@linuxhelp.com
DocumentRoot /var/www/html/ocportal/
ServerName linuxhelp.com
ServerAlias www.linuxhelp.com
< Directory /var/www/html/ocportal/> 
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
ErrorLog /var/log/apache2/linuxhelp.com-error_log
CustomLog /var/log/apache2/linuxhelp.com-access_log common
< /VirtualHost> 

After that, you need to give your < machineip> and domain name in hosts file. Run the following command for the same purpose.

root@linuxhelp:~/Downloads# vim /etc/hosts Add the line in the host file. 192.168.7.237 linuxhelp.com


Later, enable the newly created .conf file as follows.

root@linuxhelp:~/Downloads# a2ensite ocportal.conf

Enabling site ocportal.
To activate the new configuration, you need to run:
systemctl reload apache2

After that, you need to restart the Apache service as follows.

root@linuxhelp:~/Downloads# systemctl restart apache2


Now let us proceed with the process via GUI. Open your browser and give < your domain> as URL. The installer of ocPortal appears. In that, choose language and click Proceed.
ocPortal

In the next page, you should click on I agree to this legally binding agreement.
Common

In the next page, you need to select the forum software. It is recommended to use ocPortal' s own forum.

OcMyBB

In the next page you should configure the general settings and ocPortal settings. Finally, click on the Install ocPortal button, which triggers the installation.

ocPortal Installer

Ocportal


Oc

The install log appears now. You will be automatically proceeded to next step.
Portal

Installation is now complete, you shall now configure the ocPortal by clicking on the option given at the bottom of the installer.

Installer

Now, you should go to terminal and remove install.php by running the following command.

root@linuxhelp:/var/www/html/ocportal# rm -rf install.php

Now, you can log into your ocPortal. Enter your login credentials and login.

Login

The setup wizzard appears, click on the Proceed button.

Setup Wizard

The setup wizard has been completed. You can manage and navigate to your pages. Let us go to the Admin Zone.

Step


The Admin page now appears on your screen.
Status

With this, the installation of ocPortal on Ubuntu 17.04 comes to an end.

Tags:
isaac
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What are the Pre-requirements of Ocportal on Ubuntu?

A

Install LAMP (Apache, php5.6, mariadb-server)
In MariaDB (create database, user and give privileges to a user)

Q

Is ocProducts available to perform some custom work?

A

Depending on availability, and budget, yes. Contact us and we will provide guidance, and likely either put you in touch with a local developer or work towards providing a quote for ocProduct

Q

How to extract the downloaded package?

A

Use of the following command:
# unzip ocportal_manualextraction_installer-9.0.41.zip -d ocportal

Q

What is Ocportal?

A

ocPortal is a free and open source content management system (CMS) built using PHP and it uses a MySQL database to store the data. With ocPortal, you can customize your online store, create an interactive website and incorporate the business. It can be easily customized and it is packed with a lot of website features like photo galleries, news, events, and social networking.

Q

How to move the extracted package into the html location?

A

Use the following command:
# mv ocportal /var/www/html/

Related Tutorials in How To Install Ocportal on ubuntu 17.04

Related Tutorials in How To Install Ocportal on ubuntu 17.04

How to install Meld tool in Ubuntu
How to install Meld tool in Ubuntu
Feb 25, 2017
How to install Dconf-Editor on Ubuntu 18.04
How to install Dconf-Editor on Ubuntu 18.04
Jul 14, 2018
How to install and update OpenSSL on Ubuntu 16.04
How to install and update OpenSSL on Ubuntu 16.04
Mar 9, 2017
How to install GLib 2.0 on Ubuntu 17.04
How to install GLib 2.0 on Ubuntu 17.04
May 22, 2017
How to Install Android Emulator on Ubuntu 20.4.1
How to Install Android Emulator on Ubuntu 20.4.1
Jul 13, 2021
How To Install AnyDesk on Ubuntu 16.04
How To Install AnyDesk on Ubuntu 16.04
Apr 4, 2018
How to install Genymotion 2.12.1 on Ubuntu 18.04
How to install Genymotion 2.12.1 on Ubuntu 18.04
Jul 9, 2018
How to install Timeshift 18.4 on Ubuntu 18.04
How to install Timeshift 18.4 on Ubuntu 18.04
Jul 6, 2018

Related Forums in How To Install Ocportal on ubuntu 17.04

Related Forums in How To Install Ocportal on ubuntu 17.04

Ubuntu
matthew class=
Failed to enable unit: Refusing to operate on linked unit file sshd.service
Apr 15, 2019
Ubuntu
mason class=
Passwd: You may not view or modify password information for root On Ubuntu 19.04
May 27, 2019
Ubuntu
isaac class=
/etc/apt/sources.list Permission denied
May 18, 2017
Ubuntu
yousuf class=
lsb_release command not working : Debian
Jan 18, 2018
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Ubuntu
mason class=
"E: Package 'php-mcrypt' has no installation candidate" error on Ubuntu 20.4.1
Mar 15, 2021
NFS
luke class=
clnt_create: RPC: Program not registered
Apr 25, 2017
Apache
isaac class=
How to disable apache welcome page on Ubuntu
Dec 15, 2018

Related News in How To Install Ocportal on ubuntu 17.04

Related News in How To Install Ocportal on ubuntu 17.04

How To Install Mixxx on Ubuntu 16.04
How To Install Mixxx on Ubuntu 16.04
Oct 11, 2017
Ubuntu 17.04 released with greater expectations
Ubuntu 17.04 released with greater expectations
Apr 15, 2017
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Mar 1, 2017
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Sep 2, 2017
Ubuntu Unity is no more: One Linux dream has been axed
Ubuntu Unity is no more: One Linux dream has been axed
Apr 7, 2017
What’s next for Ubuntu Linux Desktop?
What’s next for Ubuntu Linux Desktop?
Apr 11, 2017
Say Hi to Ubuntu's new mascot
Say Hi to Ubuntu's new mascot
Mar 22, 2019
KDE Connect App was removed from Google Play Store and brought back in 24 hours
KDE Connect App was removed from Google Play Store and brought back in 24 hours
Mar 22, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.