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:
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: Memcached, rubygems, Ubuntu Lucid Lynx 10.04
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
In: Ubuntu Tricks · Tagged with: Chrome, Firefox, Flash, Lucid Lynx 10.04
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 [...]
In: Ubuntu Tricks · Tagged with: synergy
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.
In: Ubuntu Tricks · Tagged with: shared folder, VirtualBox
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 [...]
In: Server Config, Ubuntu Tricks · Tagged with: git
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 [...]
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: MySQL Administrator, ssh
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
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: corkscrew, git, github.com, http proxy, ssh
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 [...]
In: Ubuntu Tricks · Tagged with: remote, ssh, sshd, x11

