• 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 CentOS 7

{{postValue.id}}

To install ocPortal on CentOS 7

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. For installation ocPortal, you need to have LAMP stack installed in your system. This tutorial explains the installation of ocPortal on CentOS 7.

Installation procedure

To proceed with the installation procedure, check whether the target system is running a MySQL service. Start the ocPortal installation by configuring the database for ocPortal by MySQL.

[root@test Desktop]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with   or g.
Your MariaDB connection id is 2
Server version: 5.5.56-MariaDB MariaDB Server
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 ocportal 
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]>  GRANT ALL ON ocportal.* to ocportaluser@localhost identified by ' password'  
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>  exit
Bye

Next download the installation package from the following link http://ocportal.com/site/sites.htm .

Create the directory in HTML location with the required domain name.

[root@test Desktop]# mkdir /var/www/html/test.linuxhelp1.com

Move the downloaded zip file to the newly created directory in HTML location.

[root@test Downloads]# mv ocportal_manualextraction_installer-9.0.39.zip /var/www/html/test.linuxhelp1.com/

Now extract the downloaded package by running the unzip command.

[root@test Downloads]# cd /var/www/html/test.linuxhelp1.com/
[root@test test.linuxhelp1.com]# unzip ocportal_manualextraction_installer-9.0.39.zip
Archive:  ocportal_manualextraction_installer-9.0.39.zip
   creating: adminzone/
  inflating: adminzone/find_permissions.php  
  inflating: adminzone/index.php     
  inflating: adminzone/load_template.php  
&hellip 
&hellip 
&hellip 
   creating: uploads/website_specific/
 extracting: uploads/website_specific/index.html  
  inflating: validateip.php          
  inflating: web.config    

Change the ownership for the test.linuxhelp1.com directory.

[root@test html]# chown -R apache:apache /var/www/html/test.linuxhelp1.com

Open and edit the Apache configuration file using vim editor. Now add the following virtual host configuration content to the file. Save and exit the file.

[root@test html]# vim /etc/httpd/conf/httpd.conf
< VirtualHost *:80> 
ServerAdmin linuxhelpserver@gmail.com
DocumentRoot /var/www/html/test.linuxhelp1.com
ServerName test.linuxhelp1.com
ErrorLog logs/test.linuxhelp1.com-error_log
CustomLog logs/test.linuxhelp1.com-access_log common
< /VirtualHost> 

Change the serveradmin, document root and server name options based on your configuration. Save the file and exit

Now restart the Apache web server by running the following command.

[root@test html]# systemctl restart httpd

Now open the web browser and navigate to http://192.168.7.203/install.php. The ocPortal installer appears on the screen.

ocPortal installer

The next window contains the license agreement. Accept the license agreement.
license agreement

Choose your forum software and click continue to next window.
forum software

Configure the administrative account login and press install option.
account login

The ocPortal installation log appears on the screen.
installation log

The installation is now complete. Remove the install.php file from the installation directory by running the following command.

[root@test test.linuxhelp1.com]# rm -rf install.php

Now select the Configure my ocPortal first option.
configuration

The ocPortal Admin zone login page comes to the screen and click proceed to continue with the installation wizard.
admin zone login

Setup the admin credentials for admin zone.
setup wizard

The installation wizard setup is completed.
setup completed

The newly created website is now displayed on the screen.
new website

This Concludes the installation procedure of ocPortal on CentOS 7.

Tags:
symonds
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

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

Q

How to make an entry to the host file?

A

Follow the steps as below, # /etc/hosts

Q

How to allow .htacess file?

A

Please add a line inot on virtual host of certain domain, "AllowOverride all"

Q

I want to install ocportal on ubuntu?

A

follow this link,https://www.linuxhelp.com/how-to-install-ocportal-on-ubuntu-17-04/

Q

Any alternatives available for acPortal?

A

There are alternatives for Albert,


Tools like Synapse, CerebroApp, GNOME Do.

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 Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

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.