Nxl67170 - Ubuntu: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 33: | Line 33: | ||
== Simple Settings == |
== Simple Settings == |
||
* '''SUDO''' - keep environment variable '''http_proxy''', '''https_proxy''' (to keep proxy settings for apt-get etc) |
|||
* [<tt>YYYY-MM-DD</tt>] - SETTING |
|||
* '''SUDO''' - keep environment variable '''GREP_OPTIONS''' (keep grep options) |
|||
* '''SUDO''' - keep environment variable '''DISPLAY''', '''XAUTHORITY''' (avoid doing <code>xhost local:root</code> before launching X pgm) |
|||
* '''SUDO''' - keep environment variable '''HOME''' (e.g. to keep git aliases and settings when using etckeeper) |
|||
{{pl2|<source lang=bash> |
|||
Defaults env_reset, env_keep="http_proxy https_proxy GREP_OPTIONS DISPLAY XAUTHORITY HOME" |
|||
</source>}} |
|||
* '''SUDO''' - Allow '''truecrypt''' and '''rfkill''' w/o password: |
|||
{{pl2|<source lang=bash> |
|||
ALL ALL=NOPASSWD: /usr/bin/truecrypt |
|||
ALL ALL=NOPASSWD: /sbin/rfkill |
|||
</source>}} |
|||
* '''CRON''' - cron script for automatic '''backup''' of wikis on Noekeon's (see [[{{PAGENAME}} - Files|config files]]). |
|||
* '''PROXY''' - script for automatic setup of network environment (proxy, ssh...) (see [[{{PAGENAME}} - Files|config files]]). |
|||
* '''Security''' — Disabled control-alt-del in console as recommended in [https://help.ubuntu.com/10.04/serverguide/C/console-security.html Ubuntu Server Guide]. Comment out the following line in the file <tt>/etc/init/control-alt-delete.conf</tt>: |
|||
<source lang="bash"> |
|||
#exec shutdown -r now "Control-Alt-Delete pressed" |
|||
</source> |
|||
* Add user '''www''' for synchronization of <tt>/data/www</tt> folder (''localhost'' page): |
|||
<source lang="bash"> |
|||
sudo useradd -g www-data -G users -u 999 -s /bin/bash -m www |
|||
sudo passwd www |
|||
su - www |
|||
ssh-keygen # Or copy .ssh/ copy from other www users |
|||
scp .ssh/id_rsa.pub .ssh/authorized_keys |
|||
</source> |
|||
== Detailed System Settings == |
== Detailed System Settings == |
||
Line 63: | Line 88: | ||
== Detailed Application Settings == |
== Detailed Application Settings == |
||
=== APPLICATION === |
|||
=== [[VirtualBox|VirtualBox]] === |
|||
* Settings |
|||
* See '''[[Configuration NXP Dell Latitude E5430#Log|virtual machine configuration log]]'''. |
|||
* Installed with apt (original version 4.2.8) |
|||
* VirtualBox is launched as user '''root''' (because it seems that only the current user and '''root''' can access '''PulseAudio''' in a same X session — see [https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433654]) |
|||
* Allow user '''beq06659''' to launch VirtualBox through user ''root''. Add to <tt>/etc/sudoers</tt>: |
|||
{{pl2|<source lang="text">beq06659 ALL=NOPASSWD: /usr/bin/VirtualBox</source>}} |
|||
* Helper script to add to e.g. <tt>~/bin</tt> : |
|||
{{pl2|<source lang="bash" enclose=prevalid> |
|||
#First allow user vbox to connect to X11 |
|||
#xhost +SI:localuser:vbox |
|||
#sudo su vbox -c /usr/bin/VirtualBox& |
|||
#New config - run VirtualBox as root to allow sound |
|||
sudo /usr/bin/VirtualBox& |
|||
</source>}} |
|||
* Create a launcher in <tt>~/.local/share/applications/virtualbox-root.desktop</tt> |
|||
{{pl2|<source lang=bash> |
|||
#!/usr/bin/env xdg-open |
|||
[Desktop Entry] |
|||
Version=1.0 |
|||
Type=Application |
|||
Terminal=false |
|||
Icon[en_US]=VBox |
|||
Name[en_US]=Oracle VM VirtualBox (root) |
|||
Exec=/home/beq06659/bin/vbox.sh |
|||
Comment[en_US]=Run several virtual systems on a single host computer |
|||
Name=Oracle VM VirtualBox (root) |
|||
Comment=Run several virtual systems on a single host computer |
|||
Icon=VBox |
|||
</source>}} |
|||
== To Do == |
== To Do == |
Revision as of 19:01, 11 March 2013
Introduction
This is the configuration page for the Ubuntu Precise 12.04 partition on NXL67170.
Configuration Files
All configuration files can be found here.
Repositories
To be completed.
Installed Applications
Common applications
See Common configuration for Linux.
Essential: | ||
---|---|---|
[2013-02-20] | Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
Local applications: | ||
[2013-02-20] | Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
Un-installed applications (by uninstall date):
[yyyy-mm-dd] | Application (package) | [YYYY-MM-DD] uninstalled (reason) |
Simple Settings
- SUDO - keep environment variable http_proxy, https_proxy (to keep proxy settings for apt-get etc)
- SUDO - keep environment variable GREP_OPTIONS (keep grep options)
- SUDO - keep environment variable DISPLAY, XAUTHORITY (avoid doing
xhost local:root
before launching X pgm) - SUDO - keep environment variable HOME (e.g. to keep git aliases and settings when using etckeeper)
Defaults env_reset, env_keep="http_proxy https_proxy GREP_OPTIONS DISPLAY XAUTHORITY HOME"
- SUDO - Allow truecrypt and rfkill w/o password:
ALL ALL=NOPASSWD: /usr/bin/truecrypt
ALL ALL=NOPASSWD: /sbin/rfkill
- CRON - cron script for automatic backup of wikis on Noekeon's (see config files).
- PROXY - script for automatic setup of network environment (proxy, ssh...) (see config files).
- Security — Disabled control-alt-del in console as recommended in Ubuntu Server Guide. Comment out the following line in the file /etc/init/control-alt-delete.conf:
#exec shutdown -r now "Control-Alt-Delete pressed"
- Add user www for synchronization of /data/www folder (localhost page):
sudo useradd -g www-data -G users -u 999 -s /bin/bash -m www
sudo passwd www
su - www
ssh-keygen # Or copy .ssh/ copy from other www users
scp .ssh/id_rsa.pub .ssh/authorized_keys
Detailed System Settings
1st install
- 2nd install on [2013-02-20]
- Distribution: Ubuntu 12.04 amd64
- Installation method: Net boot install from Internet using GRUB
- Language: English
- Location: Europe, Belgium Time
- Computer name: nxl67170ux
- Keyboard layout: BE
- Name: beq06659
- Login name: beq06659
- Update: No automatic update
- Software to install: Ubuntu Desktop
- Partition: see main page
File System
- To be completed
Network
- To be completed
Preferences
- To be completed
Users
To be completed
Detailed Application Settings
VirtualBox
- See virtual machine configuration log.
- Installed with apt (original version 4.2.8)
- VirtualBox is launched as user root (because it seems that only the current user and root can access PulseAudio in a same X session — see [1])
- Allow user beq06659 to launch VirtualBox through user root. Add to /etc/sudoers:
beq06659 ALL=NOPASSWD: /usr/bin/VirtualBox
- Helper script to add to e.g. ~/bin :
#First allow user vbox to connect to X11
#xhost +SI:localuser:vbox
#sudo su vbox -c /usr/bin/VirtualBox&
#New config - run VirtualBox as root to allow sound
sudo /usr/bin/VirtualBox&
- Create a launcher in ~/.local/share/applications/virtualbox-root.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=VBox
Name[en_US]=Oracle VM VirtualBox (root)
Exec=/home/beq06659/bin/vbox.sh
Comment[en_US]=Run several virtual systems on a single host computer
Name=Oracle VM VirtualBox (root)
Comment=Run several virtual systems on a single host computer
Icon=VBox
To Do
Issues
- Issue — To be completed
- To Do — Description
Done & Fixed
- Fixed — Issue description
Fix description - Done — Description