Computing Resources & Admin
How to make your account secure
http://www.puschitz.com/SecuringLinux.shtml#EnforcingStrongerPasswords
computing nodes AND scripts for node set up
all computers available in the lab and scripts for node setup
Important: How to set up a node or WS
Obsoltete: node set up http://biomol.bme.utexas.edu/wiki/index.php/Sysadmin:nodes#Node_Setup
yum
if stopped in the middle, run /usr/sbin/yum-complete-transaction
rpm -e dbus-1.1.2-21.el5.i386 dbus-devel-1.1.2-21.el5.i386 --nodeps
rpm -qa |grep xxx
rpm clean all
compile mpich2
- 2014/9/25
- download tarball
wget http://www.mpich.org/static/downloads/1.4.1p1/
- untar it to /opt/mpich2-1.4.1p-source
- configure on bme-sugar (centos 6.5)
source ~pren/.cshrc.f13 mkdir ../mpich2-1.4.1p1 ./configure -prefix=/opt/mpich2-1.4.1p1 F77=ifort CC=icc FC=ifort make |& tee m.txt make install
<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">
Below is a rendering of the page up to the first error.
</parsererror>
NVIDIA driver
On BME-sugar, after boot, could not go to login screen, froze at centos 6.5 "bar screen". Internet pointed to errors in xorg.conf file, but we couldn't find xorg.conf.
Fixed by installing latest NVIDIA driver, removing any incompatibilities
echo 'blacklist nouveau' >> /etc/modprobe.d/disable-nouveau.conf echo 'nouveau modeset=0' >> /etc/modprobe.d/disable-nouveau.conf
Fedora ships nouveau as part of the boot image. That’s why blacklisting a la Step #4 is not sufficient. We need to pass a parameter to the kernel at boot time that stops nouveau from loading. In your file /boot/grub2/grub.cfg (or /etc/grub/) find the line that loads the kernel (yours might look slightly different but should start similarly):
linux /vmlinuz-3.6.3-1.fc17.x86_64 root=/dev/mapper/vg_fedo-lv_root ro rd.lvm.lv=vg_fedo/lv_swap rd.md=0
SYSFONT=True rd.lvm.lv=vg_fedo/lv_root rd.luks=0 KEYTABLE=es LANG=en_US.UTF-8 rdblacklist=nouveau rhgb quiet
Also possible to rebuilt initramfs: https://www.advancedclustering.com/act_kb/installing-nvidia-drivers-rhel-centos-7/
Reboot your machine to make sure you are running the newest kernel
Edit /etc/default/grub. Append the following to “GRUB_CMDLINE_LINUX”
rd.driver.blacklist=nouveau nouveau.modeset=0
Generate a new grub configuration to include the above changes.
grub2-mkconfig -o /boot/grub2/grub.cfg
Edit/create /etc/modprobe.d/blacklist.conf and append:
blacklist nouveau
Backup your old initramfs and then build a new one
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)
NOVA (old)
9650SE-16ML, 3DM 2
3dm2-cli software: http://mycusthelp.info/LSI/_cs/AnswerPreview.aspx?sSessionID=&inc=8262
bme-uranus (old nova) raid monitor 3ware
On me-uranus, run as root: /usr/local/bin/tw_cli info c0 u0
Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB) ------------------------------------------------------------------------ u0 RAID-6 REBUILDING 87%(A) - - 64K 13038.4 u0-0 DISK OK - - p4 - 931.312 u0-1 DISK OK - - p3 - 931.312 u0-2 DISK OK - - p2 - 931.312 u0-3 DISK OK - - p1 - 931.312 u0-4 DISK OK - - p0 - 931.312 u0-5 DISK OK - - p5 - 931.312 u0-6 DISK OK - - p6 - 931.312 u0-7 DISK DEGRADED - - p7 - 931.312 u0-8 DISK OK - - p8 - 931.312 u0-9 DISK OK - - p9 - 931.312 u0-10 DISK OK - - p10 - 931.312 u0-11 DISK OK - - p11 - 931.312 u0-12 DISK OK - - p12 - 931.312 u0-13 DISK OK - - p13 - 931.312 u0-14 DISK OK - - p14 - 931.312 u0-15 DISK OK - - p15 - 931.312 u0/v0 Volume - - - - - 60 u0/v1 Volume - - - - - 12978.4
or
To see the drive information, you can log into bme-uranus as ROOT, start a Internet Browser (I use opera), and enter address https://127.0.0.1:888 and approve security warning. The 127.0.0.1 address refers to local (were you start the browser). Now you should see log in information, chose “Adminstratior” and enter root password, you can see the raid information. We have one unit 0 which is the whole raid, and 15 subunits, each correspond to one physical drive. You should see the one on port 7 says “degraded”.
New User Account Setup
OpenGL 3D setup
Nodes with large memory
nodes with large memory for QM
Guest users
We don’t use queue so you just login these nodes to run your job.
You need to ssh into “bme-venus.bme.utexas.edu” first, and then "ssh nova”. Nova is the header node. From there you can start your job by doing "ssh node120 xxx” where xxx is your simulation script. You can write your own script to submit a bunch of job to these nodes (check the availability and skip if the node is busy). Your home directory is shared among nova and all nodes vis NFS. If you write to disk very often, you should put your job on local disk /scratch on each node instead of the NFS mounted home directory.
The node activities can be monitored here: http://biomol.bme.utexas.edu/ganglia/?c=NOVA&m=load_one&r=hour&s=by%20name&hc=4
Ganglia howto
how to install ganglia monitoring
Old how to
before 2010
BIGDATA set up
first make all drives un-configured good (reboot helps)
Configuration wizard: add 0-22 drives to the group (23 will be made hotspare next).
Add the DG to span, then virtual drive 1 (100 GB). Go back to do another VD (the remaining 80 TB).
Install the OS on the first VD. The second one will be data (free) during centos 6.4 installation.
Remember to "view and customize the partition and packages". Add scalable file systems etc.
To monitor and manage, run megaraid.sh in ~root/
/usr/local/MegaRAID\ Storage\ Manager/startupui.sh
restart MSM service (if server not found): /etc/init.d/vivaldiframeworkd restart
5/2013
Wake on lan for big data
http://www.mythtv.org/wiki/Wake-on-LAN eth1: from water ether-wake 00:25:90:C4:4E:9F
3/22/2013 APC UPS
How to configure shut off the NOVA nicely when power is running out:
http://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-install-apcups/
yum install apcupsd
vi /etc/default/apcupsd
ISCONFIGURED=yes
You need to connect the UPS to your server using cable. You will see the following entry in /var/log/messages
Jul 28 14:11:18 nas02 kernel: [ 3.060349] usb 2-1: Product: Back-UPS RS 1500 FW:8.g9a.I USB FW:g9a Jul 28 14:11:18 nas02 kernel: [ 5.348979] generic-usb 0003:051D:0002.0001: hiddev0,hidraw0: USB
Edit /etc/apcupsd/apcupsd.conf, enter:
# vi /etc/apcupsd/apcupsd.conf
Note: don;t change the UPS name; you may see errors.
/etc/init.d/apcupsd start chkconfig apcupsd on apcaccess
Nodes installed with new WestDigit Black 320GB laptop HDD
100 103 108 110 111 112 115 117 119 123 126 134 136 138 140 145
selinux
SELINUX
setsebool -P use_nfs_home_dirs 1
restorecon -R -v /home/root/.ssh
/usr/sbin/setsebool -P httpd_enable_homedirs 1
/usr/sbin/setsebool -P httpd_can_network_connect=1
Yum update
package-cleanup --dupes yum clean all and after that: yum clean metadata
Using yum on nodes
- Yum can be used on nodes with squid server (bme-sun)
- Make sure the following lines are in bme-sun:/etc/squid/squid.conf
acl our_networks src 10.0.0.0/24 http_access allow our_networks
- Run the following (not done by default)
/etc/init.d/squid start
- Put the following line in /etc/yum.conf on node:
proxy=10.0.0.1:3128
- Run yum commands on node
yum install scipy
- Stop squid server on bme-sun after you're done:
/etc/init.d/squid stop
/opt
/opt is backed up to /work/opt by /work/syncopt.sh
user setup
remote ssh and VNC
- secure ssh client is aviable at UT bevoware UTEID reuqired
- use putty
- vnc via putty, so you can see the remote workstation desktop in the lab on your home PC
- freenx, buggy with fedora 8, disabled for now because selinux
Ganglia: Monitor nodes activities
- Install ganglia: installation howto
- CPU frequency scaling is on sometime by default
**/usr/sbin/cpufreq-selector -g performance The first CPU core will run at 100% afterwards. This command however only affect the first core. ** Do the following to change the other cores: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
yum security update
sync time
master.bme (10.0.0.1) is set up ad local server
/usr/sbin/ntpdate -u 10.0.0.1
or use ntpd (/opt/syste-setup/ntp.conf) or system-config-time
mail server for centos 5
follow this http://www.linuxmail.info/securing-squirrelmail-using-ssl/ need to install mod_ssl
redirect / to https n /etc/httpd/conf.d/sqroot.conf we can change /webmail later if need this host <VirtualHost *:80> DocumentRoot /usr/share/squirrelmail redirect permanent / https://water.bme.utexas.edu/webmail </VirtualHost>
Last issue was resolved by restarting clamd.
The problem now is: Apr 29 18:03:06 www_01 MailScanner[4178]: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed. ERROR :: /var/spool/MailScanner/incoming/4178
I was able to resolve this one with help from this link http://www.nuonce.net/support/viewthread.php?tid=1856 and setting ‘Virus Scanners = clamav’ in /etc/MailScanner/MailScanner.conf file.
Thanks, Vince
PDA phone
Bluetooh for treo 700w. pdanet - enable DUN on the pda pair device delete device from active sync if you had old device (or after you have reinstalled your treo) From treo, sync using bluetooth (ActiveSync menu)
TINKER
TINKER/ffe for windows, need jvm.dll in the path, or copy it to the bin directory C:\Program Files\TINKER\jre\bin\client
temperature monitor
On SUN and BIOMOL, run gkrellm
Biomol, core 0/1, 0/1, 27-32 C is normal. SUN, 16-22 C.
To install lmsensor on sun:
yum install ksensors
run
/usr/sbin/sensors-detect sensors -h sensors
On biomol, this script works for hd monitoring: /usr/sbin/smartctl -a -d ata /dev/sda | egrep -i "Celsius|Current" | grep Temp
From: johnny.c.wu@gmail.com [1] On Behalf Of Johnny Sent: Wednesday, October 20, 2010 11:22 PM To: Ren, Pengyu Cc: John Fonner; Zhen Xia Subject: Re: node 100-110 are down
This command gives you the temperature of all nodes:
/opt/system-setup/nodes/cmd-node.sh /opt/system-setup/nodes/nodes-6.112.txt "hostname; sensors"
Update wiki
Wiki on biomol is now updated from 1.13 to 1.18.
First upgrade to 1.15.
Update libxml2 with yum first Backup the wiki dir backup the /var/lib/mysql copy mediawiki-1.15/* to wiki/ Make sure admin.php is the same Make sure retain the old Localsettings.php Go to maintenance/, run "php update.php"
Then go to 1.18
image/.htaccess has to be removed (due to error).
move/merge wiki
Use
special:export special:import
Image and files can be copied from images/ into a directory, them import using
php maintenance/importImages.php ~pren/Dropbox/Images/
I had to temporarily disable WhitelistedNamespaces in localsettings.php
Move wiki
migrate wiki
To move wiki first install all the packages according to http://www.mediawiki.org/wiki/Installation
install php-mysql enable using chkconfig --level 345 xxx on (xxx is mysqld, httpd)
create wiki database
copy /val/lib/mysql (not just wiki under it). Wiki use mysql to store all the articles!
copy /var/www/html/wiki
To remount read-only file system during repair: mount -o remount,rw /
to upgrade wiki, download and unzip the mediawiki. reade UPGRADE (run "php update.php" in maintanence)
To enable math, download texvc and put the binary in math
in localsetting.php:
$wgUseTeX = false;
to
$wgUseTeX = true;
Then add the following lines to the end of the file:
$wgUploadPath = "images";
$wgUploadDirectory = "images";
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
Change the owner of images/ math to apache.
You can let non-login users to read a particular page or restrict all users but root to read a page. See localingsetting.php
Install wiked (better editor): http://en.wikipedia.org/wiki/User:Cacycle/wikEd_installation#Site-wide_installation
MediaWiki:Common.js
wiki rich editor
Mediwiki FCeditor is different from fceditor itself:
svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/FCKeditor
The current editor is installed in wiki/extension
Install and then change the config file in /var/www/html/wiki/extensions/FCKeditor/fckeditor_config.js to add font color (uncomment //) etc. /var/www/html/wiki/extensions/FCKeditor/fckeditor/fckconfig.js has the "default" memu
To enable spell, add a buttin in fckeditor_config.js, then change the aspell exe from windows to linux in:
/var/www/html/wiki/extensions/FCKeditor/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
migrate sapt database
The files are all on ~ch38988. But is needed to create a new database (sapt) and user (38988) on the new server; and import the database.
It is all necessary to install mysql, php-sql, and enable cgi handler and ExecCGI in httpd.conf and userdir.conf After installing mysql, created a password (same as root)
yum install mysql* mariadb-server mariadb systemctl start mariadb systemctl enable mariadb mysql_secure_installation (set root password and Enter for all options) yum install php php-mysql systemctl restart httpd.service
On old biomol, dump the database
mysqldump -P 3333 --user=root -p --opt sapt > /home/root/saptbackup.sql
Create a database named sapt (match what is on old biomol)
mysqladmin -u root -p create sapt
Import database:
mysql -u root -p sapt < /home/root/saptbackup.sql
Add user:
[root@pharma sc]# mysql -u root --password=root_pass_here Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 55 ... MariaDB [(none)]> CREATE USER 'ch38988'@'localhost' IDENTIFIED BY 'ch38988'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON * . * TO 'ch38988'@'localhost'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> FLUSH PRIVILEGES;
Other useful mysql commands:
mysql --user=your-user-name --password=your-password show databases; Use mydatabasename; show tables;
move wiki 2018
Move MediaWiki setting and data files from one computer to another.
- Backup Wiki database: mysqldump -P 3333 --user=root --password=password --opt database_name > backup.sql
- Database name is in Localsetting.php: $wgDBname = "tinker-openmm"
- mysqldump --user=root --password=root_pass_here --opt wiki2017 > /home/root/wiki2017bak.sql
- tinker-openmm (for tinker gpu)
- wiki2017 (for lab wiki)
- Download and unzip MediaWiki to /var/www/wiki
- Run the configuration script (http://pharma.bme.utexas.edu/wiki/) and use the same values for the old set up
- Sysop account on the wiki must be the same as the one in the old. (I think this is the one which becomes bureaucrat.)
- Make sure to check "Use superuser account"
- Didn't need this:
Create an AdminSettings.php file on the root of the wiki, with$wgDBadminuser = "root";$wgDBadminpassword = "rootpassword";
- Load the old database info: mysql new_database_name < backup.sql (note you don't need to create the database, which is done at the set up above)* Navigate to /wiki/maintenance and run the update script: php update.php
- Update the LocalSettings.php by comparing to the old LocalSettings.php
- Copy the old images directory: scp -r /var/www/html/wiki/images/* pharma.bme.utexas.edu:/var/www/html/wiki/images
- Run rebuildimages.php in maintenance. (ANd 'php rebuildall.php')
- Change host names: the old server should not handle the requests anymore.
- It would also be a good idea to create a redirector from the old server, just in case somebody is still referencing it using IP addresses.
- Open System > Administration > Networking. On the General tab, enter the name of the computer in the Hostname field. Click OK,
- close all open applications and reboot. (ref)
- TinyMCE editor works for media wiki 1.31
- Add math extension
Permission: most files should be owned by apache /var/lib/mysql has the database
File uploads:
With Selinux enabled: restorecon -R /var/www ; setsebool -P httpd_unified 1
Or (saer:) unided 0 but; semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html(/.*)?' ; restorecon -R /var/www/html
https://www.centos.org/forums/viewtopic.php?t=47146
Change php.in upload file size
change owner (apache) and permission (775) of images
wiki management
to have the mail on biomol to work, either disable selinux or
/usr/sbin/setsebool -P httpd_can_sendmail on chcon -R -t httpd_sys_content_t /etc/mail* chcon -R -t httpd_sys_content_t /var/spool/clientmqueue/
select user,host from user;
reset change password
mysql -u root -P wiki
or
mysql -u root -p (and enter root passwd) use wiki
list datbases
SHOW databases; use wikidb (on water; wiki on biomol) SHOW TABLES; describe user; describe mw_user; (on water) SELECT User_name FROM wiki.user (show all the user names)
find user id (user or mw_user, as whown in the TABLES)
SELECT user_id, user_name from mw_user WHERE user_name="Fiskery";
delete user
DELETE FROM mw_user WHERE user_id='22'; (on water)
or
DELETE FROM wiki.user WHERE user_id='37';
Reset wiki user passwd:
To find out the userid (14 in the this example)
SELECT user_id, user_name from user WHERE user_name="Sai"; SELECT user_id, user_name from mw_user WHERE user_name="Sai"; (water)
UPDATE user SET user_password =md5(CONCAT('14-',md5('1234'))) WHERE user_id=14;
UPDATE mw_user SET user_password =md5(CONCAT('14-',md5('1234'))) WHERE user_id=14; (water)
where 14- has to be the user id
max upload size
Set maximum size for file uploads
Per default, PHP allows uploaded files to be no more than 2 megabytes large. If you want to upload even larger files, change in the config file /etc/php.ini the post_max_size[1] and upload_max_filesize[2] parameters.
Use "php -i" to find the location of your config file.
Your web server may impose further limits on the size of files allowed for upload. For Apache, one of the relevant settings is LimitRequestBody[3].
create database ofr installation
Create a database
If you know the root password on your database, the MediaWiki installation script can create a new database for you. If this is the case, you can skip to the Run the installation script section below. If you don't know the root password, for example if you are on a hosted server, you will have to create a new database now. Currently, you must use either MySQL or Postgres to store the actual contents of your wiki.
[edit] MySQL
* You need to create a MySQL database and a user before installing MediaWiki. You can do this using various control panels such as PhpMyAdmin, which are often available from shared hosts, or you may be able to use ssh to login to your host and type the commands into a MySQL prompt. See the corresponding documentation. Alternatively, contact your host provider to have them create an account for you
1. Download and install MySQL 5.0. It should put itself in /usr/local/mysql
2. Check and see if the database server is running ("/usr/local/mysql/bin/mysqladmin status"), If not, sudo /usr/local/mysql/bin/safe_mysqld &.
(For Fedora Core 5, use /usr/bin/mysqld_safe)
1. Another way to start initially the MySQL server is to run the configure script available at the root of the installation. It creates the initial tables and automatically starts the mysql daemon
3. Set a password for the "root" account on your database server. /usr/local/mysql/bin/mysqladmin -u root password yourpassword
4. Set up a user in MySQL for your Wiki--do this in your terminal: /usr/local/mysql/bin/mysql -u root -p mysql
5. This starts up the MySQL command line client. Now, do this in the client:
create database wikidb; grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'localhost' identified by 'password';
If your database is not running on the same server as your web server, you need to give the appropriate web server hostname -- mediawiki.example.com in my example -- as follows:
grant index, create, select, insert, update, delete, alter, lock tables on wikidb.* to 'wikiuser'@'mediawiki.example.com' identified by 'password';
change user right
If you have the appropriate rights (see mw:Manual:User rights management), go to Special:Userrights and enter the username. Click on "sysop" from the "Available groups" list.
only root can creat account and login user can edit
//Only SysOp (Admin) can create accounts - $wgGroupPermissions['*']['createaccount'] = false; //no anonymous editing allowed - $wgGroupPermissions['*']['edit'] = false;
Move and upgrade XOOPS/webpage
First install and enable httpd and mysql, php etc. follow upgrade instruction (current version is xoops 2.3) copy /usr/lib/mysql (contain the database for wiki and xoops) change ownership to mysql.root Everything in xoops should be woned by apache.apahce.
Workstation/Node Setup
Raid
replace bad disk from the raid in BME-NOVA
- Login to the adminitrator website of 3ware Riad controller. Open firefox or Opera, type address: "https://146.6.132.130:888/ "
- Go to "Management -> Maintenance", find the bad hard dirver and its prot #, and click the "remove" button.
- Go to the server room where we put bme-nova and remove the bad driver based on the port #, and insert the new one.
- Go to the adminitrator website of 3ware Riad controller again, go to "Management -> Maintenance", and click "Rescan controller". Riad will rebuilt automaticly.
file server set up as 8/2010
Nova is the main server; earth back it up;
Sun is an extra, backed up by node101
To access RAID 6 3DM Web interface on BME-sun
Related files are in /opt-raid-*
From sun (3ware), open firefox or Opera, type in the address https://localhost:888/ (sometime use 127.0.0.1 instead of localhost works better) http://and login as administrator We have 15 drives in raid 6 (unit 0). One spare. The spare (unit 1) may need to be recreated after reboot (remove unit 1 first, then add as a new unit with type spare-disk, as oppose to raidx)
To add spare in sun use these commands:
# tw_cli //bme-sun> /c0 add type=spare disk=0
Replace "disk=0" with the port number of the disk to add.
backup on node101
- Highpoint 2322
- configured as RAID5 (7x750GB + 1x1000GB disks)
- /opt/raid-highpoint/2322 contains software driver, manual, etc.
- /usr/bin/hptraid configures disks
- username RAID, password: root pass without last 3 chars (size limit)
- alternatively, manage via web: https://localhost:7402
- Do the following on node101 to create a GPT disklabel/partition table:[1]
# parted /dev/sdf (parted) mklabel gpt (parted) mkpart primary 0 6001G (mkpart primary 1 -1) (parted) quit # mkfs.ext3 -m0 /dev/sdx1
print free
mkpart primary xfs 60GB 100% (remaining)
bme-earth:/backnova
- In BIOS, change SATA drives to AHCI (not RAID)
- Set up software RAID
- Use `mkfs.ext4 -m0 -O uninit_bg -E lazy_itable_init=1 /dev/md0` instead of mkfs.ext3
- When disk fails, make sure that devices in /etc/mdadm.conf are correct.
Enable nfs
- start /etc/init/nsf and portmap
- copy: exports,hosts,hosts.allow,hosts.deny
- /etc/sysconfig/iptables (restart iptables)
- to remotely boot nodes see /usr/local/binwake_node
- /sbin/ether-wake 00:13:D4:B9:44:40
Set up NFS server
Best note: http://rbsrhel.blogspot.com/2013/03/nfs.html see bigdata for iptables example.
limit system log file size
/etc/logrotate.d/syslog to 500MB for all nodes
useful commands
- mpstat -P ALL 2 5
- nohup:run job in background: http://en.wikipedia.org/wiki/Nohup
- redirect stderr/stdin/stdout: http://en.wikipedia.org/wiki/Redirection_(Unix)
SELinux command
- setsebool -P use_nfs_home_dirs 1
Ethernet ports in our lab
Switch model: Dlink 8-port :
Switch Port NO. Work Station Name
1 Cisco port 15
2 unplugged
3 unplugged
4 unplugged
5 unplugged
6 A29 (John's laptop)
7 A27 (empty)
8 A25 (Zhen's laptop)
Switch model: Dell 8-port
Switch Port NO. Work Station Name
1 A17 (Jenny's laptop)
2 Unplugged
3 A13 (Yue's laptop)
4 A21 (Johnny's laptop)
5 A11 (Oscar's laptop)
6 A19 (Printer)
7 A15 (Chunli's laptop)
8 A23 (Empty)
Switch model: Cisco 24-port
Switch Port NO. Work Station Name
1 A02 (Old Moon)
2 A30 (Saturn John's WS)
3 A03 (Empty)
4 A16 (Uranus Chuli's WS)
5 A26 (Jupiter Zhen's WS)
6 A12 (Neptune Oscar's WS)
7 A05 (Mac Pro)
8 unplugged
9 A22 (Mars Johnny's WS)
10 A18 (Venus Jenny's WS)
11 A01 (Mercury)
12 Dell 8-port Switch
13 A14 (Pluto Yue 's WS)
14 A07 (Suger)
15 Dlink 8-port
16 unplugged
17 A24 (old Nova)
18 A28 (Earth)
19 unplugged
20 A20 (Empty)
21
22 Nova File server
23
Renaming Network Interface Card from em1 to eth0
Ref: http://www.sysarchitects.com/em1_to_eth0
1. Add biosdevname=0 to the kernel boot arguments in /etc/grub.conf. 2. Rename /etc/sysconfig/network-scripts/ifcfg-em1 to /etc/sysconfig/network-scripts/ifcfg-eth0, changing the line DEVICE="em1" to DEVICE="eth0" 3. Delete /etc/udev/rules.d/70-persistent-net.rules 4. Reboot