Posted on September 1st, 2011 by
John R Live in
Development
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
Posted on August 18th, 2011 by
John R Live in
Wordpress
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
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