other:vb:linuxguest
This is an old revision of the document!
Table of Contents
Using the VirtualBox Linux guest
The Linux guest is just a regular Linux machine! We have detailed below only a few technical details
Becoming root
Do not use the root account or privileges if you don't really know what you are doing!
Depending on what you need to do:
- run a single command with the root access rights
sudo command - become root in a terminal
sudo su - - use the root password when a program asks for it. Be sure the programs has legitimate reasons to ask for the root password!
- login as root
Creating a new account
- login with the root account
- change the system and root account language to English, if it's not already the case:
- Menu ⇒ Administration ⇒ Langue ⇒ English (USA)
- Menu ⇒ Préférences ⇒ Langues ⇒ English, United States
- reboot
- create the new account:
Menu ⇒ Administration ⇒ Users and Groups (the second one!)- Add User: Warning, make sure the home directory will be created in
/homel
and not the default/home
- add the new johndoe account to the people who can use the
sudo
command:
echo -e 'johndoe\tALL=(ALL)\tALL' > /etc/sudoers.d/johndoe
Installing new programs with yum
Note: you have to be root to install a program on the command line with yum!
nco operators
nco web site: http://nco.sf.net
- At LSCE:
yum install nco
- Outside LSCE:
yum –disablerepo lsce install nco
Installing programs with the Graphical User Interface
Installing other useful (for LSCE) programs
cdo
Web site: https://code.zmaw.de/projects/cdo
ferret
ifort
Updating Linux
other/vb/linuxguest.1430751193.txt.gz · Last modified: 2015/05/04 16:53 by jypeter