Question

How do I manual deploy website without Git?

Posted March 22, 2018 1.4k views
Deployment Ubuntu 16.04

I’m trying to manual deploy my Symfony project to the server. I have installed all the softwares of LAMP, I have setup ssh connection to the server in both the console and filezilla, and I have installed the unzip package for unzipping.

My plan is to upload my project in a zip to the server, upzip it and start from there. But my problem is that I couldn’t see those “/var/www” folders…I couldn’t get into them on both the console nor filezilla. How do I do this?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Sounds like it might be permissions related.

You may need to add your user/group to the /var/www folder or add your user to the www group (not sure what best practice is now).

Also worth thinking about scp or rsync to get your project over.

  • I found the problem. It’s because when I login with ssh, I was default in the /myusername/home/ folder as non-root user or /root/ folder as root user, so when I do the “cd” command, it shows nothing because those folders were empty.

    When I do “cd /var/www” then I can navigate to the upper level folders.

Submit an Answer