Skip to content

March 23, 2015

Checklist to configure headless and offline Ubuntu 14 system

by Joe Kuan

Headless

Grub Failsafe boot

Set the boot failsafe prompt to have some timeout instead of indefinite wait

echo 'GRUB_RECORDFAIL_TIMEOUT=5' >> /etc/default/grub
update-grub

Grub RecordFail boot

In some cases, a power outage can cause the Ubuntu stuck in the GRUB menu indefinitely in the next boot which causes headless system to hang. Here is more info of the issue. To avoid that, add the following line to /etc/default/grub:

GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT

Then runs update-grub. Alternatively, runs this command and it will remove the issue in the next boot.

grub-editenv create

Fsck fix

Don’t ask when fs needs checking

echo 'FSCKFIX=yes' >> /etc/default/rcS

Offline

Automatic Check New Release

/etc/update-manager/release-upgrades

[DEFAULT]
Prompt=never

Apport – sending bug/crash reports

/etc/default/apport

enabled=0

Postfix – Mail transfer agent

update-rc.d postfix disable

apt-check – periodic apt check

/etc/apt/apt.conf.d/10periodic

APT::Periodic::Update-Package-Lists "0";

More to come when I find out more ….

Read more from Operating System, Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments

%d bloggers like this: