Difference between revisions of "Phpizabi"

From Alpine Linux
Jump to: navigation, search
(Category:PHP)
m (Installing and configuring phpizabi)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== What is phpizabi? ==
+
[http://www.phpizabi.org/ PHPizabi] is one of the most powerful social networking platforms on the planet. With literally thousands of websites powered by PHPizabi including everything from simple friends sites to the most complex networking super sites out there. Easy to install, use, and raising the bar on what it is to provide a reliable, fast, social networking package to raise your business to the next level.
 
 
PHPizabi is one of the most powerful social networking platforms on the planet. With literally thousands of websites powered by PHPizabi including everything from simple friends sites to the most complex networking super sites out there. Easy to install, use, and raising the bar on what it is to provide a reliable, fast, social networking package to raise your business to the next level.
 
 
 
== Set up phpizabi on Alpine Linux ==
 
 
 
This document will be a quick c/p guide to setup phpizabi on Alpine linux. What we will setup is the following:
 
 
 
* Lighttpd with PHP
 
* Mysql
 
* phpizabi
 
  
 
== Install lighttpd, PHP and MySql ==
 
== Install lighttpd, PHP and MySql ==
Line 34: Line 24:
 
== Installing and configuring phpizabi ==
 
== Installing and configuring phpizabi ==
  
'''Install phpizabi'''
+
Create a directory named {{Path|webapps}}
  
Make webapps folder
+
{{Cmd|mkdir -p /usr/share/webapps/}}
  
{{Cmd|mkdir /usr/share/webapps/ -p}}
+
Download the latest source code archive
 
 
Download  
 
  
 
{{Cmd|cd /usr/share/webapps/
 
{{Cmd|cd /usr/share/webapps/
 
wget http://www.phpizabi.net/actual_package/PHPizabi_0.848b_C1_HFP1.zip}}
 
wget http://www.phpizabi.net/actual_package/PHPizabi_0.848b_C1_HFP1.zip}}
  
Unpack and delete tar file
+
Unpack the archive and delete it afterwards
  
 
{{Cmd|unzip PHPizabi_0.848b_C1_HFP1.zip
 
{{Cmd|unzip PHPizabi_0.848b_C1_HFP1.zip
 
rm PHPizabi_0.848b_C1_HFP1.zip}}
 
rm PHPizabi_0.848b_C1_HFP1.zip}}
  
Change Folder
+
Change folder
  
 
{{Cmd|mv PHPizabi_0.848b_C1\ HFP1/ phpizabi
 
{{Cmd|mv PHPizabi_0.848b_C1\ HFP1/ phpizabi
Line 56: Line 44:
 
rm -R phpizabi/PHPizabi\ 0.848b\ C1}}
 
rm -R phpizabi/PHPizabi\ 0.848b\ C1}}
  
Change Folder Persmissions
+
Change the folder persmissions
  
{{Cmd|chmod -R 777 /usr/share/webapps/phpizabi/}}
+
{{Cmd|chown -R lighttpd /usr/share/webapps/}}
  
Make Symlink to the phpizabi folder
+
Create a symlink to the {{Path|phpizabi}} folder
  
 
{{Cmd|ln -s /usr/share/webapps/phpizabi/ /var/www/localhost/htdocs/phpizabi}}
 
{{Cmd|ln -s /usr/share/webapps/phpizabi/ /var/www/localhost/htdocs/phpizabi}}
  
 
== Configuring phpizabi ==
 
== Configuring phpizabi ==
 
 
Browse to: http://WEBSERVER_IP_ADDRESS/phpizabi and Install phpizabi completing the information as appropriate from the web browser.
 
Browse to: http://WEBSERVER_IP_ADDRESS/phpizabi and Install phpizabi completing the information as appropriate from the web browser.
  
Line 111: Line 98:
 
Review the messages above before visiting your new site.
 
Review the messages above before visiting your new site.
 
You have '''phpizabi''' social networking platform installed, to access go to http://WEBSERVER_IP_ADDRESS/phpizabi and enjoy!
 
You have '''phpizabi''' social networking platform installed, to access go to http://WEBSERVER_IP_ADDRESS/phpizabi and enjoy!
 
  
 
[[Category:PHP]]
 
[[Category:PHP]]
 +
[[Category:SQL]]

Latest revision as of 11:36, 22 January 2013

PHPizabi is one of the most powerful social networking platforms on the planet. With literally thousands of websites powered by PHPizabi including everything from simple friends sites to the most complex networking super sites out there. Easy to install, use, and raising the bar on what it is to provide a reliable, fast, social networking package to raise your business to the next level.

Install lighttpd, PHP and MySql

For installing the additional packages first activate community packages:

vi /etc/apk/repositories

Uncomment the following:

http://pkg.example.com/alpine/v3.11/community

Update the packagelist:

apk update

Install the additional packages:

apk add lighttpd php7-common php7-iconv php7-json php7-gd php7-curl php7-xml php7-mysqli php7-imap php7-cgi fcgi php7-pdo php7-pdo_mysql php7-soap php7-xmlrpc php7-posix php7-mcrypt php7-gettext php7-ldap php7-ctype php7-dom

Configure Lighttpd

Edit lighttpd.conf

vi /etc/lighttpd/lighttpd.conf

Uncomment line:

include "mod_fastcgi.conf"


Edit mod_fastcgi.conf

vi /etc/lighttpd/mod_fastcgi.conf

Edit the section:

/usr/bin/php-cgi

To:

/usr/bin/php-cgi7

Start lighttpd service and add to needed runlevel

rc-service lighttpd start && rc-update add lighttpd default

Install extra packages:

apk add mysql mysql-client php-mysql php-mysqli php-pdo_mysql

Configuring MySql

/usr/bin/mysql_install_db --user=mysql /etc/init.d/mysql start && rc-update add mysql default /usr/bin/mysqladmin -u root password 'password'

Create the phpizabi database

mysql -u root -p

CREATE DATABASE phpizabi; GRANT ALL PRIVILEGES ON phpizabi.* TO "root"; FLUSH PRIVILEGES; EXIT

Installing and configuring phpizabi

Create a directory named webapps

mkdir -p /usr/share/webapps/

Download the latest source code archive

cd /usr/share/webapps/ wget http://www.phpizabi.net/actual_package/PHPizabi_0.848b_C1_HFP1.zip

Unpack the archive and delete it afterwards

unzip PHPizabi_0.848b_C1_HFP1.zip rm PHPizabi_0.848b_C1_HFP1.zip

Change folder

mv PHPizabi_0.848b_C1\ HFP1/ phpizabi mv phpizabi/PHPizabi\ 0.848b\ C1/* phpizabi/ rm -R phpizabi/PHPizabi\ 0.848b\ C1

Change the folder persmissions

chown -R lighttpd /usr/share/webapps/

Create a symlink to the phpizabi folder

ln -s /usr/share/webapps/phpizabi/ /var/www/localhost/htdocs/phpizabi

Configuring phpizabi

Browse to: http://WEBSERVER_IP_ADDRESS/phpizabi and Install phpizabi completing the information as appropriate from the web browser.

phpizabi Installation steps:

Welcome!

Review License Agreement

  • Please review the license agreement before you install the software.
I have read and I agree to the PHPizabi end user license agreement
  • System Integrity Check
  • Database Information
  • Set up database

Please fill in the form below

  • Database Information
  • Please fill in the form below
MySQL Database Information
Tables prefix: dontchange
Database Username: root
Database Password: password
Hostname: localhost
Database name: phpizabi
Attempt to create the database if it doesn't exist
  • Database Structure Creation

This step will create your database structure. Please stand by while in the creation process. Continue

  • Admin Account Creation
Please fill in the form below to create your administrative account
Administrator information
Username:
Email Address:
Password:

Submit, Continue, Finish.

Review the messages above before visiting your new site. You have phpizabi social networking platform installed, to access go to http://WEBSERVER_IP_ADDRESS/phpizabi and enjoy!