Reputation: 10906
I've got a vps with a fresh installation of Ubuntu 16.04 x64. I would like to use this for Laravel Forge
.
But what software do I have to install now?
Forge is giving me this:
Almost there! Here is your server's provision command. You should SSH into your server as root and run the command in your terminal. This command will begin the provisioning process for your server, and will configure the server so that it can be managed by Forge.
wget -O forge.sh https://forge.laravel.com/servers/1008/vps?forge_token=Byix7lMfGiMTWh9KasdfjioafhewalkJeAHY; bash forge.sh
OK
(modified the token)
Upvotes: 2
Views: 1740
Reputation: 1
First of all ssh into your droplet. Run these commands.
eval $(ssh-agent -s)
ssh-add PATH_TO_PRIVATE_KEY
ssh forge@YOUR_DROPLET_IP
Then run the command as root (it will ask your root pass which you should have).
Upvotes: 0
Reputation: 1186
You should install the Basic Ubuntu server package and SSH from that list you showed during the server setup. These are listed further down at the bottom.
If need be you can install SSH later using
sudo apt update
sudo apt install ssh
As a matter a fact you can install other items later too as you most likely will have direct VPS access via your control panel. But it is better to do it right away. Faster that way.
With that setup you have a basic server setup and SSH.You should have a user you can use sudo commands with. Just ssh into the server
ssh [email protected]
and do
sudo su
add you password and then run the suggested command by Forge as root:
wget -O forge.sh https://forge.laravel.com/servers/1008/vps?forge_token=Byix7lMfGiMTWh9KasdfjioafhewalkJeAHY; bash forge.sh
to download and execute the provisioning script.
Upvotes: 0
Reputation: 2145
You have to ssh to your server and run that line of code there.
Upvotes: 2