the new Ubuntu 9.04 (Jaunty Jackalope) was released. This guide shows how you can upgrade your Ubuntu 8.10 desktop and server installations to Ubuntu 9.04.
This document comes without warranty of any kind! I do not issue any guarantee that this will work for you!
1 Desktop
Start the Update Manager (System > Administration > Update Manager):
The Update Manager should show that a new distribution release (9.04) is available. Click on the Upgrade button to start the distribution upgrade:
A window with the release notes for 9.04 comes up. Click on Upgrade again:
The upgrade tool is being downloaded:
Type in your password:
The upgrade is being prepared:
Click on Start Upgrade to finally begin with the upgrade process:
The upgrade packages are now being downloaded...
... and installed. This can take some time, so please be patient.
At the end of the upgrade process, you should remove obsolete packages:
The system needs to be rebooted to complete the upgrade, therefore click on Restart Now:
After the reboot, you can use your new Ubuntu 9.04 desktop:
2 Server
First become root:
sudo su
Then run
apt-get update
and install the package update-manager-core:
apt-get install update-manager-core
Open the file /etc/update-manager/release-upgrades...
vi /etc/update-manager/release-upgrades
... and make sure it has Prompt=normal in it:
[...] Prompt=normal
Then run
do-release-upgrade
to start the distribution upgrade.
root@server1:~# do-release-upgrade Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading extracting 'jaunty.tar.gz' authenticate 'jaunty.tar.gz' against 'jaunty.tar.gz.gpg'
Reading cache
Checking package manager
Continue running under SSH?
This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover.
If you continue, a additional ssh daemon will be started at port '9004'. Do you want to continue?
Continue [yN]<-- y
Confirm that you want to do the upgrade:
Calculating the changes
Do you want to start the upgrade?
1 package is going to be removed. 29 new packages are going to be installed. 392 packages are going to be upgraded.
You have to download a total of 236M. This download will take about 2 minutes with your connection.
Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be cancelled.
Continue [yN] Details [d]<-- y
At the end of the upgrade process, you should remove obsolete packages:
Remove obsolete packages?
28 packages are going to be removed.
Continue [yN] Details [d]<-- y
The server needs to be rebooted to complete the upgrade:
System upgrade is complete.
Restart required
To finish the upgrade, a restart is required. If you select 'y' the system will be restarted.
Continue [yN]<-- y
After the reboot, your server is running Ubuntu 9.04.
uSbuntu Live Creator is a free software for Windows that allows you to create a bootable USB stick with Ubuntu 8.10 on it. This software also offers a new option for virtualization to run Ubuntu directly into Windows and without any setup or installation - this is done by using a portable version of VirtualBox. uSbuntu Live Creator not only supports Ubuntu 8.10, but also Kubuntu 8.10 and Xubuntu 8.10.
I do not issue any guarantee that this will work for you!
Use your favourite decompression tool (e.g. WinZIP, WinRAR, etc.) to unpack the zip file that you've just downloaded:
This will create a folder called uSbuntu Live Creator:
In that folder, you will find a Windows executable called uSbuntu Live Creator.exe. Double-click that file to start uSbuntu Live Creator:
This is how the tool looks:
Now select the USB thumb drive on which you want to put the Ubuntu live system (if you've plugged your USB thumb drive into your computer only after you've started uSbuntu Live Creator, click on the refresh icon to make the thumb drive available). In step 2, select the source medium for the Ubuntu 8.10 live system (e.g. an Ubuntu 8.10 ISO file or an Ubuntu 8.10 CD). In step 3, you can reserve some space on the thumb drive for persistent files so that your changes that you make on the Ubuntu 8.10 live system won't be lost when you shut down the live system. In step 4, you can change some options, but normally the default ones are ok. Afterwards, click the thunder icon to start the installation to the thumb drive:
The installation can take a few minutes:
Afterwards, you will see a message (in step 5) that the uSbuntu thumb drive has successfully been created:
You can now either boot from the uSbuntu USB thumb drive (make sure that the BIOS is configured to boot from USB!), but you can also start Ubuntu directly from the Windows desktop (thanks to a portable version of VirtualBox). To start Ubuntu directly from Windows, open the Windows Explorer and go to your thumb drive. There's a folder called Portable-VirtualBox on it, and in that folder there's a Windows executable called Launch_usb.exe. Double-click that file...
... and after a few moments you should see Ubuntu running as a virtual machine inside VirtualBox:
n my previous guide about how to set up Enomalism 2 I concentrated on just one KVM host. This tutorial is an extension to that article in that it shows how to add further Ubuntu 8.10 KVM hosts to the setup that can then be managed from one single control panel.
I have tested this with two Ubuntu 8.10 hosts (both x86_64). I can't say anything whether this also works on i386 systems because I haven't tested it.
I do not issue any guarantee that this will work for you!
1 Preliminary Note
I'm using two Ubuntu 8.10 servers here as my KVM hosts:
server1.example.com: IP address 192.168.0.100
server2.example.com: IP address 192.168.0.101
The servers are located in a private network with a DHCP server (on the router, IP 192.168.0.1). Enomalism usage might be different if you use it in a public network.
I'm running all the steps in this tutorial with root privileges, so make sure you're logged in as root:
sudo su
Please check if your CPU supports hardware virtualization - if this is the case, the command
If nothing is displayed, then your processor doesn't support hardware virtualization, and you must stop here.
server1 will be the "master" in this setup and server2 the "slave", i.e., server2 will use the MySQL database on server1 and the directory /opt/enomalism2/repo (via NFS). (Of course, it's also possible to create a dedicated NFS server and export /opt/enomalism2/repo to both nodes.)
After you've set up Enomalism2, we must edit /etc/mysql/my.cnf so that MySQL listens on all interfaces (so that server2 can connect to this MySQL server later on) - comment out the line bind-address = 127.0.0.1:
vi /etc/mysql/my.cnf
[...] # Instead of skip-networking the default is now to listen only on # localhost which is more compatible and is not less secure. #bind-address [...]
... and create a database user that is allowed to connect to the enomalism2 database remotely (use the same database user and password that you used in the scripts/init-db.sh step when you set up Enomalism2):
grant all on enomalism2.* to enomalism@'%' identified by 'enomalismpassword'; FLUSH PRIVILEGES; quit
We must export the /opt/enomalism2/repo directory. We must modify /etc/exports where we "export" our NFS shares. We specify /opt/enomalism2/repo as NFS share and tell NFS to make accesses to /opt/enomalism2/repo as root (to learn more about /etc/exports, its format and available options, take a look at
man 5 exports
)
vi /etc/exports
# /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # /opt/enomalism2/repo 192.168.0.101(rw,sync,no_root_squash,no_subtree_check)
(The no_root_squash option makes that /opt/enomalism2/repo will be accessed as root.)
When you edit that file, make sure you fill in the correct IP address (192.168.0.101), and what is even more important, that you use the IP address of server1 (192.168.0.100) instead of localhost in the sqlobject.dburi line:
Finally, open http://192.168.0.101:8080/install in a browser (not just http://192.168.0.101:8080!) - this will complete the cluster node setup on server2:
Afterwards, you have two control panels, one on server1 (http://192.168.0.100:8080/) and one on server2 (http://192.168.0.101:8080/). It doesn't matter which one you use, they look and do the same.
Under Virtual Infrastructure > Infrastructure, you should now see both cluster nodes,...
Portable Ubuntu for Windows is an Ubuntu system running as a Windows application. All Ubuntu applications appear as a window on the Windows desktop, and you can even copy&paste between Ubuntu and Windows applications (in both directions). You can also copy Portable Ubuntu to your thumb drive and carry it with you (you don't need to "install" Portable Ubuntu on Windows - all you need is the Portable Ubuntu folder). This guide shows how to use Portable Ubuntu on a Windows XP desktop.
I do not issue any guarantee that this will work for you!
1 Preliminary Note
I want to mention two important details here that might be useful later on for the usage of Portable Ubuntu:
First, the default username is pubuntu and the default password is 123456
You can access the Windows C: drive from Portable Ubuntu as /mnt/C.
This will take you to a SourceForge page, and the download should start automatically (if not, select another SourceForge mirror). Save the file somewhere on your system (in this example, I'm storing it directly on the Desktop):
The filesize is 438MB, so the download can take a while:
Afterwards, you should find the downloaded file (it is an archive) on your Desktop. Double-click it...
... and select a location that the archive should be extracted to:
Then uncompress the archive:
After the archive has been uncompressed, you should find a folder called Portable_Ubuntu:
Go to that folder. To start Portable Ubuntu, right-click the run_portable_ubuntu.bat file and select Open from the menu:
If you are using the Windows firewall, you might have to unblock two or three applications that are needed to run portable Ubuntu:
Afterwards, you should see Portable Ubuntu start up:
After the startup process has finished, you can see the Ubuntu taskbar at the top of the screen:
You can now use it as if this were an Ubuntu system, for example, you can start Ubuntu's Firefox browser...
... or Rhythmbox:
You can also use the Ubuntu terminal:
Type
mount
and you should see that you can access the Windows C: drive under /mnt/C.
Of course, it's also possible to install applications using the Synaptic Package Manager (for example, Amarok):
(When you start Synaptic, you must type in your password which is 123456 - see chapter 1.)
After the installation, you can start Amarok:
To stop Portable Ubuntu, click on the Exit icon in the Ubuntu panel...
... and click on the Yes button:
Portable Ubuntu should now shut down, and the Ubuntu panel and the green arrow in the Windows taskbar should disappear.
As I mentioned in the introduction, you can even copy&paste between Ubuntu and Windows applications (in both directions); and because Portable Ubuntu needs no installation, you can simply copy the Portable_Ubuntu folder to a thumb drive and carry it with you.
Im an Antihackers my main priority is the fight with Hacking, cracking, Hijacking, Spoofing,
Social ingineering, Impersonation,
exploiting, Transitive trust, Data driven, Infrastructure, Denial of services.