Last active
June 6, 2016 14:27
-
-
Save z2z/52aedc714072cf39adfff4275dff86de to your computer and use it in GitHub Desktop.
bitnami custom app sentrifugo hrms setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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