Differences

This shows you the differences between two versions of the page.

Link to this comparison view

isvipi_on_debian_wheezy_en [2017/09/05 12:18] (current)
Line 1: Line 1:
 +====== IsVipi Open Source Social Networking on Debian Wheezy ======
 +
 +**What'​s IsVipi ?**
 +
 +IsVipi is an open source social networking script founded by Jones Baraza in October 2013. The software was developed with the aim of providing an open source platform for individuals who wish to start their own social networks. IsVipi seeks to replicate some of the major functions of the popular social networks like facebook and twitter.
 +
 +It should however be noted that it will not act as clone of such networks but as an independent platform for revolutionizing the social media.
 +
 +It is also worthwhile noting that IsVipi‚Äôs team of developers is made up of volunteers and web developers who willingly contribute to the development of the script.
 +
 +Therefore, if you believe that you can contribute in any way, please contact us through the various channels provided, including the forum.
 +
 +Notes: I'm working with Jones Baraza in this project. I'm translating to Portuguese and soon it'll be done.
 +
 +Links: ​
 +  * Demo: http://​demo.isvipi.org
 +  * Forum: http://​forum.isvipi.org  ​
 +
 +====== Preparing your system ======
 +
 +I tested this configuration with the follow script executed in my VM:  http://​wiki.douglasqsantos.com.br/​doku.php/​confinicialwheezy_en here do you have many configuration for your Debian Wheezy, ​
 +such as repository, packets and other things that you need to work as well.
 +
 +Now we need to update the repositories
 +<sxh bash>
 +aptitude update ​
 +</​sxh>​
 +
 +The best thing that we need to do here is upgrade our system with the latest packets.
 +<sxh bash>
 +aptitude dist-upgrade -y
 +</​sxh>​
 +
 +====== Dependencies installation ​ ======
 +
 +We need to install apache2, php5 and MySQL server, you can install this packets with the follow command bellow.
 +<sxh bash>
 +aptitude install apache2 php5 php5-mysql php5-curl php5-mcrypt mysql-server mysql-client php5-gd -y
 +</​sxh>​
 +
 +Above do you need to set up a password for root on MySQL, this password isn't the same that root for Linux Box.
 +<sxh bash>
 +wget -c http://​wiki.douglasqsantos.com.br/​Downloads/​cloud/​isvipi-V1.1.0.zip -O /​var/​www/​isvipi-V1.1.0.zip
 +</​sxh>​
 +
 +Now we need decompress our packet, with it we need to access the directory that has our packet
 +<sxh bash>
 +cd /var/www/
 +</​sxh>​
 +
 +Now we can decompress our packet with the follow command
 +<sxh bash>
 +unzip isvipi-V1.1.0.zip ​
 +</​sxh>​
 +
 +Let's rename the isvipi directory
 +<sxh bash>
 +mv isvipi-V1.1.0 isvipi
 +</​sxh>​
 +
 +Let's access the isvipi directory and fix a file
 +<sxh bash>
 +cd isvipi
 +</​sxh>​
 +
 +Here we need to rename htaccess to .htaccess
 +<sxh bash>
 +mv htaccess .htaccess
 +</​sxh>​
 +
 +Now let's change the permissions
 +<sxh bash>
 +chown -R www-data:​www-data /​var/​www/​isvipi && chown www-data:​www-data /var/www/
 +</​sxh>​
 +
 +Now let's change the chmod permissions for our files and directories
 +<sxh bash>
 +find /​var/​www/​isvipi -type f -exec chmod 664 {} \;
 +find /​var/​www/​isvipi -type d -exec chmod 775 {} \;
 +</​sxh>​
 +
 +Now we need to configure the virtual host for isvipi, let use the configuration bellow for it.
 +<sxh apache>
 +vim /​etc/​apache2/​sites-available/​isvipi
 +<​VirtualHost *:80>
 +  ServerAdmin webmaster@localhost
 +  ServerName isvipi.douglasqsantos.com.br
 +  DocumentRoot /​var/​www/​isvipi
 +  <​Directory />
 +    Options FollowSymLinks
 +    AllowOverride All
 +  </​Directory>​
 +  <​Directory /​var/​www/​isvipi>​
 +    Options Indexes FollowSymLinks MultiViews
 +    AllowOverride All
 +    Order allow,deny
 +    allow from all
 +  </​Directory>​
 +
 +  ErrorLog /​var/​log/​apache2/​isvipi-error.log
 +  LogLevel warn
 +  CustomLog /​var/​log/​apache2/​isvipi-access.log combined
 +</​VirtualHost>​
 +</​sxh>​
 +
 +Now we need to enable rewrite apache module
 +<sxh bash>
 +a2enmod rewrite
 +</​sxh>​
 +
 +Now we need to disable the default website for apache2 ​
 +<sxh bash>
 +a2dissite 000-default
 +</​sxh>​
 +
 +Now we need to enable the isivipi website
 +<sxh bash>
 +a2ensite isvipi
 +</​sxh>​
 +
 +Now we can to reboot the apache web server
 +<sxh bash>
 +/​etc/​init.d/​apache2 restart
 +</​sxh>​
 +
 +====== MySQL configuration ======
 +
 +Now we need to configure the MySQL to receive our database for isvipi
 +<sxh sql>
 +mysql -u root -p
 +Enter password: ​
 +Welcome to the MySQL monitor. ​ Commands end with ; or \g.
 +Your MySQL connection id is 43
 +Server version: 5.5.37-0+wheezy1 (Debian)
 +
 +Copyright (c) 2000, 2014, 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 isvipi;
 +Query OK, 1 row affected (0.00 sec)
 +
 +mysql> GRANT ALL PRIVILEGES ON isvipi.* TO isvipi@'​localhost'​ IDENTIFIED BY '​isvipi';​
 +Query OK, 0 rows affected (0.03 sec)
 +
 +mysql> FLUSH PRIVILEGES;
 +Query OK, 0 rows affected (0.00 sec)
 +
 +mysql> QUIT;
 +Bye
 +</​sxh>​
 +
 +====== IsVipi installation ======
 +
 +Now that we configure all pre-requisites we need to install IsVipi.
 +
 +Please access http://​isvipi.douglasqsantos.com.br or http://​server_ip
 +
 +The first page seem with the bellow
 +
 +{{::​install-01.png?​500|}}
 +
 +Here we need to click in Install
 +
 +Here we need to put the Database information that we set up 2 step ago like this
 +  * Database Host: localhost
 +  * Database Username: isvipi
 +  * Database Password: isvipi
 +  * Database Name: isvipi
 +
 +{{::​install-02.png?​500|}}
 +
 +
 +Now we need to click in proceed
 +
 +Now we need to set up the information for the main configuration,​ we can change it after installation.
 +  * Site URL (WITHOUT the front slash "/"​ e.g. http://​isvipi.com):​ http://​isvipi.douglasqsantos.com.br
 +  * Site Title/Name: IsVipi Open Source Social Network Script
 +  * Site E-Mail: douglas.q.santos@gmail.com
 +  * Default Time Zone: Sao_Paulo
 +
 +Now we need to click in Save Settings.
 +
 +{{::​install-03.png?​500|}}
 +
 +Now we need to configure the admin account
 +
 +  * Admin Username: ​ admin
 +  * Admin Email: douglas.q.santos@gmail.com
 +  * Admin Password: admin123
 +  * Repeat Admin Password: admin123
 +
 +{{::​install-04.png?​500|}}
 +
 +Now we need to click in Save Settings.
 +
 +
 +Now if everything is ok, we'll get the follow screen.
 +
 +{{::​install-05.png?​500|}}
 +
 +Here we've the follow links:
 +  * newly installed site: http://​isvipi.douglasqsantos.com.br
 +  * Admin Area: http://​isvipi.douglasqsantos.com.br/​admin/​
 +
 +Now let's teste the links above
 +
 +The first one
 +
 +{{::​install-06.png?​500|}}
 +
 +The second one
 +
 +{{::​install-07.png?​500|}}
 +
 +
 +====== Creating an Account ======
 +
 +Now we'll create a new account for user Douglas Quintiliano dos Santos
 +
 +Then access http://​isvipi.douglasqsantos.com.br or http://​server_ip
 +
 +{{::​new-account-01.png?​500|}}
 +
 +Now click on Register
 +
 +{{::​new-account-02.png?​500|}}
 +
 +If everything is ok, you'll get the screen above
 +
 +If you want to enable this account with admin panel, we can access http://​isvipi.douglasqsantos.com.br/​admin
 +
 +  * User: douglas.q.santos@gmail.com
 +  * Password: admin123..
 +
 +Now we'll get this screen
 +
 +{{::​admin-01.png?​500|}}
 +
 +Here click on Unvalidated accounts.
 +
 +{{::​admin-02.png?​500|}}
 +
 +On screen above we need to click on Validate
 +
 +Now we've our account in active such as below
 +
 +{{::​admin-03.png?​500|}}
 +
 +Now click in log out on top of the right corner.
 +
 +Now in http://​isvipi.douglasqsantos.com.br/​ informe your datas and Click on Sign in.
 +
 +{{::​new-account-03.png?​500|}}
 +
 +If everything is ok, we'll get this screen bellow
 +
 +{{::​new-account-04.png?​500|}}
 +
 +
 +Your first post
 +
 +{{::​new-account-05.png?​500|}}
 +