Administration

From Systerserver

Jump to: navigation, search

Contents

Debian repository

  • main
  • contrib
  • non-free
  • volatile

Ubuntu repository

  • main
  • universe
  • multiverse
  • restricted

Legacy GRUB

  • version 0.97
  • grub-install -v to find out which version is on the computer
  • grub configuration file /boot/grub/menu.lst

GRUB 2

  • version 1,96 or later
  • grub-install -v to find the version installed on the pc
  • config file(s) in /etc/defaultgrub

Hidden menu

One of the unique features of Grub2 is hiding/skipping the menu and showing it by holding "Shift" when needed. You can also adjust whether you want to see the timeout counter.
The new über method
Edit /etc/default/grub as you wish. Here's an example where the comments from the beginning of the two lines have been removed to enable the feature, the timeout has been set to five seconds and to be shown to the user:
GRUB_HIDDEN_TIMEOUT=5 GRUB_HIDDEN_TIMEOUT_QUIET=false
And run: grub-mkconfig -o /boot/grub/grub.cfg

GNOME

reboot in another RUNLEVEL

  • Init 3 = When you wish all services to be up EXCEPT the graphical user interface.
  • Init 5 = When you want all services to be up AND have the graphical user interface.
  • Services that go "up" in both levels are for example networking, shares, servers etc.
  • 0 = /etc/init.d/halt, 1 = /etc/init.d/single, 6 = /etc/init.d/reboot

SSH

  • port forwarding (ssh -L)
  • ssh -L8099:10.0.0.5:80 root@10.0.0.5
  • X forwarding (ssh -X), is slow
  • eg when you need to open a graphical application on a server eg a Dell raid tool which is only delivered in GUI form and not in CLI form
  • proxy forwarding - all traffic on remote server (ssh -D)
  • eg iPlayer in UK (together with FoxyProxy)
  • in FF you need to set network.proxy.socks_remote_dns;false to true
  • and set the proxy settings to localhost or 127.0.0.1 plus a port
  • http://sial.org/howto/openssh/publickey-auth/

SCREEN

which RAID to use?

  • raid 1 (2 disks), mirroring
  • raid 5 (4 disks)

which partitioning schema to use

  • /, /boot (no more than 200MB?), /tmp (no more than 50MB?), /var and swap