Bitnami Plone Stack

    The Bitnami Plone Stack greatly simplifies the deployment of Web applications and Web sites built with Plone.

    How do I download and install Plone Stack?

    Cloud Server

    Bitnami cloud images extend stack appliances to run in a cloud computing environment. You can run Bitnami applications on a pay-as-you-go basis, programmatically starting and stopping them. Bitnami cloud images are currently available for Amazon EC2Microsoft AzureVMware vCloud AirGooogle Cloud Platform, and DigitalOcean, with support for additional cloud environments planned for the future.

    Virtual Machine/Native Installer

    You can download the Bitnami Plone Stack as a virtual machine or as a native installer for Linux at http://bitnami.com/stack/plone.

    What is the default installation directory?

    Cloud Server

    The default installation directory is /opt/bitnami.

    Virtual Machine

    The default installation directory is /opt/bitnami.

    Native Installer

    The default installation directory on Linux is /home/USER/plone-VERSION.

    How to start/stop the Plone servers?

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

    Cloud Server

    Each Bitnami stack includes a control script that lets you easily stop, start and restart servers.

    The script is located at /opt/bitnami/ctlscript.sh. Call it without any arguments to restart all services:

    $ sudo /opt/bitnami/ctlscript.sh start
    

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ sudo /opt/bitnami/ctlscript.sh restart mysql
    

    Virtual Machine

    Each Bitnami stack includes a control script that lets you easily stop, start and restart servers.

    The script is located at /opt/bitnami/ctlscript.sh. Call it without any arguments to restart all services:

    $ sudo /opt/bitnami/ctlscript.sh start
    

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ sudo /opt/bitnami/ctlscript.sh restart mysql
    

    Native Installer

    You can use either the graphical manager tool or the command-line tool to start and stop the servers.

    Graphical Tool

    Bitnami stacks include a graphical tool to manage the servers easily (native installers only). Using this tool, you can start, stop and restart the servers and check the log files.

    manager-servers.png

     

     

     

     

     

     

     

     

     

     

    On Windows:

    • Double-click the "manager-windows.exe" file in your installation directory.  
    • You can also start the Manager tool using the Start Menu path Start -> Program Files -> Bitnami Stack -> Manager.

    On Linux and Mac OS X:

    • Double-click the "manager-osx" or "manager-linux-*" tool in your installation directory. 
    Command-line Tool

    Each Bitnami stack includes a control script that lets you easily stop, start and restart servers.

    The control script is only available for Linux and Mac OS X native installers. The script is located in your installation directory and named ctlscript.sh. Call it without any arguments to restart all services.

    On Linux:
    If your installation directory is /home/USER/wordpress-4.0.1-0, call the control script with the ‘start’ argument to start all servers. For example:

    $ cd /home/USER/wordpress-4.0.1-0
    $ ./ctlscript.sh start
    

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ cd /home/USER/wordpress-4.0.1-0
    $ ./ctlscript.sh restart mysql
    

    On Mac OS X:
    If your installation directory is /Applications/wordpress-4.0.1-0, call the control script with the ‘start’ argument to start all servers. For example:

    $ cd /Applications/wordpress-4.0.1-0
    $ ./ctlscript.sh start
    

    Or use it to restart a specific service only by passing the service name as argument - for example 'mysql':

    $ cd /Applications/wordpress-4.0.1-0
    $ ./ctlscript.sh restart mysql
    

    Tabs end

    How to change the default URL to root?

    Cloud Server

    By default, all your Plone sites are accessible at the domain root: http://[server-IP-address]/SITE_NAME.

    Read more about RewriteRule and VirtualHost configuration.

    Virtual Machine

    By default, all your Plone sites are accessible at the domain root: http://[server-IP-address]/SITE_NAME.

    Read more about RewriteRule and VirtualHost configuration.

    Native Installer

    By default, Apache is configured as a proxy server. The Plone configuration file is in installdir/apps/plone/conf/httpd-app.conf, and has this content by default:

    RewriteEngine On
    RewriteRule ^/plone($|/.*) http://127.0.0.1:8081/VirtualHostBase/http/%{SERVER_NAME}:8080/VirtualHostRoot/_vh_plone$1 [L,P]
    # Uncomment the following line and comment the previous one to move the app to root
    # RewriteRule ^/(.*)$ http://127.0.0.1:8081/VirtualHostBase/http/%{SERVER_NAME}:8080/VirtualHostRoot/$1 [L,P]
    

    Using this RewriteRule, all your Plone sites will be accessible at http://[server-IP-address]:8080/plone/SITE_NAME. If you want to remove the /plone base path from the URL, such that your Plone sites are accessible at http://[server-IP-address]:8080/SITE_NAME, comment out the first RewriteRule and uncomment the second one.

    NOTE: If you installed the Bitnami Plone Stack as the 'root' user, the sites will be accessible at http://[server-IP-address]/plone/SITE_NAME.

    Read more about RewriteRule and VirtualHost configuration.

    How can I run a command in Plone Stack?

    Select your platform for instructions on how to run commands in your stack.

    Cloud Server

    Log in to the server console as the 'plone' user and run the command as usual.

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

    $ sudo su plone
    $ cd /opt/bitnami/apps/plone/zeocluster
    $ ./bin/buildout
    

    Virtual Machine

    Log in to the server console as the 'plone' user and run the command as usual.

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

    $ sudo su plone
    $ cd /opt/bitnami/apps/plone/zeocluster
    $ ./bin/buildout

    Native Installer

    All 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 before accessing different binaries in the stack.

    The 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.

    On Linux:

    At the server console, enter the following commands.

    $ cd installdir
    $ ./use_plone
    

    Then, run the command as usual. For example, to run the buildout command, do the following:

    $ cd installdir
    $ ./use_plone
    $ cd apps/plone/zeocluster
    $ ./bin/buildout
    
    Tag page (Edit tags)
    • No tags
    Page statistics
    23616 view(s), 11 edit(s) and 7080 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments