How-To setup Fedora Linux 15 as LAMP server

Aside

This short guide demonstrates how to setup Fedora 15 as a LAMP server containing Apache, PHP, Perl, Python, Ruby and MySQL.

You have to use the shell and be able to use the machine as  root.


sudo
yum install httpd
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mapserver php-mbstring php-mcrypt php-mhash php-mssql php-shout php-snmp php-soap php-tidy curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel
yum install mysql mysql-devel mysql-server
yum install httpd-devel ruby ruby-devel
yum install mod_python
yum install mod_perl
yum install perl-HTML-Parser perl-DBI perl-Net-DNS perl-Digest-SHA1 perl-ExtUtils-AutoInstall perl-NetAddr-IP perl-Archive-Tar
/etc/init.d/httpd restart

Now you have got everything installed except for mod_ruby – so that`s the next step;

cd /tmp
wget http://modruby.net/archive/mod_ruby-1.3.0.tar.gz
tar zxvf mod_ruby-1.3.0.tar.gz
cd mod_ruby-1.3.0/
./configure.rb --with-apr-includes=/usr/include/apr-1
make
make install
/etc/init.d/httpd restart

You have to add mod_ruby by hand in /etc/httpd/conf.d/ruby.conf
By adding

LoadModule ruby_module modules/mod_ruby.so

Linux Kernel 2.6.39 installation guide for Ubuntu Linux

Aside

This short walkthrough describes how to get the latest linux kernel working under Ubuntu Linux without having to compile it yourself.

This tutorial should work with the latest version of Ubuntu Linux (10.04 LTS, 10.10, 11.04 and 11.10) and most distributions based on these versions of Ubuntu Linux like Mint.

The included kernel files have been compiled using the generic ubuntu configuration.
Note: nVIDIA ForceWare drivers are automatically installed using DKMS, if you have these installed and up-to-date.

Installation Guide

  1. Download the kernel headers package;

    linux-headers-2.6.39-020639_2.6.39-020639.201105190911_all.deb
  2. And the appropriate package for your system

    I386: linux-headers-2.6.39-020639-generic_2.6.39-020639.201105190911_i386.deb

    AMD64: linux-headers-2.6.39-020639-generic_2.6.39-020639.201105190911_amd64.deb
  3. And the accompanying compiled kernel;

    I386: linux-image-2.6.39-020639-generic_2.6.39-020639.201105190911_i386.deb

    AMD64: linux-image-2.6.39-020639-generic_2.6.39-020639.201105190911_amd64.deb
  4. Install the files in the same order (else it won`t work!)
  5. In the terminal run:

    sudo update-grub
  6. Reboot and select the kernel from the bootloader menu

    If it`s not there check all steps (and of course for errors)

The source can be found on www.kernel.org

Linux Kernel 2.6.38 installation guide for Ubuntu Linux

Aside

This short walkthrough describes how to get the latest linux kernel working under Ubuntu Linux without having to compile it yourself.

This tutorial should work with the latest version of Ubuntu Linux (10.04 LTS, 10.10, 11.04) and most distributions based on these versions of Ubuntu Linux like Mint.

The included kernel files have been compiled using the generic ubuntu configuration.
Note: nVIDIA ForceWare drivers are automatically installed using DKMS, if you have these installed and up-to-date.

Installation Guide

  1. Download the kernel headers package;

    linux-headers-2.6.38-020638_2.6.38-020638.201103151303_all.deb
  2. And the appropriate package for your system

    I386: linux-headers-2.6.38-020638-generic_2.6.38-020638.201103151303_i386.deb

    AMD64: linux-headers-2.6.38-020638-generic_2.6.38-020638.201103151303_amd64.deb
  3. And the accompanying compiled kernel;

    I386: linux-image-2.6.38-020638-generic_2.6.38-020638.201103151303_i386.deb

    AMD64: linux-image-2.6.38-020638-generic_2.6.38-020638.201103151303_amd64.deb
  4. Install the files in the same order (else it won`t work!)
  5. In the terminal run:

    sudo update-grub
  6. Reboot and select the kernel from the bootloader menu

    If it`s not there check all steps (and of course errors)

The source? www.kernel.org

Microsoft Mathematics 4.0 released

Aside

On World Maths day (february 28th) Microsoft released Mathematics 4.0 and it`s add-in for Word and OneNote.

Microsoft Mathematics 4.0 provides a set of mathematical tools that help students get school work done quickly and easily. With Microsoft Mathematics, students can learn to solve equations step-by-step while gaining a better understanding of fundamental concepts in pre-algebra, algebra, trigonometry, physics, chemistry, and calculus.

Features

  • A full-featured graphing calculator
  • The Formulas and Equations Library
  • The Triangle Solver
  • The Unit Conversion tool
  • Ink handwriting support

Downloads

Bash 4.2 installation for Linux

Aside

This guide is for almost every Linux distribution.

Prerequisite is that you have the required build tools installed already.

If not, do the following step:

Debian and Ubuntu users way;

sudo apt-get install build-essential

The Fedora/Red Hat way:

sudo yum groupinstall "Development Tools" "Legacy Software Development"

First step is getting the source package

wget http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz

Next step is compiling and installing it;

tar xf bash-4.2.tar.gz
cd bash-4.2
./configure
make
sudo make install
sh