Skip to content

Instantly share code, notes, and snippets.

@z2z
Last active June 6, 2016 14:27
Show Gist options
  • Save z2z/52aedc714072cf39adfff4275dff86de to your computer and use it in GitHub Desktop.
Save z2z/52aedc714072cf39adfff4275dff86de to your computer and use it in GitHub Desktop.
bitnami custom app sentrifugo hrms setup
## bitnami custom app sentrifugo hrms
APP_NAME='sentrifugo'
sudo mkdir -p /opt/bitnami/apps/$APP_NAME/htdocs /opt/bitnami/apps/$APP_NAME/conf
sudo chown -R bitnami /opt/bitnami/apps/$APP_NAME
echo '<?php phpinfo(); ?>' > /opt/bitnami/apps/$APP_NAME/htdocs/index.php
sudo vi /opt/bitnami/apps/$APP_NAME/conf/$APP_NAME.conf
Alias /hrms/ "/opt/bitnami/apps/sentrifugo/htdocs/"
Alias /hrms "/opt/bitnami/apps/sentrifugo/htdocs"
<Directory "/opt/bitnami/apps/sentrifugo/htdocs">
Options Indexes MultiViews
AllowOverride All
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3>
Require all granted
</IfVersion>
</Directory>
sudo vi /opt/bitnami/apache2/conf/httpd.conf
Include "/opt/bitnami/apps/sentrifugo/conf/sentrifugo.conf"
sudo /opt/bitnami/ctlscript.sh restart apache
cd /opt/bitnami/apps/sentrifugo/htdocs
git clone https://github.com/sapplica/sentrifugo.git
## Web setup..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment