BitNami Review Board Stack 1.7.7.1-0 ============================ 1. OVERVIEW The BitNami Project was created to help spread the adoption of freely available, high quality, open source web applications. BitNami aims to make it easier than ever to discover, download and install open source software such as document and content management systems, wikis and blogging software. You can learn more about BitNami at http://bitnami.com Review Board is a powerful web-based code review tool that offers developers an easy way to handle code reviews. It scales well from small projects to large companies and offers a variety of tools to take much of the stress and time out of the code review process. You can learn more about Review Board at http://http://www.reviewboard.org The BitNami Review Board Stack is an installer that greatly simplifies the installation of Review Board and runtime dependencies. It includes ready-to-run versions of Apache, MySql, Python and Memcached. It also includes integration with Subversion, Git and Mercurial. Review Board Stack is distributed for free under the Apache 2.0 license. Please see the appendix for the specific licenses of all open source components included. You can learn more about BitNami Stacks at http://bitnami.com/stacks/ BitNami virtual machine images contain a minimal Linux operating system and a fully configured BitNami application stack. Running virtual machine images requires a hypervisor such as VMWare or VirtualBox, so it is recommended for system administrators and advanced users. You can learn more about BitNami Virtual Appliances at http://wiki.bitnami.com BitNami Cloud Hosting simplifies the process of deploying open source applications in the cloud. Which one click, you can launch applications in the Amazon Cloud (with support for other clouds coming in the future.) You can learn more about BitNami Cloud Hosting at http://bitnami.com/cloud 2. FEATURES - Easy to Install BitNami Stacks are built with one goal in mind: to make it as easy as possible to install open source software. Our installers completely automate the process of installing and configuring all of the software included in each Stack, so you can have everything up and running in just a few clicks. - Independent BitNami Stacks are completely self-contained, and therefore do not interfere with any software already installed on your system. For example, you can upgrade your system's MySQL or Apache without fear of 'breaking' your BitNami Stack. - Integrated By the time you click the 'finish' button on the installer, the whole stack will be integrated, configured and ready to go. - Relocatable BitNami Stacks can be installed in any directory. This allows you to have multiple instances of the same stack, without them interfering with each other. 3. COMPONENTS BitNami Review Board Stack ships with the following: - Review Board 1.7.7.1 - Apache 2.4.4 - MySQL 5.5.30 - Python 2.7.4 - Memcached 1.4.13 4. REQUIREMENTS To install BitNami Review Board Stack you will need: - Intel x86 or compatible processor - Minimum of 512 MB RAM - Minimum of 150 MB hard drive space - TCP/IP protocol support - Compatible operating systems: - An x86 or x64 Linux operating system. - An OS X operating system. 5. INSTALLATION The BitNami Review Board Stack is distributed as a binary executable installer. It can be downloaded from: http://bitnami.com/stacks/ The downloaded file will be named something similar to: bitnami-reviewboard-1.7.7.1-0-linux-installer.run on Linux or bitnami-reviewboard-1.7.7.1-0-linux-x64-installer.run on Linux or bitnami-reviewboard-1.7.7.1-0-osx-x86-installer.dmg on OS X x86 On Linux, you will need to give it executable permissions: chmod 755 bitnami-reviewboard-1.7.7.1-0-linux.run To begin the installation process, double-click on that file, and you will be greeted by the 'Welcome' screen. The next screen is the Installation Folder, where you can select where BitNami stack will be installed. If the destination directory does not exist, it will be created as part of the installation. The next screen will prompt you for data necessary to create the initial admin user: Username and password: You will use this information to log-in into the administrative interface. The password you provide here will also be used to protect other parts of the installation. Please see the section named "Usernames and Passwords" later in this document. Once the information has been entered, the installation will proceed to copy the files to the target installation directory and configure the different components. One this process has been completed, you will see the 'Installation Finished' page. You can choose to launch BitNami Review Board Stack at this point. If you do so, your default web browser will open and display the Welcome page for the BitNami Review Board Stack. If you received an error message during installation, please refer to the Troubleshooting section. The rest of this guide assumes that you installed BitNami Review Board Stack in /home/user/reviewboard-1.7.7.1-0 on Linux or /Applications/reviewboard-1.7.7.1-0 on OS X and that you use port 8080 for Apache. 6. STARTING AND STOPPING BITNAMI REVIEW BOARD STACK The BitNami Application Manager is a simple graphical interface included in the stacks that can start and stop the BitNami servers. It is are located in the same installation directory. To start the utility, double click the file named ‘manager-linux’ or 'manager-osx' from your file browser. Alternatively, you can also start and stop the services manually, as explained below. To start/stop/restart application from the command line on Linux and OSX you can use the included ctlscript.sh utility, as shown below: ./ctlscript.sh (start|stop|restart) ./ctlscript.sh (start|stop|restart) mysql ./ctlscript.sh (start|stop|restart) apache start - start the service(s) stop - stop the service(s) restart - restart or start the service(s) That will start Apache service. Once started, you can open your browser and access the following URL on Linux or OS X: http://127.0.0.1:8080/reviewboard/ If you selected an alternate port during installation, for example 18080, the URL will look like: http://127.0.0.1:18080/reviewboard/ If you are accessing the machine remotely, you will need to replace 127.0.0.1 with the appropriate IP address or hostname. 7. DIRECTORY STRUCTURE The installation process will create several subfolders under the main installation directory: manager-platform: Graphical Tool for managing servers apache2/: Apache Web server. memcached/: Memcached server. python/: Python. subversion/: Subversion application folder git/: Git application folder mercurial/: Mercurial application folder mysql/ MySQL application folder apps/reviewboard/: Review Board application folder conf/: Review Board Apache configuration files scripts/: mod_wsgi configuration file rb-sites/: Review Board sites folder 8. DEFAULT USERNAMES AND PASSWORDS The Review Board administrative user and password are the ones you set at installation time. 9. TROUBLESHOOTING You can find more information about this product at: http://wiki.bitnami.com We also encourage you to post your questions and suggestions at: http://answers.bitnami.com We also encourage you to sign up for our newsletter, which we'll use to announce new releases and new stacks. To do so, just register at: http://bitnami.com/newsletter. 9.1 Installer # Installer Payload Error If you get the following error while trying to run the installer from the command line: "Installer payload initialization failed. This is likely due to an incomplete or corrupt downloaded file" The installer binary is not complete, likely because the file was not downloaded correctly. You will need to download the file and repeat the installation process. # Installer execution error on Linux If you get the following error while trying to run the installer: "Cannot open bitnami-reviewboard-1.7.7.1-0-linux.run: No application suitable for automatic installation is available for handling this kind of file." In some operatings systems you can change permissions with right click properties -> permissions -> execution enable. Or from the command line: $ chmod 755 bitnami-reviewboard-1.7.7.1-0-linux.run 9.2 Apache If you find any problem starting Apache, the first place you should check is the Apache error log file: /home/user/reviewboard/apache2/logs/error.log on Linux or /Applications/reviewboard-1.7.7.1-0/apache2/logs/error.log. Most errors are related to not being able to listen to the default port. Make sure there are no other server programs listening at the same port before trying to start Apache. Some programs, such as Skype, may also use port 80. You can find more info at http://wiki.bitnami.com/Components/Apache 9.3 Review Board For any problem related to Review Board, please visit http://http://code.google.com/p/reviewboard/w/list 10. LICENSES Apache Web Server is distributed under the Apache License v2.0, which is located at http://www.apache.org/licenses/LICENSE-2.0 Python is distributed under the Python 2.6 License, which is located at http://www.python.org/download/releases/2.6.5/license/ This product includes software developed by CollabNet (http://www.Collab.Net/). Subversion is distributed under the license located at http://subversion.tigris.org/license-1.html curl is distributed under the Curl License, which is located at http://curl.haxx.se/docs/copyright.html expat is distributed under the MIT License, which is located at http://www.jclark.com/xml/copying.txt gd is distributed under the gd License, which is located at http://www.boutell.com/gd/manual2.0.33.html IMAP is distributed under the University of Washington Free-Fork License, located at http://www.washington.edu/imap/legal.html jpegsrc is distributed under The Independent JPEG Group's JPEG software license, which is located at http://dev.w3.org/cvsweb/Amaya/libjpeg/README?rev=1.2 libiconv is distributed under the Lesser General Public License (LGPL), located at http://www.gnu.org/copyleft/lesser.html zlib and libpng are distributed under zlib License, located at http://www.zlib.net/zlib_license.html libxml2 is distributed under the MIT license, located at http://www.opensource.org/licenses/mit-license.php mod_python is distributed under the Apache license, located at http://www.apache.org/licenses/LICENSE-2.0 neon is distributed under the Lesser General Public License (LGPL), located at http://www.gnu.org/copyleft/lgpl.html SWIG is distributed under the license located at http://www.swig.org/copyright.html Mercurial is distributed under the terms of the GNU Public License, version 2 (GPLv2) which is located at http://www.gnu.org/copyleft/gpl.html Git is distributed under the terms of the GNU Public License, version 2 (GPLv2) which is located at http://www.gnu.org/copyleft/gpl.html Memcached is released under the BSD License, which is located at http://www.opensource.org/licenses/bsd-license.php Freetype is released under The Freetype Project License, that is located at http://freetype.sourceforge.net/FTL.TXT