• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How To Install Ocportal on ubuntu 17.04

{{postValue.id}}

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
{{postCtrl.cmtErrMsg}}

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/

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 Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

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.