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:
- Run the Konsole terminal
- bioslax#: passwd
- 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)
- Run the Konsole terminal
- root@slax: pico /etc/HOSTNAME
- Change “bioslax.maxonline.com.sg” to your host+domain name (e.g.group01.bic.nus.edu.sg).
- Reboot
3. If the previous step 2 did not work, do the following, otherwise skip to step 4:
- Run the Konsole terminal
- bioslax#: cd /etc/rc.d
- bioslax#: pico rc.M
- 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".
- Comment the whole paragraph from "set hostname by using DHCP response" to "done" by typing # at the start of each line.
- Save the changes by typing ctrl-X.
- Run the Konsole terminal again.
- bioslax#: netconfig
- There will be a blue window opened where you can enter the hostname, e.g."group01".
- Enter the domain name, e.g."bic.nus.edu.sg".
- Select "DHCP" as the network connection.
- At the "Set DHCP Hostname" window, leave it blank and press OK.
- Confirm the changes.
- Reboot
4. Set password for MYSQL
- Log in to Webmin (e.g. type http://group01.bic.nus.edu.sg:10000 for remote access) in Mozilla Firefox.
- Go to Servers
- Select MySQL Database Server
- Go to User Permissions
- 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” - 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” - 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” - 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
- WinSCP (Freeware; http://winscp.net/).
- Hostname: group02.bic.nus.edu.sg
- Port number: 22
- Username: root (or any other username that you may have created on the server)
- Password: (type your password)
- Protocol: SFTP (allow SCP fallback)
- Click “Login”. If prompted for security alert, click “Yes”.
- Hostname: group02.bic.nus.edu.sg
- Putty (Freeware; http://www.putty.nl/).
- Hostname: group02.bic.nus.edu.sg
- Port number: 22
- Connection type: SSH
- Click “Open”. If prompted for security alert, click “Yes”.
- Login as: root (or any other user id)
- Password: (type your password)
- Hostname: group02.bic.nus.edu.sg
- Web browser (URL:http://group02.bic.nus.edu.sg)
- To access files from the web, you should save your web pages in the “/var/www/htdocs” folder
- To access pre-installed programs in Bioslax, such as blast and clustalw:
- To access files from the web, you should save your web pages in the “/var/www/htdocs” folder
No comments:
Post a Comment