We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
VestaCP, FileZilla and Google Cloud VM
-
- Posts: 3
- Joined: Mon Sep 04, 2017 9:31 am
VestaCP, FileZilla and Google Cloud VM
Hi,
I'm trying to set up a website on a Google Cloud VM, and have been struggling the whole day with this.
I've currently got a VM running Debian GNU/Linux 8 (jessie) and VestaCP.
The website is currently up ("example.com powered by Vesta"). What I'm trying to do now is figure out how to access the relevant folder to upload the contents of the website.
I've been trying to do this with FileZilla:
- I can connect to the VM server itself using the external IP and the SSH keys, but I don't have permission to the website folder (home/admin/web/example.com). I can access most other folders, but cannot move files into them - so I suspect this is an issue with the user account that I'm connecting with, but I have no idea how to tell or how to rectify this.
- I've tried setting up FTP access through Vesta, but when putting in the settings (username, password, IP, port 21) into Filezilla, the connection times out.
I've been trying to read up on this topic, but I don't even know where to begin. If someone can tell me how to set FileZilla up, or just a place to learn about this stuff, that'd be great.
I'm trying to set up a website on a Google Cloud VM, and have been struggling the whole day with this.
I've currently got a VM running Debian GNU/Linux 8 (jessie) and VestaCP.
The website is currently up ("example.com powered by Vesta"). What I'm trying to do now is figure out how to access the relevant folder to upload the contents of the website.
I've been trying to do this with FileZilla:
- I can connect to the VM server itself using the external IP and the SSH keys, but I don't have permission to the website folder (home/admin/web/example.com). I can access most other folders, but cannot move files into them - so I suspect this is an issue with the user account that I'm connecting with, but I have no idea how to tell or how to rectify this.
- I've tried setting up FTP access through Vesta, but when putting in the settings (username, password, IP, port 21) into Filezilla, the connection times out.
I've been trying to read up on this topic, but I don't even know where to begin. If someone can tell me how to set FileZilla up, or just a place to learn about this stuff, that'd be great.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: VestaCP, FileZilla and Google Cloud VM
You need to open specific ports in your Google cloud Firewall also.
-
- Posts: 3
- Joined: Mon Sep 04, 2017 9:31 am
Re: VestaCP, FileZilla and Google Cloud VM
Thanks, I had forgotten about that. I've opened port 21, but still the same problem.
If it helps: I connect as 'User' (which has it's own 'User' folder), whereas the Vesta /web/ folder is in the 'admin' folder. I just don't know how to connect as admin.
If it helps: I connect as 'User' (which has it's own 'User' folder), whereas the Vesta /web/ folder is in the 'admin' folder. I just don't know how to connect as admin.
-
- Posts: 3
- Joined: Mon Sep 04, 2017 9:31 am
Re: VestaCP, FileZilla and Google Cloud VM
Alright, I've figured it out.
I had to log into the VM and switch to the admin user with sudo su admin. Then I changed the permissions on the files in the web directory with chmod.
I don't feel super comfortable playing around with permissions, but I'm not looking to publish the site yet so I'm happy for the time being.
If anyone could tell me how to get the Vesta FTP functioning without the need to mess with the security like this, that'd be great.
I had to log into the VM and switch to the admin user with sudo su admin. Then I changed the permissions on the files in the web directory with chmod.
I don't feel super comfortable playing around with permissions, but I'm not looking to publish the site yet so I'm happy for the time being.
If anyone could tell me how to get the Vesta FTP functioning without the need to mess with the security like this, that'd be great.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: VestaCP, FileZilla and Google Cloud VM
Simplyafricantearoa wrote: If anyone could tell me how to get the Vesta FTP functioning without the need to mess with the security like this, that'd be great.
Code: Select all
chown -R <vestauser>:<vestauser> /home/<vestauser>/web/public_html