Chargement...
 

Install ubuntu

Install Ubuntu 11.04 (Mai 2011)

Voir la page (publique) Install Ubuntu 10.10 (si si, ce n'est pas une typo)

Install Ubuntu 10.10 (January 2011)

Voir la page (publique) Install Ubuntu 10.10

Install Ubuntu 10.04 (august 2010)

The installation is pretty similar to what is described below. Notable differences are: (i) there are more interactions when using staff's install script for which we don't have the list of exact answers to use (they can be deduced though), (ii) the installUbuntu.sh script does not work as is

Install Ubuntu 9.04 (mai 2009)


Please note that it is possible to leave the installation to staff.

Before installing

  • Make sure you have these info at hand (print them or display them on another computer).
  • Write down the IP address and Hardware address (sometimes also called MAC address) of your computer:
    use the command /sbin/ifconfig, the first 2 lines should look like
eth0 Link encap:Ethernet HWaddr 00:11:11:0e:86:c5
inet addr:129.175.5.162 ...

  • Give the MAC address to staff to authorize your computer to boot via DHCP
  • If you want to re-use existing data on your hard disk, write down the partition (use command mount -t ext3)
    if you have file systems with other type than ext3, you should delete them and rebuild the partitions from scratch)

The whole procedure has been done using the Ubuntu CD


Install

  • Insert the CD and boot on it (this may require a modification in the boot setup of your computer)
  • Choose the language of the system.
  • Choose to install ubuntu on your system.
  • Accept the license.
  • Choose the manual partitioning, and use the existing partition if any (from the backup desribed above), or let Ubuntu build the recommended partition. In any case, you should have
    • at least 20Go for the / partition
    • a swap partition (1Go should be enough)
    • a /home partition for the remaining disk space
  • define the user tao with (one of) the usual password
  • test the keyboard
  • run install and drink a coffee (or read a paper, as you wish)
  • reboot

Post Install

  • log in with the local user "tao"
  • install nfs-common, csh and tcsh
sudo apt-get update
sudo apt-get install nfs-common csh tcsh

  • mount the file system containing the LRI staff's scripts
sudo mount 129.175.3.7:/vol/sauvegardes/sources/Distrib-linux /mnt

  • Execute the staff's post-install script (pick the right version, in our case 9.04)
cd /mnt/install/ubuntu
sudo ./make_becane.9.04 /mnt (ou make_becane.10.04 - decembre 2010)

Then as the script proceeds, you will be prompted with some questions to which you have to answer as follows:
    • 2 (for Readline)
    • 3 (medium)
    • Enable ufw -> N
    • -+The following packages will be upgraded:... Do you want to continue?+- -> Y
    • -+Workgroup/Domain Name:+- -> LRI
    • -+Use password encryption?+- -> Y (?)
    • -+Modify smb.conf to use WINS settings from DHCP?+- -> Y (?)
    • -+Enter your NIS domain LRI+- -> LRI

... Wait for a while ...

message d'erreur (ne sais pas encore si c'est grave - MS le 22/12)
ureadahead will be reprofiled on next reboot
mv: cannot stat `/etc/init.d/hostname.conf': No such file or directory
mv: cannot stat `/etc/init.d/network-manager.conf': No such file or directory
(Reading database ... 236004 files and directories currently installed.)


  • reboot

  • Force a fixed IP address (if necessary because there are no IP address available through DHCP): the graphical interface provided by Ubuntu doesn't seem to work. You must edit the file /etc/network/interfaces and add the following lines, where _XXX_ is replaced by the IP number of your computer, that you had safely written somewhere at the beginning of this process (e.g. the 162 in the example above)
# The primary network interface
auto eth0
iface eth0 inet static
address 129.175.5.XXX
network 129.175.5.0
broadcast 129.175.5.255
gateway 129.175.5.1
netmask 255.255.255.0
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 129.175.15.1 129.175.15.10
dns-search lri.fr

