Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialScott Paterson
26,869 PointsWoosh issue with running the ServerPilot Installer
Soo when I run this code
(test -e /usr/bin/wget || (sudo apt-get update && sudo apt-get -y install wget)) && \ sudo wget -nv -O serverpilot-installer.py https://download.serverpilot.io/serverpilot-installer.py && \ sudo python serverpilot-installer.py \ --server-id=vavJBplJUGOr8xBH \ --server-apikey=H768CNWvsMsEjsc0ouQp3GZYgUqhow29cCzg7xPK7zY
I get sudo: apt-get: command not found
And so it does not install so currently stuck and not sure the way forward :S
any help please?
Jesse Petersen
Treehouse Guest TeacherServePilot is ONLY for 64-bit Ubuntu 14.04 and with that installed on a fresh VPS, it will work right out of the gate. If you have an existing disk image that isn't 64-bit Ubuntu 14.04, then you need to make a backup of the data and use 64-bit Ubuntu 14.04.
1 Answer
David Thomas
Courses Plus Student 21,263 Pointsapt-get is a package manager for linux, and should be installed.
What Operating System/Distro/Version are you running on your staging server?
I think server pilot is only compatible with 64-bit Ubuntu 14.04
Scott Paterson
26,869 PointsHi David
I am on a Mac with Yosemite version 10.10.3 just updated now , ah I missed that part about Ubuntu well never sunk in to my mind.
David Thomas
Courses Plus Student 21,263 PointsI see.. if you don't have a VPS or your like me and your VPS has some other sort of management like cPanel and want to follow along I recommend trying to setup an Ubuntu Virtual Machine, that's what I'm using on my mac.
David Thomas
Courses Plus Student 21,263 PointsLooks like you can use WP-CLI straight on Mac OS X
Scott Paterson
26,869 PointsThanks for your help David, Managed the WP-CLI on the mac no problem, will look into the setting up the virtual box and ubuntu, cause some off the stuff I am doing here is new its overwhelming and probably been confusing myself a little, been fine on command line type stuff so far probably need to watch this course over a few times lol.
Scott Paterson
26,869 PointsScott Paterson
26,869 PointsJesse Petersen