How To Install Ghost On 1&1 Hosting
- Go to 1and1.com and click on Servers section.
- Select 1&1 Virtual Servers
- Select the Virtual server size you want. I selected the smallest size.
- Once you have finished checkout you will get an email with your username and password
Once you receive the email from 1&1 you can login at the 1&1 sign in page with your customer ID and the password you created during checkout
Once you are logged into the Control Panel click on Server Re-image
- Set the root password for your new operating system and select CentOS 6 minimal system (64Bit). Then click Next.
- Click Initialize to confirm settings
- 1&1 will send you an email once your VPS is setup and then you can log back into the 1&1 Control Panel and click on server Access Data.
- On the Server Data page, note the password under the Initial Password (this is not your 1&1 account password but the password you created for the root account in CentOS) and grab the Server name from the Technical Data section. Now you can
sshinto your server with the following command:
ssh root@[1&1 provided server host name]
- Update the CentOS operating system
su -c "yum update"
- Next disable Apache
chkconfig --level 12345 httpd off
- Download and install CentOS Development Tools
yum groupinstall "Development Tools"
- Now download and install node.js
curl -sL https://rpm.nodesource.com/setup | bash - yum install -y nodejs
- Download and install Ghost
cd /var/www/ curl -L -O https://ghost.org/zip/ghost-latest.zip unzip -d ghost [Name-of-Ghost-zip].zip
cd ghost/ npm install --production cp config.example.js config.js sudo vi config.js
- In your 1&1 Control Panel under Server Data grab the IP address and change all occurrences of the following:
host: '[the IP you were provided]',
- Create Ghost User
useradd ghost chown -R ghost:ghost /var/www/ghost/
- Switch to Ghost User
su - ghost cd /var/www/ghost/
- Start Ghost
npm start --productionBrowse to
Proxy from Port 80 and Keep Ghost Running
There you have it, Node.js is installed, Ghost files are located in
/var/www/ghost, and Ghost has been started. You can keep Ghost the way it is if you do not mind adding :2368 to the end of your url, but we would highly recommend you check out the following two articles to help get your Ghost blog fully ready:
Next Steps:Learn Ghost from the Ground Up
Head to "Ghost for Beginners" to learn everything you need to know about learning and customizing Ghost
Find the Perfect Ghost Theme
Go to our Ghost themes section of this site to browse all of your Ghost theme options in one place.