Welcome to Centmin Mod Community
Become a Member

Sysadmin external server upload

Discussion in 'System Administration' started by ahmed, Jul 25, 2020.

  1. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    6:53 AM
    Hello

    Im trying to implement gfuse to sync folder to the cloud bucket
    Cloud Storage FUSE  |  Google Cloud

    but seemed there are something preventing that from the CSF?


    the only way it works if I set the bucket access to public, any suggestion for that?
     
  2. eva2000

    eva2000 Administrator Staff Member

    51,981
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    2:53 PM
    Nginx 1.25.x
    MariaDB 10.x
  3. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    6:53 AM
    Thanks a lot.

    The upload fails if it is not public
     
  4. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    6:53 AM
    since it communicates externally with public access I guess no need for any firewall tweaks I guess it is from google account setting will try later

    but plz how to convert this code to centmin?

    to make it autorun at the reboot

    source Google Storage and Wordpress. How to configure and store your uploads? | Robert Węglarek
    Code:
    Run  sudo nano /etc/fstab and put this in the end of the file:
    
    gcp-blog /var/www/html/wp-content/uploads gcsfuse rw,allow_other,dir_mode=777
    1
    gcp-blog /var/www/html/wp-content/uploads gcsfuse rw,allow_other,dir_mode=777