Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to set up Ubuntu Server on my VPS but CentOS 6 x86 is already installed there. How could I replace CentOS with Ubuntu?

I need to create 2 users. The IP addresses are and How will could I set up them with Putty?

share|improve this question
Your VPS provider may be able to change the OS. – papukaija Jul 25 '13 at 16:02
up vote 1 down vote accepted

You're asking multiple questions, each of which should be their own separate questions, but I'll answer them both here, anyways.

(1) (BACKUP ANY DATA YOU WANT TO KEEP BEFORE DOING THIS!) To change the Operating System, the VPS provider should be able to do that. If there's not an automated "Reinstall Operating System" option in the VPS control panel pages for your provider, file a support ticket with your VPS provider. If they tell you that you cannot switch operating systems, or that they do not have Ubuntu VPSes, then you won't be able to switch to Ubuntu (but most VPS providers have Ubuntu images)

(2) Once the VPS is set up with whatever OS, you should SSH in by specifying the IP address for your server, then it'll connect and prompt you for the username and password. Provide those, and once you're logged in, do sudo useradd --create-home --user-group --shell /bin/bash USERNAME where USERNAME is the login name for the user you're creating, because the default user you login to will either be root or a user with sudo access

share|improve this answer

Your not going to be able to install Ubuntu without having KVM like access to the server and some help from the ISP. Usually you can select what OS you would want on your VPN at the time of order and in most cases change it at any time ( Losing any data on your server )

In answer to your second question open putty and make sure SSH is selected. In the text box that says Host Name or IP address put your ip eg. hit open it will then connect your server and prompt you for a username and password to login ( I hope you have these)

then use the useradd command to add the users you need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.