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
aptitude update
The best thing that we need to do here is upgrade our system with the latest packets.
aptitude dist-upgrade -y
Dependencies installation
We need to install apache2, php5 and MySQL server, you can install this packets with the follow command bellow.
aptitude install apache2 php5 php5-mysql php5-curl php5-mcrypt mysql-server mysql-client php5-gd -y
Above do you need to set up a password for root on MySQL, this password isn't the same that root for Linux Box.
wget -c http://wiki.douglasqsantos.com.br/Downloads/cloud/isvipi-V1.1.0.zip -O /var/www/isvipi-V1.1.0.zip
Now we need decompress our packet, with it we need to access the directory that has our packet
cd /var/www/
Now we can decompress our packet with the follow command
unzip isvipi-V1.1.0.zip
Let's rename the isvipi directory
mv isvipi-V1.1.0 isvipi
Let's access the isvipi directory and fix a file
cd isvipi
Here we need to rename htaccess to .htaccess
mv htaccess .htaccess
Now let's change the permissions
chown -R www-data:www-data /var/www/isvipi && chown www-data:www-data /var/www/
Now let's change the chmod permissions for our files and directories
find /var/www/isvipi -type f -exec chmod 664 {} \; find /var/www/isvipi -type d -exec chmod 775 {} \;
Now we need to configure the virtual host for isvipi, let use the configuration bellow for it.
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>
Now we need to enable rewrite apache module
a2enmod rewrite
Now we need to disable the default website for apache2
a2dissite 000-default
Now we need to enable the isivipi website
a2ensite isvipi
Now we can to reboot the apache web server
/etc/init.d/apache2 restart
MySQL configuration
Now we need to configure the MySQL to receive our database for isvipi
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
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
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
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.
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
Now we need to click in Save Settings.
Now if everything is ok, we'll get the follow screen.
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
The second one
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
Now click on Register
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
Here click on Unvalidated accounts.
On screen above we need to click on Validate
Now we've our account in active such as below
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.
If everything is ok, we'll get this screen bellow
Your first post