Posted on July 17th, 2011 by
John R Live in
Development
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
Posted on July 14th, 2011 by
John R Live in
Development
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
Posted on July 14th, 2011 by
John R Live in
Development
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
Posted on May 31st, 2011 by
John R Live in
Tech
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
Posted on May 25th, 2011 by
John R Live in
Tech
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: bsd, freebsd, rails, ror, ruby
Posted on May 25th, 2011 by
John R Live in
Tech
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: bsd, freebsd, howto, pgrep, ssh, top
Posted on May 25th, 2011 by
John R Live in
Tech
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: freebsd, how to, ports
Posted on May 25th, 2011 by
John R Live in
Tech
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
Posted on May 3rd, 2011 by
John R Live in
Development
In terminal type the following, this will install the libraries that are needed for PostgreSQL development. $ sudo apt-get install libpq-dev
...
Read More
Posted on August 25th, 2010 by
John R Live in
Video
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