BitNami Plone Stack

    What is the default installation directory?

    When using native installers the default installation directory depends on the platform and can be changed during the installation:

    linux_platform.png On Linux: /home/user/plone-VERSION

    If you are using a virtual machine or the AMI, the default installation directory is "/opt/bitnami". All Plone files are in the installdir/apps/plone folder.

    How to start/stop the Plone servers?

    Plone Stack ships several servers that must be started before you will be able to work with them. By default, Apache and Plone servers (Zeo and Zope) are started after the installation.

    Graphical tool

    The Stacks include a graphical tool to manage the servers easily. You can find the "manager-windows.exe", "manager-osx" or "manager-linux" tool in your installation directory. Using this tool, you can Start, Stop or Restart the servers and check the log files. You can click on the icon to start it.

    manager-servers.png

     

    manager-osx.png

     

     

     

     

     

     

     

     

     


    win_platform.png

    On Windows: You can also start the Manager tool from shortcuts: Start -> Program Files -> BitNami Stack -> Manager tool

    Command line tool

    If you prefer, you can use the "ctlscript.sh" utility from the command line. This script is in the installation directory.

    linux_platform.png

    On Virtual Machines and Cloud images:

    $ sudo /opt/bitnami/ctlscript.sh start

    A native installer on Linux:

    $ cd ~/application-version
    $ ./ctlscript.sh start
    

    mac_platform.png

     

    On OS X: You can start the Manager tool from the installation directory or you can use the "ctlscript.sh" utility from a Terminal.

    host:~ user$ cd /Applications/application-version
    host:~ user$ ./ctlscript.sh start

    How to change the default URL to root?

    Apache is configured as a proxy server. The Plone configuration file is in installdir/apps/plone/conf/plone.conf, and this is the default content:

    RewriteEngine On
    RewriteRule ^/plone($|/.*) http://127.0.0.1:8081/VirtualHostBase/http/%{SERVER_NAME}:8080/VirtualHostRoot/_vh_plone$1 [L,P]
    
    # Uncomment the following lines to see plone application in the root of your URL.
    # RewriteRule ^/(.*)$ http://127.0.0.1:8081/VirtualHostBase/http/%{SERVER_NAME}:8080/VirtualHostRoot/$1 [L,P]
    

    (Note: if you have installed the Stack as root user, the default port for Apache is 80 instead of 8080)

    Using this RewriteRule, all your Plone sites will be accessible at http://YOUR_IP:8080/plone/your_site. If you want to remove "/plone" from the URL you can comment thefirst RewriteRule and uncomment the second rule. In this case your Plone sites will be accessible at http://YOUR_IP:8080/your_site.

    You can find more information about RewriteRules and VirtualHost at http://plone.org/documentation/kb/plone-apache/virtualhost

    How can I run a command in Plone Stack?

    All of the Native Installers for BitNami Stacks are completely self-contained and run independently of the rest of the software or libraries installed on your system. To work correctly, certain environment variables need to be set when you want to invoke commands to access different binaries. Note that in virtual machines or AMIs, the environment is already loaded for the "bitnami" user automatically and the below is not necessary.

    BitNami console is a script to load the Stack environment. This console is useful to run any command included in the Stack: openssl, buildout, plonectl among others.

    linux_platform.png On Linux:

    $ cd ~/plone-version
    $ ./use_plone
    

    For example, to run the "buildout" command do the following:

    $ cd ~/plone-version
    $ ./use_plone
    $ cd apps/plone/zeocluster
    $ buildout
    

    If you are using the Virtual Machine or AMI, note that you have to run the command as "plone" user:

    $ sudo su plone
    $ ./use_plone
    $ cd apps/plone/zeocluster
    $ buildout
    
    Tag page (Edit tags)
    • No tags
    Page statistics
    14167 view(s), 3 edit(s) and 3606 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments