July 11th, 2008
sudo nano /etc/network/interfaces
update the file to look like the following (of course change to your network info)
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
sudo /etc/init.d/networking restart
References
http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/
Posted in Ubuntu | No Comments »
July 2nd, 2008
This is a really cool vCard to Gmail CSV conversion tool.
http://labs.brotherli.ch/vcfconvert/
Posted in Uncategorized | No Comments »
May 16th, 2008
As of May 13, 2008 Dreamhost provides a feature called Passenger for Ruby on Rails. This make is significantly easier to install Ruby On Rails Apps on Dreamhost!!!
The following is how I install Redmine on Dreamhost with Passenger
- From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
- Make sure the domain supports “Ruby on Rails Passenger (mod_rails)?”
- Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
- you must add the public!!!
- From the Dreamhost control panel create a new MySQL database named yourdatabasename
- ssh into your Dreamhost account
cd ~/yoursubdomain.yourdomain.com
svn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./
- check http://www.redmine.org/wiki/redmine/Download for the latest version
- also watch out for permissions
cd ~/yoursubdomain.yourdomain.com/config
cp database.yml.example database.yml
nano database.yml
- edit the database.yml config file with the appropriate info. Should be similar to the following
production:
adapter: mysql
database: yourdatabasename
username: yourusername
password: yourpassword
host: mysql.yourdomain.com
cd ~/yoursubdomain.yourdomain.com/public
cp dispatch.rb.example dispatch.rb
nano .htaccess (replace with following text)
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
ErrorDocument 500 “<h2>Application error</h2>Rails application failed to start properly”
cd ~/yoursubdomain.yourdomain.com
- from application root type
rake db:migrate RAILS_ENV="production"
- also type the following to load config defaults
rake redmine:load_default_data RAILS_ENV="production"
- browse to http://yoursubdomain.yourdomain.com
Reference
http://www.redmine.org/wiki/redmine/RedmineInstall
www.jorgeivanmeza.com
http://www.redmine.org/boards/2/topics/show/69
http://wiki.dreamhost.com/Passenger
Posted in Uncategorized | 12 Comments »
May 15th, 2008
Not sure when the happened, but the location of “Trash” has moved from “~/.Trash” to “~/.local/share/Trash”. There is also a new structure for the trash folder. It has a directory named “files” for the deleted files. There is an additional directory named “info” which contains when the files were deleted & where they were deleted from.
To delete the trash from the command line type
rm -rI ~/.local/share/Trash/*
Or you could use this command, if you don’t want to confirm your delete
rm -rf ~/.local/share/Trash/*
Posted in Ubuntu, Uncategorized | No Comments »
May 12th, 2008

As of May 13, 2008 Dreamhost provides a feature called Passenger for Ruby on Rails. This make is significantly easier to install Ruby On Rails Apps on Dreamhost!!! Use this method instead (Click Here)
http://alandaveline.com/blog/2008/05/16/redmine-on-dreamhost-with-passenger/
The following is how I install Redmine on Dreamhost
- From the Dreamhost control panel, create a new subdomain for the application such as yoursubdomain.yourdomain.com
- Make sure the domain supports “FastCGI”
- Specify your web directory: /home/username/yoursubdomain.yourdomain.com/public
- you must add the public!!!
- From the Dreamhost control panel create a new MySQL database named yourdatabasename
- ssh into your Dreamhost account
cd ~/yoursubdomain.yourdomain.com
svn export --force svn://rubyforge.org/var/svn/redmine/branches/0.7-stable ./
- check http://www.redmine.org/wiki/redmine/Download for the latest version
- also watch out for permissions
cd ~/yoursubdomain.yourdomain.com/config
cp database.yml.example database.yml
nano database.yml
- edit the database.yml config file with the appropriate info. Should be similar to the following
production:
adapter: mysql
database: yourdatabasename
username: yourusername
password: yourpassword
host: mysql.yourdomain.com
cd ~/yoursubdomain.yourdomain.com/public
cp dispatch.fcgi.example dispatch.fcgi
cp dispatch.rb.example dispatch.rb
nano .htaccess
- change line with
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
- to
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
cd ~/yoursubdomain.yourdomain.com
- from application root type
rake db:migrate RAILS_ENV="production"
- also type the following to load config defaults
rake redmine:load_default_data RAILS_ENV="production"
- browse to http://yoursubdomain.yourdomain.com
Reference
http://www.redmine.org/wiki/redmine/RedmineInstall
www.jorgeivanmeza.com
http://www.redmine.org/boards/2/topics/show/69
Posted in Dreamhost, Redmine | 3 Comments »
May 12th, 2008
To resolve this issues, change the “localhost” in yourrailsapp/config/database.yml to “127.0.0.1″
Posted in Ruby on Rails, Uncategorized | No Comments »
May 10th, 2008
The way to install fonts in Ubuntu 8.04 has changed a little, and in my option it is a bit easier.
- open the “.fonts” folder in your home directory
- You probably have to create it first
- make sure you can view hidden files
- copy your font files to this folder
- next time you open your application, the fonts should be available
Reference
Tombuntu
Posted in Ubuntu | No Comments »
May 7th, 2008
Recently after upgrading to Ubuntu 8.04/Firefox 3, all of my CSS fonts have been HUGE! I didn’t have the opportunity to look for a solution, so I have been using Opera as my primary browser. After finally getting a little time to dig, I found a quick fix using the following steps.
- Type “about:config” in the address bar of Firefox
- Accept the crazy warning about voiding your warranty
- Change the setting of “layout.css.dpi” from -1 to 96 (or 72)
- Now all should be fine in the CSS/Font world
Reference
http://blog.wolffmyren.com/2008/04/26/firefox-3-ubuntu-804-large-fonts-fix/
Posted in CSS, Firefox, Ubuntu | 2 Comments »
May 5th, 2008

Seems that Dell is a pretty good judge of Linux character
First major company to factory install Red Hat Linux corporate systems.
http://www.redhat.com/about/news/prarchive/1999/press_linuxsuccess.html
First to install ubuntu in 2007
http://www.ubuntu.com/news/dell-to-offer-ubuntu
Posted in GNU/Linux | No Comments »
May 2nd, 2008
Straight from the ColdFusion Documentation
You can change the port on which the built-in web server runs.
To change the port for the built-in web server:
1. Back up the jrun.xml file.
This file is in the cf_root\runtime\servers\default\SERVER-INF directory in Windows, and in the cf_root/runtime/servers/default/SERVER-INF directory on UNIX.
2. Open the original jrun.xml file for editing.
3. Change the port number specified in the WebService port attribute (near the bottom of the file):
<service class=”jrun.servlet.http.WebService” name=”WebService”>
<attribute name=”port”>8500</attribute>
<attribute name=”interface”>*</attribute>
<attribute name=”deactivated”>false</attribute>
…
</service>
Note: Make sure that the deactivated attribute is set to false.
4. Save the file.
5. Restart ColdFusion.
Reference
ColdFusion LiveDocs
Posted in ColdFusion | No Comments »