Ubuntu Installation WiFiDog Installation manual

Source: Internet
Author: User
Tags auth pear php define svn postgres database

First, ready to open the terminal before installation (with ordinary users into the terminal, do not use super users).

sudo apt-get update  

Second, install database Server

sudo apt-get install postgresql

Third, install the required library files

sudo apt-get install php5-cgi  sudo apt-get install php5-mhash php5-pgsql php-pear php5-xmlrpc php5-curl php5-mcrypt php5-dev  sudo apt-get install language-pack-en-base sudo apt-get install subversion sudo pear install XML_RPC cd /tmp  wget  http://ovh.dl.sourceforge.net/sourceforge/phlickr/Phlickr-0.2.5.tgz sudo pear install Phlickr-0.2.5.tgz  rm Phlickr-0.2.5.tgz  

Iv. Install Auth Server to obtain the authentication server source code (if already has the source code, can not obtain, directly the source is stacked into the/var/www directory).

svn checkout https://dev.wifidog.org/svn/trunk/wifidog-auth sudo mv wifidog-auth/ /var/www/

Modifying a configuration file

 sudo vi /etc/apache2/sites-available/default   将第4行做如下改变  DocumentRoot /var/www/ 改变为 DocumentRoot /var/www/wifidog-auth/wifidog   重启apache2   sudo /etc/init.d/apache2 restart   需要修改语言支持,以便网页能够正常显示  sudo vi /var/www/wifidog-auth/wifidog/config.php define(‘DEFAULT_LANG‘, ‘fr_CA‘); 改变为define(‘DEFAULT_LANG‘, ‘en_US‘);

V. Configuring AUTH Server
Open the browser and enter http://ipaddress:port/install.php in the address bar (for example http://192.168.1.11:8909/ install.php, the default port number is 80, if you do not modify the port number, you can enter http://localhost/install.php in this machine, you can see the installation process.
After clicking Next, you will be asked for the password in the/tmp/dog_cookie.txt file, the user name and password are entered in the Dog_cookie.txt file content. Every step of the way, you may need to do the page requirements through the terminal to proceed to the next step until the installation is complete.
1, enter the first page, you need to do the following action in the Postgres database to create a user

sudo su - postgres  createuser wifidog --pwprompt  

Require password

wifidogtest  

Create a database that belongs to this new user WiFiDog

2, go to the second page, need to do the following action
Click Next will be an error, and then there will be prompted, the hint may be required to access some files, directly copy the prompt to the terminal to execute. The terminal needs to exit the Postgres user first.
3, into the third page may have some packages are not installed, you can click on the page installation, if the prompt installation fails, then you need to manually download the installation package, the download of the installation package into the/var/www/wifidog-auth/wifidog/lib directory, and decompression.
4, enter the fourth page, fill out the form, according to the previously created database information to fill in.
Then the next steps are the default, and until the last step, you need to fill in the Administrator user name, password, and mailbox of the login WiFiDog. The next WiFiDog message indicates that the installation is complete.

This article by http://www.wifidog.pro/2015/06/04/ubuntu%E5%AE%89%E8%A3%85wifidog.html compilation, reprint please indicate the source

Ubuntu Installation WiFiDog Installation manual

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.