Você está na página 1de 5

BitNami Djangotac Stac 1.3.1-3 ================================ 1.

OVERVIEW The BitNami Project was created to help spread the adoption of freely available, high quality, open source web applications. BitNami aims to ma e it easier than ever to discover, download and install open source software such as document and content management systems, wi is and blogging software. You can learn more about BitNami at http://bitnami.org Python is a dynamic object-oriented programming language that can be used for^M many inds of software development. It offers strong support for integration^M with other languages and tools, comes with extensive standard libraries, and^M can be learned in a few days. Many Python programmers report substantial^M productivity gains and feel the language encourages the development of higher^M quality, more maintainable code. You can learn more about Python at http://www.python.org Django is a high-level Python Web framewor that encourages rapid development^M and clean, pragmatic design. You can learn more about Django at http://www.djangoproject.com The BitNami DjangoStac is an installer that greatly simplifies the installation of Django and its runtime dependencies. It includes ready-to-run versions of Python, Django, MySQL and Apache. DjangoStac 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 Stac s at http://bitnami.org/stac s/ 2. FEATURES - Easy to Install

- Independent BitNami Stac s 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 'brea ing' your BitNami Stac . - Integrated

- Relocatable BitNami Stac s can be installed in any directory. This allows you to have multiple instances of the same stac , without them interfering with each other.

By the time you clic the 'finish' button on the installer, the whole stac will be integrated, configured and ready to go.

BitNami Stac s are built with one goal in possible to install open source software. the process of installing and configuring each Stac , so you can have everything up

mind: to ma e it as easy as Our installers completely automate all of the software included in and running in just a few clic s.

3. COMPONENTS BitNami DjangoStac ships with the following: Django 1.3.1 Python 2.6.2 SQLite 3070603 MySQL 5.5.16 Apache 2.2.22 PostgreSQL 9.1.1-1 Boto AWS API 2.2.1

4. REQUIREMENTS

2008.

Intel x86 or compatible processor Minimum of 512 MB RAM Minimum of 150 MB hard drive space TCP/IP protocol support Compatible operantig systems: - An x86 or x64 Linux operating system. - A windows operating system such as Windows 2003, Windows XP, Vista, 7 or - An OS X operating system.

5. INSTALLATION The BitNami DjangoStac is distributed as a binary executable installer. It can be downloaded from: http://www.bitnami.org/stac s/ The downloaded file will be named something similar to:

On Linux, you will need to give it executable permissions: chmod 755 bitnami-djangostac -1.3.1-3-linux.bin On OS X, you will need to extract the installer from the zip (this may have been done automatically by Safari).

If you receive an error message during installation, please refer to the Troubleshooting section. 5. STARTING AND STOPPING BITNAMI DJANGOSTACK The BitNami Application Manager is a simple graphical interface included in the stac s that can start and stop the BitNami servers. It is are located in the same installation directory.

Double clic

the file and follow the on-screen instructions.

bitnami-djangostac bitnami-djangostac bitnami-djangostac bitnami-djangostac

-1.3.1-3-linux-installer.bin on Linux or -1.3.1-3-linux-x64-installer.bin on Linux x64 or -1.3.1-3-windows-installer.exe on Windows or -1.3.1-3-osx-x86-installer.app.zip on OS X x86

To install BitNami DjangoStac

you will need:

To start the utility, double clic the file named manager-linux 'manager-windows' or 'manager-osx' from your file browser.

Alternatively, you can also start and stop the services manually, as explained b elow. To start/stop/restart application on Linux or OS X you can use the ctlscript.sh utility: ./ctlscript.sh ./ctlscript.sh ./ctlscript.sh ./ctlscript.sh start stop restart (start|stop|restart) (start|stop|restart) mysql (start|stop|restart) postgresql (start|stop|restart) apache

- start the service(s) - stop the service(s) - restart or start the service(s)

