Setting up a server in Virtualbox
Posted: 21 Oct 2011, 13:21
| I have this Toshiba equium lap with a broken display (Well, I am a Berserk I have never been able to give the outside world access to my VB installations in Mandriva so I decided to install VB 4.1.4 OSEr74291 on my Arch box....... Now the Toshiba does not have a lot of power so we can rule out heavy duty stuff like Windows etc. I also ruled out OpenSuse. So What OS to put in there as a server*? I had heard a lot about the Ubuntu server so that was my first choice: Downloaded the Iso and hooked it up on the VB CD-rom and under Network I picked Bridged Adapter and eth0. Under Advanced I picke the adapter type PCnet-PCI II (Am79C970A) and set promiscuous mode to Allow All. I made sure that the cable connected box was marked too. And started the install. Ubuntu server has an Intuitive text based install and I set it to prepare the entire HD. Lots of warnings (makes sense) later, Ubuntu server was on its way and I picked a LAMP server and a file server. Nice and easy! Ubuntu was taking care of me and had bundled the server alternatives in an easy to understand way - so far so good.... Grub install and reboot... And Ubuntu complained that something was wrong (missing /boot or something) after giving the all automatic setup impression that sucked so I deleted Ubuntu. I can see the Ubuntu fans jumping in their chairs now screaming: yes but you only have to..... And I am sure they are right. The thing is: I don't like you only have to's, especially not from "Just working" distros. So I went for my next alternative: ClearOS It is Centos based so it should be solid. And this distro really just works a few questions where I picked LAMP and File server (samba) and that was pretty much it. It was finished very fast so I rebooted and there it was. Now this setup does not take any Linux knowledge - at all - and it is the easiest one out there for sure! So I got ready to log in and then I discovered that the setup actually did not ask me for a root password, and not for a userID either for that matter I had to go their website and I only had to log in and register etc etc. So I deleted it! Don't get me wrong this is the server I would recommend for an administrator in a small business that is used to Windows. He would be able to set it up and talk to Windows in Minutes (60 minutes). And it would be better than the Windows alternatives. It is just not for me, so I went on to the ClearOS mothership: | Centos Set up the disk. Partitioning the entire enchilada and answer every prompt picking the raisins I would like to have in a server. No problem and Centos did the job. Everything went through and it toke some time but finally I arrived at the reboot. I shut off the VM and "removed" the CD and fired it up again. And Centos complained about me having the wrong kernel so I should download the right one Guess what i did? I deleted it and went on to the next big server thing ![]() I did not feel like downloading the tons and tons of software and burn it to a load of DVD's so I picked the nice and small Net-Install CD. Not only is it small it will also provide me with the most up to date software and no extra bloat. So I fired it up and picked the GUI install - I didn't know that Debian had that so I had to try it. Again I let Debian handle the entire disk and I mostly accepted the suggestions. Picke the LAMP server (Linux Apache MySql PHP) and File server + openssh. That should enable me to log in to the virtual server from another computer, because I am getting tired of this VB window now. Debian even asked me to set a password for Mysql root (Not related to Linux root) - good work! That tells me that it is configuring the LAMP internals. Debian started to prepare and prepare and prepare..... Installing VB aditions and analyzing every corner of my Box. Finally it was time to reboot...... Et Voila! There it was my VB Server ![]() Hmm Webmin is not in the repos so I had to enter /etc/apt/sources.list and add the webmin repos like this: Code: Select all deb http://download.webmin.com/download/repository sarge contribThen I had to set the key: Code: Select all cd /rootafter a apt-get update I could install webmin. This is how it looks from a remote PC. Moving on to PHP myadmin... |



