Join our Discussion Boards - Here

How to Check What Version of Ruby on Rails You Have

Simple stuff but sometimes I forget.

Check what version of Ruby you have;

ruby -v

Check what version of Ruby on Rails you have;

rails -v

Upgrade Zenoss 3.0 Stack Installer to Zenoss 3.2 Stack Installer on Centos

Confirm you version of Java is above java 1.5 java -version

Backup data, as the zenoss user, use the following commands to back up the Zenoss files. Use both backup methods for maximum recovery options.

Its worth removing events you no longer want by going to the Event Manager and setting the number of . . . → Read More: Upgrade Zenoss 3.0 Stack Installer to Zenoss 3.2 Stack Installer on Centos

How HTML5 is Revolutionizing Web Development

In the past decade, the English language has evolved thanks to the World Wide Web. Recently, “LOL,” “OMG,” “bloggable,” and “scareware” were admitted into the Oxford English Dictionary. However, as English has advanced, HTML, the language used for web development, has remained static for the past 12 years. HTML5, which went mainstream in April . . . → Read More: How HTML5 is Revolutionizing Web Development

How to Change SSH Colors in Centos

Go to your home folder.

cd /root

Edit your .bashrc

vi bashrc

Put the following text at the bottom.

#Start copy export LS_OPTIONS=’–color=auto’ eval `dircolors` alias ls=’ls $LS_OPTIONS’ #End copy

Save and quit.

qw

You will need to refresh your session with ssh.

 

 

How to install mod_pagespeed on Centos

mod_pagespeed

How to install mod_pagespeed on Centos

vi /etc/repos.d/mod-pagespeed.repo

Enter in the following text;

[mod-pagespeed] name=mod-pagespeed baseurl=http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64 enabled=1 gpgcheck=0

Then install mod-pagespeed

yum install mod-pagespeed

I had deflate.conf in /etc/httpd/conf.d already, so i disabled it by changing its name.

mv deflate.conf deflate.conf.disabled

I also allowed seeing the mod_pagespeed stats by adding my ip address to . . . → Read More: How to install mod_pagespeed on Centos

How To Install HTML Tidy for on Centos for W3 Total Cache WordPress Plugin

I could not find a yum package that installed HTML tidy, but found that I could install it when I installed php-tidy. The command is;

yum install php-tidy

 

 

The Best Open Source Developer/System Admin Text Editor

notepadplusplus

When ever I re-install windows one of the first tools I install is notepad++, it a very versatile text editor and is always open on my desktop.

It has some great features, including;

Tabbed document interface Drag-and-drop Multiple Clipboard (plugin required) Split screen editing and synchronized scrolling Spell checker (requires Aspell) (Spell . . . → Read More: The Best Open Source Developer/System Admin Text Editor

Windows Vista/7 cannot get IP Address from DHCP Server

This article was wrote by Rafael Marangoni from Servidor Linux Team.

Sometimes, Windows Vista/7 cannot get Ip Address from a Linux DHCP Server. This howto explains howto solve this questions.

1. Click Start Type regedit in the Start Search box and then click regedit in the Programs list. User Account Control permission If you . . . → Read More: Windows Vista/7 cannot get IP Address from DHCP Server

Start Services Automatically on Centos Using the Command Line

Replace mysqld with the name of the service you want to stop.

service mysqld start service mysqld stop

If you want to start them automatically;

chkconfig [name] on chkconfig [name] off

For example;

chkconfig mysqld on chkconfig mysqld off

How to install mysql-server on centos 5.4

Very simple instructions.

Install mysql server via yum

yum install mysql-server service mysqld start

Then set root password PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password ‘new-password’ /usr/bin/mysqladmin -u root -p -h code.dms.local password . . . → Read More: How to install mysql-server on centos 5.4