vmhgfs-fuse .host:/$(vmware-hgfsclient) ~/some_mountpoint
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
Add the following line to your /etc/fstab :
.host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0
| powershell "Get-ChildItem | % {$_.LastWriteTime = '01/01/1993 12:00:00'}" |
| # For directories : | |
| find . -type d -exec chmod 755 {} \; | |
| # For files : | |
| find . -type f -exec chmod 644 {} \; |
| server { | |
| listen 80; | |
| server_name example.com; | |
| if ($http_x_forwarded_proto = "http") { | |
| return 301 https://$server_name$request_uri; | |
| } | |
| location / { |
| #this file is not ready for execution | |
| #go to /opt to download certbot-auto | |
| cd /opt | |
| wget https://dl.eff.org/certbot-auto | |
| #correct permissions | |
| chmod a+x certbot-auto |
create a systemd drop-in directory for the docker service:
mkdir /etc/systemd/system/docker.service.d
Now create a file called /etc/systemd/system/docker.service.d/http-proxy.conf that adds the HTTP_PROXY environment variable:
[Service] Environment="HTTP_PROXY=http://proxy.example.com:80/"
| #inline socks usage with curl E.g : | |
| curl --socks5-hostname 192.X.X.X:9050 -sSL https://example.com | |
| #you can create .curlrc with following content : | |
| socks5-hostname 192.X.X.X:9050 |
| Acquire::http::proxy "http://127.0.0.1:8118/"; | |
| Acquire::https::proxy "https://127.0.0.1:8118/"; |