How to install RoR on Ubuntu

When installing Ubuntu 10.04 server choose the following packages: LAMP and SSH After you install Ubuntu 10.04 always get the latest packages to this run: sudo apt-get update Install Git, curl, and build-essential: sudo apt-get install build-essential git-core curl With git-core ...

Read More

How To Secure Your WordPress Blog

Getting a website hacked is occurring more often nowadays. You just have to read the news to know who these high profile hackers are. Hackers like Anonymous and Lulz have dominated the headlines recently hacking high profiled websites such as government websites like the CIA. The...

Read More

Problem Shutting Down FreeBSD

FreeBSD doesn’t shutdown properly when I type “shutdown now”, the system runs and “Enter full pathname of shell or RETURN for /bin/sh” appears. Here is how to fix that: $ shutdown -p now To learn more check out the FreeBSD manual here: http://www.fre...

Read More

How to install Python 2.7 on FreeBSD

To install Python v 2.7 just type the following in shell 1. Install Python 2.7 #  pkg_add -v -r python27 2. To install Apache: # cd /usr/ports/www/apache22 # make config Make sure ‘THREADS’ is selected and review other options before selecting OK. # make &&...

Read More

FreeBSD Static IP Routing Configuration

1. Open up the file rc.conf # vi /etc/rc.conf 2. Now add the following line ifconfig_interface=”inet 192.168.1.1 netmask 255.255.255.0″ substitute interface with your interface(eg:rl0,rl1,fxp0,em0..) substitute 192.168.1.1 with your desired lan ip. Now type <ESC>...

Read More

How to Restart Windows via Remote Desktop

The Shutdown command is not available on the Start menu to shut down and restart, when you are using Remote Desktop. To shut down a remote computer when you are using Remote Desktop, press CTRL+ALT+END, and then click Shutdown. Or, use the shutdown command at a command prompt. ...

Read More

How to install Ruby on Rails in FreeBSD

1. Install ruby 1.8 # pkg_add -r -v ruby 2. Install Ruby Gems and Rails # pkg_add -r -v rubygem-rails 3. Install apache # pkg_add -r -v apache22 4. Install Passenger (aka mod_rails) # pkg_add -r -v rubygem-passenger 5. Add lines to LoadModule passenger with apache # nano /usr/loc...

Read More

Tagged As: , , , ,

How to check if ssh is running on FreeBSD

Here are some command to check if ssh deamon is running on your FreeBSD box. # pgrep ssh or you can type: # top ...

Read More

Tagged As: , , , , ,

How to install ports on FreeBSD

Before you can install ports, you must first obtain the Ports Collection–which is essentially a set of Makefiles, patches, and description files placed in /usr/ports. When installing your FreeBSD system, sysinstall asked if you would like to install the Ports Collection. If...

Read More

Tagged As: , ,

How to install bash on FreeBSD

First you want to check what shell you have currently installed becuase you might have bash installed but just not activated. Go to freebsd terminal and type # shell To install bash via compile method type: # cd /usr/ports/shells/bash # make install clean OR To install package # ...

Read More