Installation

How To Install Scientific Linux 6.1

The base SL distribution is basically Enterprise Linux, recompiled from source. Their main goal for the base distribution are to have everything compatible with Enterprise, with only a few minor additions or changesScientific Linux 6.1 is a Linux release put together by Fermilab, CERN, and various other labs and universities around the world. Its primary purpose is to reduce duplicated effort of the labs, and to have a common install base for the various experimenters.

Burn Image to DVD and Boot Computer Using Scientific Linux 6.1 Installation DVD
Install The Base System
Boot from your Scientific Linux 6.1 DVD. Select “Install or Upgrade an existing system” and press enter at the boot prompt
It can take a long time to test the installation media so we skip this test here
Congratulations!. Welcome screen appears. Select OK
Choose your language next
Select your keyboard layout
Choose your time zone
Give root a passwordIf you enter a weak password then you will receive a warning message. So it’s highly recommended to select a STRONG Password
Now we must select a partitioning scheme for our installation. For simplicity’s sake I select Replace existing Linux system. Then select OK
Select write changes to disk. THIS WILL DESTROY ALL DATA ON SELECTED PARTITION! BE CAREFUL
The hard drive is being formatted
If you have multiple network devices on this system , you have to specify which network device is active
Configure your network interface
The installer checks the dependencies of the selected packages
Continue reading “How To Install Scientific Linux 6.1” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 16, 2011 at 7:31 pm

Categories: Installation, Linux   Tags:

Installing MySQL Administrator Tool To Connect To Remote Databases

step-by-step instructions on how to install MySQL Admin tool on an Ubuntu 11.04 system and how to connect to a remote host with it. This should also work on most Debian based operating systems.

Installing MySQL Administrator
the name of the tool using command line

apt-cache search mysql | grep admin

that the package we are looking for is called

mysql-admin – GUI tool for intuitive MySQL administration

install it with command

sudo apt-get install mysql-admin

Using MySQL Administrator

Continue reading “Installing MySQL Administrator Tool To Connect To Remote Databases” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 13, 2011 at 2:04 am

Categories: Installation, MySQL   Tags:

Installing Alfresco 3.4.d On Fedora 15

how to install and setup Alfresco Content Server Community Edition by “Alfresco Software inc.” on a Fedora 15 based webserver from a WAR package on a Tomcat webserver with postgreSQL database as backend. For other distributions there might be minor changes as to the software prerequisites installation procedures. I took my time to write this tutorial up, since I was unable to find any complete setup procedure on the Internet, mainly because there is a .bin executable, which install all in one easy step. Therefore this guide is intended to those who, like me, want to have as much control and understanding as possible and for those, who would want to install this server into already existing infrastructure and do not wish to dig wiki pages much. Moreover, by default, server from .bin installation runs as root and this is a potential threat to security. This guide will not only help install the product, but also understand why certain points are done the way they are done

What is Alfresco?
There are two versions of it, non-free Enterprise edition which includes classic commercial support from developer and a free Community edition, whereas the only support you get are posts across the Internet from others brave souls.

Links to several sections of developer:

Product homepage: http://www.alfresco.com/
Forums: http://forums.alfresco.com/en/
Documentation: http://docs.alfresco.com/3.4/index.jsp
Support: http://support.alfresco.com/

Preliminary Note

Fedora 15 DVD installation media

Hostname: alfresco.example.com

IP address: 192.168.1.100

Router address: 192.168.1.1

Netmask: 255.255.255.0

First system user (not root): alfadmin

Assume (imagine) that the server is connected to the public Internet
Continue reading “Installing Alfresco 3.4.d On Fedora 15” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 12, 2011 at 1:46 am

Categories: Fedora, Installation   Tags:

Running phpMyAdmin On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04

shows how you can use the Debian Squeeze/Ubuntu 11.04 phpMyAdmin package in an nginx vhost. Nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files
1 Preliminary Note
have a working LEMP installation (this includes the MySQL installation), as shown in these tutorials:

Installing Nginx With PHP5 And MySQL Support On Debian Squeeze
Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Ubuntu 11.04

A note for Ubuntu users:

Because we must run all the steps from this tutorial with root privileges, we can either prepend all commands in this tutorial with the string sudo, or we become root right now by typing

sudo su

2 Installing APC

APC can be installed

apt-get install php-apc

use PHP-FPM as your FastCGI daemon

/etc/init.d/php5-fpm restart

Run

netstat -tap

the PID of the current spawn-fcgi process

root@server1:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:sunrpc                *:*                     LISTEN      734/portmap
tcp        0      0 *:www                   *:*                     LISTEN      2987/nginx
tcp        0      0 *:ssh                   *:*                     LISTEN      1531/sshd
tcp        0      0 *:57174                 *:*                     LISTEN      748/rpc.statd
tcp        0      0 localhost.localdom:smtp *:*                     LISTEN      1507/exim4
tcp        0      0 localhost.localdom:9000 *:*                     LISTEN      1542/php5-cgi
tcp        0      0 localhost.localdo:mysql *:*                     LISTEN      1168/mysqld
tcp        0     52 server1.example.com:ssh 192.168.0.198:2462      ESTABLISHED 1557/0
tcp6       0      0 [::]:www                [::]:*                  LISTEN      2987/nginx
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      1531/sshd
tcp6       0      0 ip6-localhost:smtp      [::]:*                  LISTEN      1507/exim4
root@server1:~#

kill the current process

kill -9 1542

create a new spawn-fcgi process

/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www-data -g www-data -f /usr/bin/php5-cgi -P /var/run/fastcgi-php.pid

3 Vhost Configuration
document root of my www.example.com web site is /var/www/www.example.com/web – if it doesn’t exist

