Archive for the ‘Ubuntu Tricks’ Category

Memcached – Libmemcached already built; run ‘rake clean’ first if you need to rebuild.

Trying to install memcached ruby gem on Ubuntu 10.04 Lucid Lynx and I get the error Libmemcached already built; run ‘rake clean’ first if you need to rebuild. Fixed this by installing sudo apt-get install libsasl2-dev gem uninstall memcached && gem install memcached Full Error Stacktrace:

Posted on June 28, 2010 at 2:10 pm by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: , ,

Package ‘adobe-flashplugin’ is Virtual when installing Flash on Firefox or Chrome – Ubuntu Lucid Lynx 10.04 64

Trying to install Flash on Ubuntu 10.04 64 bit fails with the error Package ‘adobe-flashplugin’ is Virtual I managed to install it with the following pasted into terminal. sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer

Posted on June 8, 2010 at 9:36 am by Jordan Carter · Permalink · 6 Comments
In: Ubuntu Tricks · Tagged with: , , ,

Share Keyboard and Mouse between Two or Multiple Computers

I have three computers at my desk.  No reason other than I am a geek.  I have a desktop, nice beasty thing.  I have a Tablet Laptop and I have a netbook. I wanted to connect them all up so that I could use the screen space on them, put twitter on one maybe, gmail [...]

Posted on June 4, 2010 at 9:42 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks · Tagged with: 

VirtualBox shared folder guest access command

Enable shared folders Add shared folder via “Devices” > “Shared Folder…” Windows from virtualbox.org net use x: \\vboxsvr\sharename Linux from virtualbox.org mount -t vboxsf [-o OPTIONS] sharename mountpoint Sharename is for example (by default) if you shared your Hosts Desktop, it would be Desktop.  Easy.

Posted on May 18, 2010 at 10:36 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks · Tagged with: ,

Git /usr/local/lib/liblber & /usr/local/lib/libldap_r no version information available error

I just updated my system today and rebooted (I like to reboot once a couple weeks…) and git started freeking out on me. I tried to git add ap [tab tab] but “git: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/lib/libcurl-gnutls.so.4)” would pop up before the auto-complete and mess everything up. I could continue without [...]

Posted on April 1, 2010 at 10:28 am by Jordan Carter · Permalink · Leave a comment
In: Server Config, Ubuntu Tricks · Tagged with: 

MySQL Admin via SSH Tunnel

Lets create a ssh tunnel into our remote server so that we can connect MySQL Administrator.  This will trick MySQL Administrator into thinking that it has a local connection to the remote machine when it doesn’t.  This is great for getting around having only local MySQL access rights while trying to login from a remote [...]

Posted on March 18, 2010 at 8:30 pm by Jordan Carter · Permalink · Leave a comment
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: ,

Can’t Access Github behind proxy or Firewall

Use corkscrew to get through the firewall. You will have to install it from source. website: http://www.agroman.net/corkscrew/ Now edit your ~/.ssh/config file, create it if you haven’t got one. > cat ~/.ssh/config Host gitproxy User git Hostname ssh.github.com Port 443 ProxyCommand /usr/local/bin/corkscrew proxy.example.com 3128 %h %p IdentityFile /home/jordan/.ssh/id_rsa Now use this proxy when cloning git

Posted on March 17, 2010 at 9:45 pm by Jordan Carter · Permalink · 2 Comments
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: , , , ,

Open remote application window over ssh – X11

You left the office but forgot to leave an application running.  An application that requires it’s GUI, you try to open it via ssh but “Error: Can’t open display” prevents you. Simple fix here, you will kick yourself. DISPLAY=:0 <command> for me this translated into DISPLAY=:0 transmission What this does is instruct the application to [...]

Posted on December 29, 2009 at 8:18 am by Jordan Carter · Permalink · One Comment
In: Ubuntu Tricks · Tagged with: , , ,