Difference between revisions of "Installing SuSE 10.3"
(→Partitioning:) |
(→Partitioning:) |
||
Line 56: | Line 56: | ||
Assuming you have a sensible partition scheme you can proceed and your / partition and data on it will be wiped and the new system installed on top of them. This could take the best part of an hour so go and get a cup of tea or fix this page on the wiki... | Assuming you have a sensible partition scheme you can proceed and your / partition and data on it will be wiped and the new system installed on top of them. This could take the best part of an hour so go and get a cup of tea or fix this page on the wiki... | ||
+ | |||
+ | Have a look at [AO linux partitioning] for more information. | ||
=== Step five: Configuring your computer=== | === Step five: Configuring your computer=== |
Revision as of 09:17, 17 January 2008
Back to Linux How-tos
Contents
Installing SUSE 10.3 on AO linux computers.
First and most important step:
Be prepare to trash your computer and lose everything stored on it.
So make sure you know what software you installed on it before you decided to update the system, also make sure you know what every other user installed on it. Look in /etc and /local for evidence of non standard software (eg matlab, comsol, cadence, coventor etc and locally produced software such as c_scan, BNS, etc and check in /etc for evidence of configuration files eg /etc/stages /etc/andor etc).
Back up anything you might need - files, programs, data, configurations etc.
However, if you are on the AO linux network your personal files and data are most likely stored of the server (anything in /home is on the server).
- If in doubt ASK someone in the know *
Second step: Your computer
- What kind of processor? (arch)
- What disks / partitions does it have? (df, /etc/fstab)
- what is the hostname? (hostname)
- What are your network settings? (ifconfig)
- What is the root password? (you should know)
- What cards / screens / gadgets does it have?
Third step:
Get hold of the SUSE 10.3 install DVD for your computer. If the arch is i386/i586/i686 (32 bit machines) you will need the i386 disk. If the arch is x86_64 (64 bit machines) you need the x86_64 disk. If you are unlucky enough to be using a PPC machine you need the PPC disk and a lot of patience.
Fourth step: The install
Stick the DVD in the drive, reboot the computer, follow the instructions:
UK English keyboard UK timezone
Partitioning:
If your computer has been properly setup in the past you should have:
- A swap partition (roughly twice the size of your RAM)
- 20Gb "root" partition
- A remainder partition (normally mounted on /eee)
- You may also have a large data partition and a windows partition.
You should be able to relate the info here to the information about your disks you found during your preparation. Assuming all is well all you need to do is follow the custom partition settings to reformat the 20Gb "root" partition and mount it as "/". You can leave the rest untouched and anything on the other disks will be preserved. You should set the mount points of the other partitions / disks here.
ASSUMING YOUR COMPUTER DOESN'T MATCH THIS: Stop and ask for advice before proceeding. There are very good reasons for switching to a root + other partition scheme.
Assuming you have a sensible partition scheme you can proceed and your / partition and data on it will be wiped and the new system installed on top of them. This could take the best part of an hour so go and get a cup of tea or fix this page on the wiki...
Have a look at [AO linux partitioning] for more information.
Step five: Configuring your computer
There are a number of steps in the SUSE install to follow and then a number of steps to configure your computer for the local environment:
Root password: You should know this - use the previous one.
Check install: Just reports errors nothing for you to do.
Hostname: This is the name of your computer - use the previous one. The domain is eee.nottingham.ac.uk
Network settings: You usually only have one network card and if you have two either know what you are doing or ask for help.
- General network settings: leave alone.
- Firewall:
- open SSH, Secure Shell server, NIS client, NFS client, cups
- Under "Logging Level", select "Do not log any" for both Accepted and Not Accepted Packets
- Network interfaces: Edit this
- Overview:Config:Address Select static IP and enter your IP address (from your notes), Subnet mask 255.255.0.0, Hostname and Domain name (eee.nottingham.ac.uk).
- Hostnames/DNS
- Set Hostname and Domainname as before
- Names servers are 128.243.40.192, 128.243.40.194, 128.243.21.19 Domain search eee.nottingham.ac.uk
- Proxy: Set the first box to http://optics.eee.nottingham.ac.uk:62267 No proxy for (comma-separated list): localhost, 127.0.0.1, .nottingham.ac.uk, .nott.ac.uk
- Next the install will try to test the net setting - if there isn't a good reason for this to fail it should work!
- Registration: just click next and allow it to attempt this - it sets up repositories if it can
- Users: select NIS
- NIS domain name applied_optics
- NIS servers 128.243.74.2 128.243.74.4 separated by a space
- Select start automounter
- Ignore release notes unless you are interested
- Hardware config: Mainly gets it right but sometimes selects a lower screen resolution that you want or gets the monitor wrong (you usually want 24bit colour).
- Machine reboots here and if all is well you can now log in as usual!
Post installation configuration
- Log in as yourself - if this doesn't work seek advice. Then become root and cd /home/share/suse_hacks/10.3 and run the appropriate script for your location: std_suse_10.3_hacks_ao, std_suse_10.3_hacks_ibios, std_suse_10.3_hacks_sios, std_suse_10.3_hacks_vlsi etc. There isn't a huge lot of difference except for local stuff like default printers. The script deletes some SUSE irritations (eg beagle), sets up some useful stuff (eg locate) and installs dead useful software such as compilers, latex and xfig.
- There are still some configuration things to do, this involves using the YaST configuration suite, you'll find it somewhere in the SuSE menu (or, as root, type "yast2" from a console window). If you run it from the SuSE menu, you will need to provide the root password.
- In the "Software" submenu, click on "Community Repositories"
- One repository should already be checked: "Main Update Repository"
- Add "Main Repository (OSS)", "Main Repository (NON-OSS)" and, if you have a fairly modern (last 4 years) nVIDIA graphics card, "NVIDIA Repository"
- Click "Finish" and if it asks you questions about keys, them trust and import them.
- Click on "Software Repositories"
- For the "openSUSE-10.2-DVD 10.3" repository, make sure "Enabled" is NOT selected (i.e. deselect it).
- Click "Finish"
- Click on "Automatic Online Update"
- Click "Enable automatic update"
- Update daily (some time in the evening if you leave your PC on overnight). Make sure "Skip interactive patches" is checked (it should be by default) - this prevents SuSE installing things like kernel updates without your knowledge.
- Click "Finish"
- On the "Network Services" submenu, click on "NTP Configuration"
- Click on "During Boot"
- As the NTP Server Configuration address, use: ntp0.nottingham.ac.uk (it's a zero, not a capital "oh")
- Click on "Test", it should respond something like "Server is reachable and responds properly"
- Click "Finish"
- If you added the nVIDIA repository, then, in the "Software" submenu, click on "Software Management"
- Search for nvidia
- Select "nvidia-gfxG01-kmp-default"
- Click "Next" It will tell you it's installing some other nvidia-related stuff to satisfy dependencies.
- When it's done, quit the Software Management utility.
- Exit YaST
When you log out, X should restart and you should now be running the nVIDIA graphics driver with 3D acceleration. Try an openGL screen saver.
With any luck all you have to do now is install the local software that you use yourself, eg c_scan, matlab, comsol etc but that is beyond the scope of this page!
Software
- Steve / Roger - a wiki page for setting up matlab, comsol, cadence etc would be dead handy linked here
- c_scan: there is another wiki page which mentions installing c_scan: link is here. Once you have installed c_scan, if you type "man c_scan" you will get the root of the c_scan documentation. Look at the "See also" section at the bottom for hints on specific modules... this this normally the name of the module/action, preceded by "c_" (e.g. "man c_agilent_trace_scope")
Printers
These should get set up when you run the appropriate "suse_hack" script. There is a general page of advice regarding the AOG printers here.
Finally
You should have a working system now and hopefully you won't suddenly remember that something important was installed on one of the disks you wiped. Please fix errors in this wiki.
Cheers,
Matt