Changing the hostname on Ubuntu 8.04 LTS

The following steps will help you reconfigure the hostname of your Ubuntu 8.04 LTS installation:

vi /etc/hostname

Replace the old hostname with the new one. Do not try to comment out the old one and add a new one in the next line: it will not work.

vi /etc/hosts

Either replace the old hostname with the new one, or add the new hostname behind the old one. In any case, make sure that the new hostname corresponds to the IP address of the host you are reconfiguring.

/etc/init.d/hostname.sh stop

/etc/initd.hostname.sh start

Disabling "Apparmor" in Ubuntu 8.04 LTS

AppArmor ("Application Armor") is security software for Linux, released under the GNU General Public License. From 2005 through September 2007, AppArmor was maintained by Novell. AppArmor allows the system administrator to associate with each program a security profile that restricts the capabilities of that program. It supplements the traditional Unix discretionary access control (DAC) model by providing mandatory access control (MAC)1.

The following commands can be used to disable the AppArmor on Ubuntu 8.04 LTS installation:

sudo invoke-rc.d apparmor stop

This will stop the apparmor application/subsystem on your system, and clear the way for the following steps.

sudo update-rc.d apparmor remove

Running the above command, the symbolic link from the init.d and appropriate rc.d is removed, and the AppArmor is effectively rendered inoperative on your Ubuntu 8.04 LTS installation: when you reboot, AppArmor will not run again.

sudo aptitude remove apparmor apparmor-utils

Finally, the above commands will completely remove the AppArmor feature from your Ubuntu 8.04 installation.

1. Material taken over from WikiPedia AppArmor article.

In the begining, there was a Linux software RAID5 that failed, and lots of tears flowed down the cheeks...

As the title dramatically explains, this project was inspired by a catastrophic failure of a RAID5 system that was acting as our family's central digital repository where all of our documents, pictures, moves and other data was stored.

In reality, after the RAID5 catastrophe, and a hectic effort to rebuild, retrieve and pull out as much as possible of the lost and endangered information, another disk accidentally got reinstalled with a brand new Windows 7, causing even more stress and mental disorder.

I guess that after these events transpired, the stage was set for a radically different approach to data storage, backup and security of that precious personal data. After a little research, I have discovered a world of people that were in my identical position, and had gone down that same path many times before.

Syndicate content