Notes on setting up Linux server Brianna

A new Linux server is available to support laptop operation starting on 2/24/2014.
These are the necessary steps to set up the server.

1. Install Fedora Core 11 (disc 942) since the hardware platform is not suitable for cpu-intensive tasks such as ffmpeg. This is an old Celeron with limited memory capacity (only 448 MB with 320 GB hard disk).

2. Change /etc/inittab to run in multi-user console mode.
# Default runlevel. The runlevels used are:
# 0 – halt (Do NOT set initdefault to this)
# 1 – Single user mode
# 2 – Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 – Full multiuser mode
# 4 – unused
# 5 – X11
# 6 – reboot (Do NOT set initdefault to this)
id:3:initdefault:

3. Assign static IP address (Brianna at .118). Check adapter address on Angelina (.108).
/etc/rc.local
ifconfig eth0 xxx.xxx.xxx.118 netmask 255.255.255.0 up

4. Disable SELinux policy in /etc/selinux/config
SELINUX=disabled

5. Set up SMB for Windows access.
yum install samba
Modify the following lines at /etc/samba/smb.conf
workgroup = Linux
server string = Brianna 1.0 GHz Celeron
hosts allow = 192.168.224.
[documents]
path = /home/xxxx/Documents
writeable = yes
browseable = yes
valid users = xxxx

6. Set up SSH on Angelina for console access.
7. Yum install httpd (use ClearSpot USB access).
yum install httpd
yum install httpd-devel

8. Set up the MySQL 5 databasẹ
yum install mysql
yum install mysql-devel

9. Set up php 5.2 package.
yum install php

10. Set up GIMP graphic package.
yum install gimp

11. Change the behavior of the console prompt at /root/ and ~
cat .bash_profile
PATH=$PATH:$HOME/bin
export PATH
export HISTSIZE=10000
export HISTCONTROL=erasedups
shopt -s histappend
PATH=$PATH:/sbin:/usr/sbin
PS1=’! u w % ‘