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.

    Cloud Images

    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?

    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
    $ ./bnconsole
    $ cd apps/plone/zeocluster
    $ buildout
    
    Tag page (Edit tags)
    • No tags
    Page statistics
    20927 view(s), 6 edit(s) and 3654 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments