Difference between revisions of "Ubuntu 12 04 modifications"

From RobotinoWiki
(/home/robotino/.profile)
(Packages)
Line 13: Line 13:
 
<pre>
 
<pre>
 
apt-get install xorg openbox openbox-themes obconf obmenu  
 
apt-get install xorg openbox openbox-themes obconf obmenu  
 +
</pre>
 +
 +
Tigervnc-server
 +
<pre>
 +
sh -c "wget -O - http://winswitch.org/gpg.asc | apt-key add -"
 +
sh -c "echo deb http://winswitch.org/ `lsb_release -cs` main > /etc/apt/sources.list.d/winswitch.list"
 +
apt-get update
 +
apt-get install tigervnc-server
 +
 +
su robotino
 +
vncpasswd
 +
robotino
 +
robotino
 
</pre>
 
</pre>
  

Revision as of 16:02, 13 December 2013

Packages

apt-get install telnetd proftpd-basic hostapd dhcp3-server cmake-curses-gui lighttpd rungetty
apt-get install build-essential libqt4-dev libicu48 subversion sbcl

If wiki is installed locally

apt-get install mysql-server php5-mysql php5-cgi

X-server

apt-get install xorg openbox openbox-themes obconf obmenu 

Tigervnc-server

sh -c "wget -O - http://winswitch.org/gpg.asc | apt-key add -"
sh -c "echo deb http://winswitch.org/ `lsb_release -cs` main > /etc/apt/sources.list.d/winswitch.list"
apt-get update
apt-get install tigervnc-server

su robotino
vncpasswd
robotino
robotino

Default editor

update-alternatives --set editor /usr/bin/vim.tiny

Scripts

/etc/sudoers

Defaults        env_reset
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

root    ALL=(ALL:ALL) ALL
robotino ALL = NOPASSWD: ALL
www-data ALL = NOPASSWD: ALL

/etc/init/failsafe.conf

comment sleep to bring up the system quickly even on failure

/boot/grub/grub.cfg

recordfail set timeout to 2 seconds. That allows grub to boot after accidential system shutdown.

/etc/udev/rules.d/70-persistent-net.rules

remove hardware address from eth0 and wlan0 lines. This allows the usage of different COM express modules and wlan adapters

/etc/lighttpd/conf-enabled

rename to /etc/lighttpd/conf-enabled.old. Configuration is read from the lighttpd.conf which is installed by the robotino-daemons package.

/etc/default/rcS

FSCKFIX=yes automatic repair of filesystem errors

/etc/fstab

Replace UUID of swap-partition by /dev/sda5

/etc/init/tty1.conf

  1. exec /sbin/rungetty --autologin robotino tty1

exec /sbin/rungetty tty1 -u root -- login -f robotino

/home/robotino/.profile

if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
   startx
fi

/home/robotino/.config/openbox/autostart

xterm