2. Review Board Building Station Ubuntu14.04

Source: Internet
Author: User

1. Start MySQL and create a database Reviewboard, create access accounts, and update external access rights. 2. Start Apache2sudo/etc/init.d/apache2 Reload Reload the sudo/etc/init.d/apache2 after each configuration file change restart3. Build a stationsudo rb-site install/var/www/reviewboard· Domain = 192.168.1.116 Root Path =/· Database Type = MySQL Database Name = Reviewboard Database Server = localhost Database username = Reviewboard Database Password = Reviewboard Admin 1 · e-Mail Address = xxDomain can not be xxx.xxx.com, this is the need to modify the router related things, this if you really want to achieve, it can only own Google. The simple way is to set the IP address directly. If this is written in the local host, there will be problems, the browser can be used by the local error access, on other local area network computers can not access. 4. Modify the directory permissions for the corresponding filesudo chown-r www-data/var/www/reviewboard/htdocs/media/uploaded sudo chown-r www-data/var/www/reviewboard/data cd/etc/apache2/sites-available sudo cp/var/www/reviewboard/conf/apache-wsgi.conf reviewboard.conf CD. /sites-enabled sudo ln-s. /sites-available/reviewboard.conf. sudo a2ensite reviewboard sudo chown-r www-data "/var/www/reviewboard/htdocs/media/ext" sudo chown-r www-data "/var/www/ Reviewboard/htdocs/static/ext "Sudo/etc/init.d/apache2 Reload sudo/etc/init.d/apache2 restart5. For apapche2 files, you should knowApache2 related files are under the/etc/apache2 directory. Where: Apache2.conf is Apache2 in the profile diagram, which is a soft link to the Sites-available directory is a configuration file about the Web page, and the sites-enabled directory is the parsed file, Here the link file will be actual to show the parsed file, here if you follow the above operation, there will be two. conf files, we want to delete the 000-default.conf link file, and restart Apache.sudo rm sites-enabled/000-default.conf sudo/etc/init.d/apache2 Reload sudo/etc/init.d/apache2 Restart6. Create a problem, delete the file re-createDelete the Reviewboard site file under/var/www: Delete the reviewboard.conf file under Configuration file/etc/apache2/sites-enabled and sites-available under Reviewboard. conf file Delete ReviewboardDatabase: All error logs are familiar with/var/log/apache2/error.log Django can turn on his debug mode, see the error, most of the errors are due to the installation of the wrong package. * At this point the server installation is complete, the browser accesses the servers address, the default administrator admin:admin

2. Review Board Building Station Ubuntu14.04

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.