|
|
thewatertower.org.uk |
![]() |
| thewatertower.org.uk |
Ubuntu ServerTopics here
NFS pre-reqs and apt cache Relevant topics elsewhere
rsync server NFS pre-reqs and apt cachedon't use - the cache gets housekept, which is pretty pointless in this context. To speed up upgrades, all my ubuntu systems have a shared apt cache folder. NB - there are lock files etc. involved, so only one machine can update at a time.
The server has to be set up to allow root access: options 'rw' and 'no_root_squash' applied to the export in /etc/exports. Additional packages (6.06 32bit)
ntp is configured in /etc/default/ntpdate; edit in the ntp server name. Static IPUbuntu 6.06 svr LTS builds by default with DHCP. To set it to a static address, /etc/network/interfaces needs to be edited. /etc/resolv.conf should also be amended.
Don't remove 'auto eth0' - the system will then not configure the interface at boot. /etc/iftab is used to assign persistent names to interfaces; via the MAC address. Virtual IPAdd an entry to the interfaces file. Names can be given instead of numbers: not sure how many characters, but an interface called 'jumpstart' on a SuSE 10.2 machine got abbreviated to 'jump' so maybe 4 characters is a good guidline.
motdTo truncate the verbose MOTD on some (later?) releases, edit /etc/motd.tail On 6.06, /etc/init.d/bootmisc uses the current motd as the basis for the one it updates with the latest uname -a Console resolution (prior to 9.10)Ubuntu will make relatively frequent updates to /boot/grub/menu.lst - when the Kernel gets updated. To support customisation, it appears that there are commented out entries in menu.lst that guide how it builds the new boot options for the new kernels. To add the 'vga=0x???' entry, put it on the defoptions line and on the kernel arguments for the default boot configuration. Find out what argument to use with the following command:
.. or try this table in Wikipedia Console resolution (9.10,+ - grub2)Under Grub 2 and / or kernel 2.6.31 vga= is deprecated and it ignores it. Its this sort of shit that frustrates me with Linux. All I wanted to do was get the console working at 1024 before installing ssh, and it turned into a three hour round trip.
The grub config builder will work its way through anything that is executable, regardless of filename.
Didn't work. Blank screen. more googling .. an ubuntu bug report .. Need to revise initramfs to include two modules, add vesafb to the modules loaded by the kernel, and un-blacklist the same.
It takes its time turning the console on. But it works - finally. PCMCIA ethernet (9.10)Trying to get a second ethernet connection into a Compaq Armada M300 laptop that's running Server 9.10. Kernel doesn't seem to have seen it - dmesg output supports hardware query output:
pcmcia-cs doesn't appear to exist for 9.10 seems like the same 'lights on, no-one home' problems as this thread.
However, I note now that 'pcmciautils' has turned up in /etc/init.d, so a reboot becomes worth a shot.
Phew! Power savingcpu throttling (on the linux power page) old links: ubuntu bug (how to find out about ..) - CPU throttling Gentoo power mmt guide (nb - be wary of laptop specific bits) CUPS - remote printing (6.06)My Ubuntu 6.06 printer needed to be serving out its printer queues to Linux machines as well as Windows, via Samba. I made the following changes so I can print to it from other machines on the network (192.168.1.???) and also manage it via the web page, as it runs console-mode only.
On Ubuntu 8.04 "clients", the printers can be found and installed via
VNC serverI want to get VNC server working on a 8.04.1 server; and will also attempt to get a gnome desktop working. Its currently little more than a basic installation. Step one is the server itself. Headline items include fonts, libraries and programs for X11 and graphics.
Step two: check it works.
And I can connect to that from another machine. twm isn't installed, so there's no window manager. One or more 'x' programs are just smeared onto the wall of the xserver! Step three: add metacity, and replace twm in xstartup.
Now its clear what was running before (nothing, apart from VNC clipboard control, which has vanished) we need to add xterm
Now we have a usable, minimal, session. All the documentation says to run gnome-session to start a full gnome desktop.
Published and promoted by Ben Prescott, 14, St James's Square, Bournemouth, BH5 2BX. All rights reserved. The views expressed are solely those of the author, not of the service provider. |