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

gem install postgres ERROR

In terminal type the following, this will install the libraries that are needed for PostgreSQL development. $ sudo apt-get install libpq-dev ...

Read More

Top 6 YouTube News Bloopers

I have decided to post six of my favorite news bloopers from YouTube. I hope you enjoy and can share with your friends the good laugh (I know, I did). 1. This reporter goes from well spoken to ghetto in about three seconds. 2. A 7.2 Magni-turd earthquake is serious stuff indeed, ...

Read More