Archive for the ‘Server Config’ Category

Developing Ruby on Rails on Ubuntu Lucid Lynx 10.04

Update: For Installing Ruby on Rails onto a Ubuntu Server (Lucid Lynx 10.04) goto this post Developing for any Web Application can be helped by developing in the same environment as the deployment.  For me this means that running Ubuntu Desktop and deploying onto Ubuntu Server is a no brainer.  Most Ruby on Rails developers […]

Posted on June 8, 2010 at 2:54 pm by Jordan Carter · Permalink · Leave a comment
In: Ruby on Rails, Server Config · Tagged with: 

What is inside a Google Data Center?

Here is a video Google published which details how they setup their data centres.  It contains interesting information about the ideas the are using in managing cooling and efficiency. video below

Posted on April 27, 2010 at 1:32 pm by Jordan Carter · Permalink · Leave a comment
In: Server Config · 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 · One 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 · 5 Comments
In: Server Config, Ubuntu Tricks, Web Development · Tagged with: , , , ,

PostGIS psqlostgis ERROR could not load library /usr/lib/postgresql/8.4/lib/postgis-1.5.so

Trying to install PostGIS and you can’t get past this error? psqlostgis.sql:57: NOTICE:  type “spheroid” is not yet defined DETAIL:  Creating a shell type definition. psqlostgis.sql:57: ERROR:  could not load library “/usr/lib/postgresql/8.4/lib/postgis-1.5.so”: /usr/lib/postgresql/8.4/lib/postgis-1.5.so: undefined symbol: GEOSHausdorffDistance psqlostgis.sql:63: ERROR:  current transaction is aborted, commands ignored until end of transaction block psqlostgis.sql:68: ERROR:  current transaction is aborted, […]

Posted on March 10, 2010 at 12:44 pm by Jordan Carter · Permalink · 5 Comments
In: Ruby on Rails, Server Config · Tagged with: , , , ,

PG_Dump PG_Restore

Dump a remote postgres database and restore it into a local postgres database.  This method dumps first into a local file, then restores into the database.  The reason for doing it this way over piping the data straight into the database locally is that if there is an error in the import you don’t have […]

Posted on September 25, 2009 at 10:21 am by Jordan Carter · Permalink · Leave a comment
In: Server Config, Web Development · Tagged with: , , , , ,

Rails Setup – Jaunty 9.04 – Postgres – RMagick – Xapian – Hpricot – Git

Just installed Ubuntu Jaunty 9.04 onto my laptop and wanted to note down all the installed packages I ended up using. I haven’t tested this on a clean install, but should all flow nicely. Hopefully will help me next time I fresh install. Will get you setup with rails and some useful libs and plugins. […]

Posted on July 27, 2009 at 11:21 am by Jordan Carter · Permalink · Leave a comment
In: Server Config · Tagged with: , , , , , ,