Getting the right image
View original post
As noted on the Xubuntu website, there is a most urgent need for testers of Xubuntu’s next release, 7.10, dubbed Gutsy Gibbon. Now, obviously you are eager to help out, so you download Xubuntu’s latest ISO image in order to burn it onto a CD. However, you realize that, when you report a bug in Launchpad, the error might just be caused by an incorrect download. How are you to know that your download completed successfully?
That’s where MD5 comes in. MD5 is an algorithm to convert input to a 32-character text string. When provided the same input, it will always return the same output. What’s more, it can even take a file as argument, including your ISO image!
You get it: if the MD5 sum (the output) of the image you downloaded is the same as the sum of the image on the server, your image is the same as the image on the server, and you know your download was not corrupted
So how do you get Xubuntu to calculate the MD5 sum of your ISO image? It’s simple, really. First, of course, you need the image itself, so go and download that, save it in a folder of your choice. When the download is complete, open Thunar (Applications->Accessories->Thunar File Manager) and browse to the folder you downloaded the image to. Right-click the part of Thunar where the contents of the folder is displayed and select “Open Terminal Here” (yes, you have to work in a terminal window, but it’s not scary or anything). A terminal window opens, in which you have to enter the md5sum command, followed by a space and the filename of the image. So, you type for example this:
md5sum gutsy-desktop-i386.iso
For which the output should be similar to this:
9188e822f7d96393d48024b5aa4cbc35 gutsy-desktop-i386.iso
So, we have the MD5 sum of the image on our own computer, how do we know the sum of the image on the server? Well, first we go to the image’s download page and scroll down, where you see a list of files that are available for download. We need the file MD5SUMS.
Open that file, and you will see a list of MD5 sums that match the images on that page. Compare the MD5 sum you found with the MD5 sum that corresponds to the file on the server; if we have a match, your download was a success! If they do not match, don’t bother burning the image to a CD; you will have to try to re-download the image and hope this one will complete correctly.
(And by the way, thanks for testing
)
Filed under Ubuntu | Comment (0)
Nginx HTTP Server + PHP5 (With fast-cgi And xcache) On Ubuntu Feisty Fawn
View original post
Nginx HTTP Server + PHP5 (With fast-cgi And xcache) On Ubuntu Feisty Fawn
This HowTo describes the implementation of Nginx with php5 support
(through FastCGI). The fast-cgi process will be initiated via
spawn-fcgi. Nginx is a great replacement of Apache with very low
memory footprint and contrary to Lighttpd, doesn’t suffer from memory
leak over time. You can then use all the memory left to unleash the
power of mysql for instance by increasing the default query cache.
Filed under Ubuntu | Comment (0)
How to Install Compiz in Debian
View original post
Compiz is a compositing window manager that uses 3D graphics acceleration via OpenGL. It provides various new graphical effects and features on any desktop environment, including Gnome and KDE.
Easily extendible through plugins.
A growing, friendly community of users.
Increases productivity and enjoyment.
Impress your family and friends.
Compiz is actively developed.
Requirements
The bare minimum is 3D capable Graphic’s card and atleast 512 MB of ram.
Install Compiz in Debian
#apt-get install compiz
this will install compiz along with its dependencies.
Configuring Compiz
Now you need to manually edit the /etc/X11/xorg.conf file
#vi /etc/X11/xorg.conf
then added these two lines under the “Screen” section
Option “XAANoOffscreenPixmaps”
Option “AddARGBGLXVisuals” “true”
then added these lines under “Device”
Option “AllowGLXWithComposite” “true”
Option “RenderAccel” “true”
added one line under “Server Layout”
Option “AIGLX” “on”
Finally at the end of the file add these lines
Section “Extensions”
Option “Composite” “Enable”
EndSection
After making the following chages you need to save and exit the file.
Add “compiz –replace” to “Desktop -> Preferences -> Sessions -> Startup Programs”.
Now restart the Xserver, Better is to restart the whole system.
After you login you will directly be in a compizified environment.
Tags: compiz debian, compiz features, compiz requirements, configuring compiz debian, install compiz debiancompiz debian, compiz features, compiz requirements, configuring compiz debian, install compiz debian
Filed under Debian | Comment (0)
Howto Auto mount a drive in DOSBOX
View original post
DOSBox emulates an Intel x86 PC, complete with sound, graphics, mouse, modem, etc., necessary for running many old DOS games that simply cannot be run on modern PCs and operating systems, such as Microsoft Windows 2000, Windows XP, Linux and FreeBSD. However, it is not restricted to running only games. In theory, any DOS application should run in DOSBox, but the emphasis has been on getting DOS games to run smoothly, which means that communication, networking and printer support are still in early developement.
Install dosbox in ubuntu
Open terminal window and type the following command
sudo apt-get install dosbox
Howto Automount drive
Open a terminal session, and it should take you to your home directory. If not, type cd /home/yourname/
Create a directory to store your DOS programs in. I called mine dosprog, so I typed mkdir dosprog The full pathname to this file is home/yourname/dosprog
Open dosbox by typing dosbox
You are now in the dosbox shell. Neat, huh? Note that it automatically puts you at the Z:\ drive We want to change that. Try typing in the dos command C: Note that it says the drive doesn’t exist. We could mount the C drive everytime we open dosbox by typing mount c /home/yourname/dosprog everytime, but why do that whendosbox can create a configuration file to take care of that for you! But first we need to create the file.
At the dosbox Z:\ prompt, type in config -writeconf /home/yourname/dosbox.conf You now have the configuration file.
Type exit. This puts you back in your terminal session
Type sudo gedit dosbox.conf This will open the dosbox configuration file.
Scroll down the dosbox.conf file to this section
[autoexec]
# Lines in this section will be run at startup.Type the following in on a new line:
mount c /home/yourname/dosprog
This will automatically mount the C: drive to your dosprog directory.
If you want dosbox to automatically start on the C: drive, enter C: on a new line after your mount line.
Save and quit gedit.
Now at the terminal prompt, type in dosbox It should auto mount the C: drive, (and if you followed step 8a, it will also start you on the C: drive)
Manually Mounting a CD-ROM
Place a CD in your CD-ROM. Ubuntu will happily auto-mount the CD for you to /media/cdrom0 assuming that you placed teh CD in that drive. If you have more than one CD-ROM drive Ubuntu may will have mounted it to /media/cdromx where x is a number. Now that we’re done with that OS stuff back to DosBox.
Type mount d /media/cdrom0 -t cdrom
Now your CD is mounted in DosBox to the D: drive. Again if you’d like to test this type, D: and press enter. Now type dir and press enter. You should again get a listing of all items on the CD.
Mounting a directory to a drive in DosBox
Open triminal windows and type the following command
dosbox
This launches DosBox in a new window, and starts you with a Z:\ prompt
So now on to really mounting a drive. I suggest you mount a directory that you have permission to write to (as a user, not a superuser). Your home directory (/home/username) works nicely.
Type mount c /home/username
This mounts your home directory to the C:\ drive in DosBox. If you’d like to test this, type C: and press enter.
Now type dir and press enter. Just as in DOS, you will get a listing of all items in your directory.
Tags: Auto mount a drive in DOSBOX ubuntu, dosbox ubuntu, General, install dosbox ubuntu, Manually Mounting a CD ROM dosbox ubuntuAuto mount a drive in DOSBOX ubuntu, dosbox ubuntu, General, install dosbox ubuntu, Manually Mounting a CD ROM dosbox ubuntu
Filed under Ubuntu | Comment (0)