In fact, the last 2 lines above don't seem to work, so you must also edit /etc/resolv.conf and add the lines
nameserver 129.175.3.2
nameserver 129.175.15.1
nameserver 129.175.15.10

  • reboot, and check that everything works fine
  • install any additional package you might find useful. In particular, a start of a script is /users/tao/tao/intallUbuntu.sh, that installs the packages kde, kile (including LaTeX), thunderbird and beamer, as well as Adobereader 8. Feel free to use it, and improve it. This procedure takes a while and require your confirmation to install of the package.
This will ask you to choose Repository directories: -> (?)
  • To fully upgrade your computer (upgrade the linux kernel), you might have to do:
sudo apt-get dist-upgrade
and then reboot again.
  • In System->Administration->Time and Date, unlock and in Configuration, choose to keep synchronized with Internet servers, this will have you install NTP support. Choose to do so. Then quit, open and unlock the Time and Date application again. Select servers, untick ntp.ubuntu.com and add timeserver.lri.fr
  • Be kind to people in your office: deactivate the system beep: in System->Preferences->Sound, Select the System Beep thumbnail and untick the Enable System Beep box.

You're done!

useful applications

All the following applications are not installed by default, so you may want to add them as some are useful ! to install : sudo apt-get install $PACKAGE_NAME
Most of them are designed for gnome (ubuntu), however, kde applications can be run under gnome or equivalents can be found.
  • policyKit : users rights (so you don't have to use sudo visudo which can be dangerous (!)
  • ekiga : visioconference tool, if you have a microphone and a webcam
  • gedit : text editor, installed by default
  • Gnome Control Center : to configure all your system, might not be installed by default
  • Quanta+ : to edit html pages
  • ubuntu-tweak : to tune hidden parameters of gnome

  • nvidia server settings : to use dual screens, to use video projectors and so on without tweaking the xorg.conf
  • kile : efficient latex redaction environment
  • vym : (view your mind ) to generate mind maps
  • ...

Misc.

  • In the post-install procedure, you might be asked to answer a question about ntpd.conf, answer Y
  • If you want to change the default printer (which seems to be Q02 which is on the 1st floor), you have to choose one in System->Administration->Printing

Does not work in 9.04 (so it seems at the moment) - see above

  • To manually reconfigure the network (normally not needed - it is needed, as the number of IP for DHCP is limited), when you are logged in
    • right-click on the network icon at the top right of the screen and choose manual configuration...
    • unlock
    • configure the ethernet network
      • configuration: static IP
      • IP-address: 129.175.??.?? (depends on your computer)
      • subnet mask: 255.255.255.0
      • gateway address: 129.175.5.1
    • general
      • hostname: the name of your computer
      • domain name: lri.fr
    • DNS
      • DNS server: 129.175.3.2 (129.175.15.1 if troubles)
  • a little glitch remains, that prevents automount to start normally. Until the solution is found, use the following workaround:
    • sudo vi /etc/rc.local
    • add the line /etc/init.d/autofs restart before the last line (exit 0)
    • or add /etc/init.d/nis restart ; /etc/init.d/autofs restart before the last line (exit 0) if the above one doesn't work

  • if you wish to have root access with your regular login, you must edit the sudoers file using the sudo visudo command, duplicate the root lign (root ALL=(ALL) ALL) and replace root with your login name.
  • if you mess-up this file, you might end up with a system where no-one will be able to sudo. The best solution in such case is to re-boot on the live CD, mount the hard disk, and manually edit the file /etc/sudoers (even if it says you shouldn't edit it directly).

Wifi problems

On my laptop, the wiki was not enabled (i.e. the wiki led stayed off whatever the position of the wiki button). Note that with Ubuntu 8.10 it worked fine.
I found on the Web that you should create a file /etc/default/wpasupplicant containing a single line, ENABLED=0 then reboot, and the led re-appeared!!!





Collaborateur(s) de cette page: evomarc , rros , jiang , rgaudel et cedric .
Page dernièrement modifiée le Mardi 03 mai 2011 16:42:42 CEST par evomarc.