VPS Update…again

Ok so Mists of Pandaria came out and I have been playing that since it came out….so I have not worked on my site…..ohh well that’s why they call it World of Warcrack…stupid game. I stopped playing it for a year, I built my Hackint0sh and started playing it on Ultra settings, good lord they really did a fantastic job and its sooooooo pretty. Anyways I guess we will see how long I last this time.

So I took so long between working on my VPS and WOW that when I looked over my notes I managed to miss somethings, which I swore to myself that I would document everything. So this time I am going to document everything.

I wacked my VPS, AGAIN, for the 7th time. This time I plan on doing it right gosh dern it!!

apt-get update
apt-get upgrade
apt-get install apt-file
apt-file
apt-file update

Hmmm this is new since the last time I reinstalled:

apt-get install libtool –
The following packages have unmet dependencies:
libtool : Depends: libc6-dev but it is not going to be installed or
                        libc-dev
E: Unable to correct problems, you have held broken packages.

Hmm I donna how to fix this so I will move on to the next step.

The following is all about getting MOSH working and installed correctly. I knew this from my past notes so I didn’t include

locale-gen en_US.UTF-8
nano /etc/default/locale LANG=”en_US.UTF-8″
reboot

Onto installing MOSH:

http://jinntech.blogspot.com/2012/04/mosh-great-new-ssh-replacement.html

sudo aptitude install build-essential autoconf protobuf-compiler libprotobuf-dev libboost-dev libutempter-dev libncurses5-dev zlib1g-dev pkg-config
git clone https://github.com/keithw/mosh
cd mosh
./autogen.sh
./configure
make
sudo make install

git clone https://github.com/keithw/mosh
-bash: git: command not found

Oops…

Well I knew this was coming:

~/mosh# ./autogen.sh
Can’t exec “libtoolize”: No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
configure.ac:21: installing `./ar-lib’
configure.ac:6: installing `./install-sh’
configure.ac:6: installing `./missing’
src/crypto/Makefile.am: installing `./depcomp’

This was exactly the error I got from my last notes.

Hmmm seems there is already a pre-compiled version of mosh for Ubuntu, so…

apt-get install mosh

Testing…..

mosh root@annoyingthingshappen.com
root@annoyingthingshappen.com’s password:
mosh-server: invalid option — ‘l’
Usage: mosh-server new [-s] [-i LOCALADDR] [-p PORT] [-c COLORS] [– COMMAND…] [mosh is exiting.]

Damnit!!

Hmmm I ran /usr/bin/mosh-server and it connected…….so hurray!! LOL I was trying to see what command I ran and did a copy paste of the mosh-server and ran it again, oops. Whilst I was researching this error I came across this article:

http://iam.richardbucker.com/2012/04/10/mosh-is-a-bit-of-a-pit/

My answer, not that it makes any difference at all, is that its very handy if I am at work, connect using mosh, close the lid, go home and come back and once I have established an Internet connection again, it resumes where it left off. Anyways off to the next part.

Reboot and its still working! Hurray!

Install TMUX…no issues

Install weechat, prob the best irc client ever.

Install WebMin, so I followed the directions but I don’t see it connecting. Ahh, service webmin start

Installed my normal user but had an issue with mosh connecting, weird root use works no problem but my normal user doesn’t, rooted server.

sudo service –status-all gives me a Sorry, try again. Grrr…why is it so difficult to get sudo working on ubuntu. Ahh right ok so the way sudo works is you add the user you want into the sudo group and use your existing password, now it all works.

sudo apt-get install dnsutils

Next install LAMP

http://ubuntuserverguide.com/2012/05/how-to-install-lamp-server-in-ubuntu-server-12-04-lts.html

http://ubuntuserverguide.com/2012/05/how-to-install-latest-wordpress-in-ubuntu-server-12-04-lts.html

Huh, after all of that I was having issues with stupid libc6 dependancies. So another sacking of my VPS. Sheesh. I am not sure at this point if I should continue or not, I am going to give it another go, otherwise this is the last time.

Hmmm well tried it again and still the same error, trying Ubuntu 11 64bit. Odd, no apt-get package for mosh in this version but then again no libc6-dev errors either.

checking for OPENSSL… no
configure: error: Package requirements (openssl) were not met:

Hmm seems I made a reference to this very same thing in my last set of notes.

To be continued