mkdir -p /var/www/www.example.com/web

create a basic nginx vhost configuration

vi /etc/nginx/sites-available/www.example.com.vhost

Continue reading “Running phpMyAdmin On Nginx (LEMP) On Debian Squeeze/Ubuntu 11.04” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 8, 2011 at 9:21 pm

Categories: Debian, Installation, Linux, Nginx, Web Server   Tags:

How To Make Your Own (Almost) Chromebook

Google Chromebook using Hexxeh’s Chromium OS build. All you need is a 2GB USB stick and a bit of time. It also makes a nice portable operating system as well.

Why Make A Near Chromebook?

It is a great way to repurpose an old netbook, laptop or desktop.
It shows the potential of a total browser environment, everything is accessed from the web.
It is a good way to see if a Chromebook might meet your needs.

Background
In December 2010 Google gave away a bunch of test Chromebook systems (Cr-48)s to consumers for testing and getting feedback. In June and July of 2011 Samsung and Acer respectively have begun to offer Chromebooks for sale.

As Google makes the Chrome OS source code available several people have rebuilt the Chrome OS into the Chromium OS. Chromium OS does not have any additional code or services that Google may include with Chrome OS.your

Hexxeh’s Builds

Vanilla and his customized version, currently Flow. Vanilla is built nightly from the latest Chromium OS source code. Flow is a heavily customized version that is designed to be more user friendly. Flow is more polished and is the one I will be using in this HowTo.

Compatibility Guide

It is available in the Wiki for Flow at http://ChromeOS.hexxeh.net/wiki/doku.php

The official Chromium OS compatibility guide is available at http://www.chromium.org/chromium-os/getting-dev-hardware/dev-hardware-list

Where is the fun in reading a compatibility guide? Isn’t it more fun to setup a USB stick and try it out :-)
Trying it Out

The first step is to download the latest version of flow from Hexxeh’s page at http://ChromeOS.hexxeh.net/ here it is available in USB version or a VMware image

Continue reading “How To Make Your Own (Almost) Chromebook” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 5, 2011 at 8:29 pm

Categories: Installation, Linux   Tags:

Installing Windows Software With Wine

supposed to show you how to install .exe files on your Linux system

1 Preliminary Note

however the steps should not differ greatly from other distributions. The software I am going to use as an example will be VLC Player. I am aware that there is a version of VLC for Linux, in some cases even preinstalled, but it serves well for the purpose of guiding through the steps of installation.

2 Install Wine

Open the Package Manager and search for it. Click the checkbox next to it and select Mark for Installation.

install the dependencies. Click Mark in the appearing window

Click Apply in the main window

clicking Apply on the new window. Wine is now being downloaded and installed

3 Install Windows Software

Continue reading “Installing Windows Software With Wine” »

Be the first to comment - What do you think?  Posted by Aniruddh - at 8:29 pm

Categories: Installation, Linux   Tags:

How To Upgrade OpenSUSE 11.4 To 12.1

This guide shows how you can upgrade your OpenSUSE 11.4 desktop and server installations to OpenSUSE 12.1.

1 Preliminary Note
Since the Wagon method is less tested than the command line update, we will use the command line method here for both servers and desktops.
2 Installing the Latest Updates
install the latest updates for OpenSUSE 11.4. Open a terminal/command line window and run

zypper repos --uri
server1:~ # zypper repos --uri
# | Alias                            | Name                             | Enabled | Refresh | URI
--+----------------------------------+----------------------------------+---------+---------+------------------------------------------------------------------------------------------------
1 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     | http://download.opensuse.org/update/11.4/
2 | openSUSE-11.4-11.4-0             | openSUSE-11.4-11.4-0             | Yes     | No      | cd:///?devices=/dev/disk/by-id/ata-VMware_Virtual_IDE_CDROM_Drive_10000000000000000001,/dev/sr0
3 | repo-debug                       | openSUSE-11.4-Debug              | No      | Yes     | http://download.opensuse.org/debug/distribution/11.4/repo/oss/
4 | repo-debug-update                | openSUSE-11.4-Update-Debug       | No      | Yes     | http://download.opensuse.org/debug/update/11.4/
5 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     | http://download.opensuse.org/distribution/11.4/repo/non-oss/
6 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     | http://download.opensuse.org/distribution/11.4/repo/oss/
7 | repo-source                      | openSUSE-11.4-Source             | No      | Yes     | http://download.opensuse.org/source/distribution/11.4/repo/oss/
server1:~ #

Continue reading “How To Upgrade OpenSUSE 11.4 To 12.1” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 2, 2011 at 7:52 pm

Categories: Installation   Tags:

Creating Your Own Distributable Ubuntu DVD

This can be done using a software called Remastersys. This article is about how to create a DVD image of the Ubuntu distribution on your machine with the exact same software included on the disk.Remastersys allows you to either create iso-backups of your whole system, including the home folder, or just backups of the installed software, leaving the home folder aside

1 Preliminary Note
If you want to burn it on a DVD, remember that the image may not surpass the maximum size of 4 GB. In most cases, this makes it impossible to include the home folder to the image since it may be the largest folder on your system. aware of what you want to do with the created iso-image.

I have tested Remastersys on Linux Mint 11 and it works properly on my machine.

2 Install Remastersys
open the sources.list

sudo gedit /etc/apt/sources.list
[...]
# Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/

to update your package list

Continue reading “Creating Your Own Distributable Ubuntu DVD” »

Be the first to comment - What do you think?  Posted by Aniruddh - November 1, 2011 at 6:19 pm

Categories: Automation, Installation, Ubuntu   Tags: