Posted on March 19th, 2012 by
John R Live in
Development
Creating a New User in CentOS ssh to your server as root Create a user: /usr/sbin/useradd john Expire ther user immediately: /usr/bin/chage -d 0 john Set blank password: /usr/sbin/usermod -p “” john If you want to set the user’s password: su john passwd
...
Read More
Tagged As: CentOS, create user, how to, linux
Posted on December 12th, 2011 by
John R Live in
Development
How to select the version of rails when you want to create a new rails application: $ rails _3.0.0_ new appname
...
Read More
Tagged As: rails, ror
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 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 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