You can start and stop BitNami DjangoStac on Windows using the shortcuts create d in the Start Menu, under Programs -> BitNami -> BitNami Service. 6. DIRECTORY STRUCTURE The installation process will create several subfolders under the main installation directory: mysql/: MySQL Database. postgresql/: PostgreSQL Database. python/: Python. license/: License files. scripts/: Simple scripts necessary for the stac . sqlite/: SQLite files. apache2/: Apache2 files. apps/django: Django Framewor 8. TROUBLESHOOTING This version of the BitNami DjangoStac is a preview version, and as u can find more information about this product at: http://bitnami.org/support We also encourage you to sign up for our newsletter, which we'll use to announce new releases and new stac s. To do so, just register at: http://www.bitnami.org/catalog/newsletter. 8.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 li ely due to an incomplete or corrupt downloaded file" The installer binary is not complete, li ely because the file was not downloaded correctly. You will need to download the file and repeat the installation process.

8.2 MySQL The following are some common problems: # Access denied when trying to connect to MySQL. If you get an Access Denied message while trying to connect to MySQL, ma e sure you are using the correct username and password. # "Can't connect to server" message. Ma e sure that the MySQL daemon is up and running. Remember also that if during installation you selected a different listening port for MySQL, you may need to pass that as an extra command line option. For help in troubleshooting MySQL errors, you may want to reference the "Problems and Common Errors" section of the MySQL manual, which you will find at http://dev.mysql.com/doc/ 8.3 PostgreSQL If you encounter any problems starting PostgreSQL, the first place to loo in is PostgreSQL documentation, which you will find at http://www.postgresql.org/docs/ # "Can't connect to server" message. Ma e sure that the PostgreSQL daemon is up and running. Remember also that if during installation you selected a different listening port for PostgreSQL, you may need to pass that as an extra command line option. 8.4 Apache If you find any problem starting Apache, the first place you should chec is the Apache error log file: /home/user/drupal/apache2/logs/error.log on Linux and OS X Most errors are related to not being able to listen to the default port. Ma e sure there are no other server programs listening at the same port before trying to start Apache. Some programs, such as S ype, may also use port 80. For issues not covered in this Quic Start guide, please refer to the Apache documentation, which is located at http://httpd.apache.org/docs/ 8.5 Python Certain Python-based programs (such as the win32all installer and Windows installers generated by the distutils pac age) loo for Python information in the registry. When you install Djangostac , it automatically registers its Python interpreter in the registry but those entries may get overwritten by other programs. If you would li e to re-register or remove BiNami Python from the Windows registry, you can do so with the shortcuts that are in the "Tools" folder inside "Bitnami Djangostac " on the Windows start menu. Note that there can be only one registered interpreter for each major Python release (e.g. 2.0, 2.1, 2,2 etc). If you try to register BitNami Python and there is another Python registered, you will have

to remove it manually first to ensure you don't overwrite it accidentally. You can do so followoing the instructions below. If you would li e to register or unregister your own version of Python, you can do it by calling the scripts inside the ./python/scripts folder li e this: /path/to/new/python.exe /path/to/djangostac /python/scripts/registerpython.py /path/to/new/python.exe /path/to/djangostac /python/scripts/unregisterpython.py 9. LICENSES MySQL is distributed under the GNU General Public License v2, which is located at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html PostgreSQL is distributed under the BSD License, which is located at http://www.freebsd.org/copyright/license.html Python is released under the Python License, wich is located at http://www.python.org/download/releases/2.4.2/license/ Django is released under the BSD license, which is located http://code.djangoproject.com/browser/django/trun /LICENSE Apache Web Server is distributed under the Apache License v2.0, which is located at http://www.apache.org/licenses/LICENSE-2.0 SQLite is released under the Public Domain license, which is located at http://en.wi ipedia.org/wi i/Public_Domain OpenSSL is released under the terms of the Apache License, which is located at http://www.openssl.org/source/license.html Zlib is released under the zlib License (a free software license/compatible with GPL), which is located at http://www.gzip.org/zlib/zlib_license.html Libiconv is released under the LGPL license, which is located at http://www.gnu.org/licenses/lgpl.html The Python Imaging Library (PIL) is Copyright 1997-2011 by Secret Labs AB, Copyright 1995-2011 by Fredri Lundh. More details in http://www.pythonware.com/products/pil/license.htm

Você também pode gostar