![]() ![]() ![]() Log in as that user from your local machine. Once that’s done, we have a non- root user with which to log in to the VPS. We’ll add a user to the wheel group later. In particular, make sure to set up the wheel admin group and get iptables set up. Perform do-release-upgrade again to arrive at 12.04 LTS.įor a basic setting up of our VPS, the Slicehost article on setting up Ubuntu is great. Rails unicorn https apache install#$ apt-get install update-manager-coreĬonfirm that you want to perform the upgrade, and once that’s finished and the VPS restarted ( reboot) Ubuntu will be at 11.10. ![]() Next, as there’s no direct upgrade route from 11.04 to 12.04, we need to go via 11.10. The -y flag assumes a ‘yes’ response for all prompts. The lastest Ubuntu image provided by my VPS host was 11.04, so first I had to update Ubuntu to the latest LTS, 12.04. I chose Ubuntu as my Linux distribution of choice. If you’ve already got a user set up, prefix all the commands in this section with sudo. In this section all commands are executed as the root user, as when you log in to a fresh install. Now that the stack’s chosen, it’s just a case of setting it all up. If it’s good enough for Ryan Bates then it’s good enough for me! PostgreSQL is a popular choice these days.Although other solutions exist, like Unicorn and Thin, the configuration required was a little too much for me. I stuck with Passenger for allowing the web server to run Ruby apps.RVM has received some flack, principally because of Bundler’s ability to manage “gemsets” with Gemfiles.There are many comparisons of Apache and nginx, but for such a small-scale server as mine it really boiled down to curiosity. This time around I decided to use some other software that seems to be popular with the community. My stack of choice is usually RVM for Ruby management, the Apache web server, Passenger for allowing Apache to run Ruby apps like Rails and Sinatra, and MySQL for the database. Every once in a while I buy a new VPS, mostly because I’m not entirely satisfied with my current setup. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |