web analytics

BOINC

BOINC is an open-source volunteer oriented distributed computing grid. It’s free, and harnesses the unused clock cycles from processors and graphics cards to attempt to cure cancer/AIDS/Ebola, map the Milky Way galaxy, fold proteins, search for extraterrestrial life, and others.

Setup vsftpd For Users In Ubuntu Server 12.04

To install vsftpd in Ubuntu Server 12.04, do the following
First, install it:

sudo apt-get install vsftpd

Next, edit the vsftpd configuration file to allow users to edit their own files:

sudo vim /etc/vsftpd.conf

Disable anonymous browsing by setting this line

anonymous_enable=NO

Enable user to access the ftp:

local_enable=YES
write_enable=YES
local_umask=022
chroot_local_user=YES

Then add one last line for the increased checking now:

local_root=/home

Finally, restart the ftp daemon:

sudo restart vsftpd

Enable UserDir Apache2 Configuration In Ubuntu 12.04

To enable the UserDir configuration in Ubuntu 12.04, do the following:
Enable the mod:

sudo a2enmod userdir

Now, edit the userdir configuration file:

sudo vim /etc/apache2/mods-enabled/userdir.conf

Change the AllowOverride line to:

AllowOverride All

Change the Options line to:

Options ExecCGI

Next, edit the php5 configuration file:

sudo vim /etc/apache2/mods-enabled/php5.conf

Find the line that begins with php_admin_value and put a comment character (#) in front of it.
Restart apache2:

sudo service apache2 restart

Finally, create a public_html folder to put the files into:

cd
mkdir public_html

Install VMWare Tools On Ubuntu Server 12.04

To install VMWare tools on Ubuntu Server 12.04, do the following:

Install gcc:

sudo apt-get install build-essential

In vSphere, Select Install/Upgrade VMWare Tools. Next, mount the CD ISO:

sudo mount /dev/cdrom /media/cdrom

Now, move the installer file to the local system and extract it:

Note: Below, replace <TAB> with the TAB key on your keyboard!

cd /tmp
cp /media/cdrom/VM<TAB> .
tar xzvf VM<TAB>

Finally, run it:

cd vmware-tools-distrib
sudo ./vmware-install.pl

How To Set A Static IP Address In Ubuntu Server 12.04

Edit the network interface file:

sudo vim /etc/network/interfaces

Change the file to the following:

# The primary network interface
auto eth0
iface eth0 inet static

address 192.168.0.10
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
gateway 192.168.0.1
dns-nameservers 8.8.8.8 8.8.4.4

Finally, restart the service:

sudo /etc/init.d/networking restart