• 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 in Ubuntu 16.04

{{postValue.id}}

To install ocPortal in Ubuntu 16.04

ocPortal is a free and open souce PHP based CMS. It can be customized easily and contains lots of website features like photo galleries, news, events and social networking. It is so simple to install ocPortal on Ubuntu 16.04, but for installing ocPortal, you need to have LAMP stack installed in your system. After installing the lamp stack, you shall continue the ocPortal installation.

Installing ocPortal

In order to install ocPortal, you need to create a database in MySQL, so enter into your MySQL as root user and configure the database.

root@example:/home/user1# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with   or g.
Your MySQL connection id is 5
Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.
mysql>  create database ocportal 
Query OK, 1 row affected (0.01 sec)
mysql>  create user ' ocportaluser' @' localhost'  identified by ' password'  
Query OK, 0 rows affected (0.09 sec)
mysql>  grant all privileges on ocportal.* to ' ocportaluser' @' localhost'  
Query OK, 0 rows affected (0.02 sec)
mysql>  flush privileges 
Query OK, 0 rows affected (0.00 sec)
mysql>  exit
Bye

Once the database is created and configured, you shall switch over to your browser and download the ocportal package from the following link : http://ocportal.com/site/sites.html. And then, go back to the terminal to create a directory for ocportal. Later, extract the downloaded package to ocportal package as follows.

root@example:/home/user1/Downloads# mkdir ocportal
root@example:/home/user1/Downloads# unzip ocportal_manualextraction_installer-9.0.40.zip -d ocportal
Archive: ocportal_manualextraction_installer-9.0.40.zip
creating: ocportal/adminzone/
inflating: ocportal/adminzone/find_permissions.php
inflating: ocportal/adminzone/index.php
&hellip 
&hellip 
&hellip 
extracting: ocportal/uploads/website_specific/index.html
inflating: ocportal/validateip.php
inflating: ocportal/web.config

Next, move the ocportal directory to /var/www/html/ location by making use of the following command.

root@example:/home/user1/Downloads# mv ocportal /var/www/html/

When it is done, you should change the ownership for the ocportal directory. Make use of the following command for the same purpose.

root@example:/home/user1/Downloads# chown www-data:www-data -R /var/www/html/ocportal

After that you need to make another important configuration. You need to configure the Apache VirtualHost for the ocportal. And for that you need to open the .conf file.

root@example:/home/user1/Downloads# touch /etc/apache2/sites-available/ocportal.conf
root@example:/home/user1/Downloads# touch /etc/apache2/sites-available/ocportal.conf
root@example:/home/user1/Downloads# ln -s /etc/apache2/sites-available/ocportal.conf /etc/apache2/sites-enabled/ocportal.conf
root@example:/home/user1/Downloads# nano /etc/apache2/sites-available/ocportal.conf

Once it is done, you need to make the following configuration in the .conf file.

< VirtualHost *:80> 
ServerAdmin linuxhelpserver@gmail.com
DocumentRoot /var/www/html/ocportal/
ServerName test.linuxhelp1.com
ServerAlias www.test.linuxhelp1.com
< Directory /var/www/html/ocportal/> 
Options FollowSymLinks
AllowOverride All
< /Directory> 
ErrorLog /var/log/apache2/test-error_log
CustomLog /var/log/apache2/test-access_log common
< /VirtualHost> 

Save and exit the file after that.

You need to restart the Apache web server after the configuration. Run the following command for the same purpose.

root@example:/home/user1/Downloads# service apache2 restart

You shall now continue the process via GUI. So, switch to your browser and navigate to http://192.168.7.201/ocportal

Select your language and proceed.

installer

In the next page, you will be asked to accept the license agreement, and doing that will take you to the next page of the installer.

license

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

forum

Enter the database information and configure the general settings. Finally, click on the Install ocPortal button, which triggers the installation.

Admin account password

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

installation log

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

configure

It is also very essential to remove the install.php file from ocportal directory. So, run the following command for the same purpose.

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

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

Login

Once you are inside, you will notice the Setup Wizard. Proceed with the process.

setup

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

status

The welcome page of the unnamed wesite appears here.

welcome

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

Tags:
owen
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is ocPortal ?

A

ocPortal is a content managment system with advanced content, social, interactive and dynamic features.

Q

What are the main features of the ocPortal?

A

ocPortal can be fully customized.
Remove unwanted features easily.
No programming and technical knowledge required.
Multiple Themes Available.

Q

Does MilesWeb offer ocPortal hosting or packages that support ocPortal on your servers?

A

Yes, We do offer ocPortal hosting and it is supported on all our servers located in India, US and UK. You can consider one of our cPanel Shared Hosting package to setup your ocPortal website within few minutes.

Q

What is ocPortal Hosting and its System Requirements?

A

GD2 extension (including PNG and JPEG support), file uploads with at least 5MB (or higher, depending on your daily needs), a mySQL extension, a maximum execution time of at least 30 seconds. A competent web-host geared towards running PHP web applications should be able to provide this.

Q

What is the least memory for PHP?

A

A PHP memory limit of at least 20MB.

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 Luke ?
workbench for debian

I am using workbench in CentOS whereas now I need to use Debian Operating system so could you please help to install and use in Debian?

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.