Saturday, September 26, 2009

33) How to set-up the bioslax laptop servers

At this step you should have the bioslax installed in your laptop, if not please refer to
A guide to using BioSlax and/or Installing BioSlax as a full linux system to your hard drive


1. First of all, you need to change the password:

  1. Run the Konsole terminal
  2. bioslax#: passwd
  3. follow the instructions on the screen (please don’t set simple password)



2. To change host name: (skip this step if it has already been done)

  1. Run the Konsole terminal
  2. root@slax: pico /etc/HOSTNAME
  3. Change “bioslax.maxonline.com.sg” to your host+domain name (e.g.group01.bic.nus.edu.sg).
  4. Reboot

3. If the previous step 2 did not work, do the following, otherwise skip to step 4:

  1. Run the Konsole terminal
  2. bioslax#: cd /etc/rc.d
  3. bioslax#: pico rc.M
  4. You will be in the file rc.M. Type ctrl-W to search for "HOSTNAME". Type ctrl-W again, press enter and it will search the next word containing "HOSTNAME". You should be looking for the line "Set hostname by using DHCP response".
  5. Comment the whole paragraph from "set hostname by using DHCP response" to "done" by typing # at the start of each line.
  6. Save the changes by typing ctrl-X.
  7. Run the Konsole terminal again.
  8. bioslax#: netconfig
  9. There will be a blue window opened where you can enter the hostname, e.g."group01".
  10. Enter the domain name, e.g."bic.nus.edu.sg".
  11. Select "DHCP" as the network connection.
  12. At the "Set DHCP Hostname" window, leave it blank and press OK.
  13. Confirm the changes.
  14. Reboot

4. Set password for MYSQL

  1. Log in to Webmin (e.g. type http://group01.bic.nus.edu.sg:10000 for remote access) in Mozilla Firefox.
  2. Go to Servers
  3. Select MySQL Database Server
  4. Go to User Permissions
  5. Search for the row containing user “Anonymous”, host “localhost” and click on the "Anonymous" link to change the settings for that row:
    Under “Permissions” Click “Select Table Data” (it will become highlighted) Click “Save”
  6. Search for the row containing user “Anonymous”, host “bioslax” and click on the "Anonymous" link to change the settings for that row:
    Under “Hosts” click the radio button next to the text-box and in the textbox type in “groupXX”
    Under “Permissions” Click “Select Table Data” (it will become highlighted)
    Click “Save”
  7. Search for the row containing user “root”, host “localhost” and click on the "Anonymous" link to change the settings for that row:
    Under “Password” click the radio button for “Set to” and fill in the root password in the text box
    Click “Save”
  8. Search for the row containing user “root”, host “bioslax” and click on the "Anonymous" link to change the settings for that row:
    Under “Password” click the radio button for “Set to” and fill in the root password in the text box
    Under “Hosts” click the radio button next to the text-box and in the textbox type in “groupXX”
    Click “Save”


5. Three different ways to access the server remotely

  1. WinSCP (Freeware; http://winscp.net/).

    1. Hostname: group02.bic.nus.edu.sg
    2. Port number: 22
    3. Username: root (or any other username that you may have created on the server)
    4. Password: (type your password)
    5. Protocol: SFTP (allow SCP fallback)
    6. Click “Login”. If prompted for security alert, click “Yes”.

  2. Putty (Freeware; http://www.putty.nl/).

    1. Hostname: group02.bic.nus.edu.sg
    2. Port number: 22
    3. Connection type: SSH
    4. Click “Open”. If prompted for security alert, click “Yes”.
    5. Login as: root (or any other user id)
    6. Password: (type your password)

  3. Web browser (URL:http://group02.bic.nus.edu.sg)

    1. To access files from the web, you should save your web pages in the “/var/www/htdocs” folder
    2. To access pre-installed programs in Bioslax, such as blast and clustalw:

      1. http://group01.bic.nus.edu.sg/blast/
      2. http://group01.bic.nus.edu.sg/clustalw/
      3. http://group01.bic.nus.edu.sg/webphylip/
      4. http://group01.bic.nus.edu.sg/t_coffee/
      5. http://group01.bic.nus.edu.sg/wemboss/
      6. http://group01.bic.nus.edu.sg/sms2/

No comments:

Post a Comment