Created
February 21, 2018 07:05
-
-
Save ball6847/e1298b35557895a6ce86c63fbbc65954 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin | |
gluster volume start public_upload force | |
gluster volume start uploads force | |
mkdir -p /var/www/{uploads,public/upload} | |
mount.glusterfs 127.0.0.1:/public_upload /var/www/public/upload | |
mount.glusterfs 127.0.0.1:/uploads /var/www/uploads |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment