-
Upgrade php on debian
Posted on December 4th, 2008 No commentsUpgrading php to latest version is really easy under Debian and Linux. First make backup of all important data and config files.
Here we have taken the backup of php4 verison.
cp /etc/php4/cli/php.ini php.ini_bak
Then give the following command to upgrade php4 to php5
apt-get install php5-cgi php5-cli
finally you should see the following text…
Creating config file /etc/php5/cgi/php.ini with new versionSetting up php5-cli (5.2.0-8+etch13) …
Creating config file /etc/php5/cli/php.ini with new version
Note down the new config file and add whatever loaders (Ioncube, zend extensions ) to the new php.ini file.
Please note that it will upgrade related package as well
-
How do I install and use fonts in Linux?
Posted on August 6th, 2008 No commentsInstalling fonts in Ubuntu
Once you have your handy collection of True Type fonts, you are going to want to create a directory to hold them. Installing the fonts system-wide will give all users access to them. First, create a font directory in /usr/share/fonts/truetype. Call this directory newfonts. Issue the command sudo mkdir /usr/share/fonts/truetype/newfonts. You will have to enter your sudo password to complete this task.
Once this directory is created, place all your *ttf or *TTF files in the newfonts directory. With the fonts in place you will then need to issue the command fc-cache -f -v to make the system aware of the new fonts. Once this is done, the system knows about the new fonts and all the system users will have access to them.
If you want to make these fonts available only to specific users, then you will follow the same directions except you will add the fonts only to the users’ ~/.fonts directory. If the ~/.fonts directory doesn’t exist, create it with mkdir ~/.fonts (while logged into the specific users’ accounts). Now move (or copy) all of the *ttf and/or *TTF files into the new directory and run fc-cache -f -v to make the users’ accounts aware of the fonts.
If you have a single-user machine, go with the latter version……
-
How to run .exe files on ubuntu linux
Posted on July 29th, 2008 No commentsYou just need to install a program which is called wine by writing the following command in your terminal
sudo apt-get install wine
then to run a .exe file you just need to be in the same directory where your program is located then write the following command in your terminal
wine your_exe_filename
If you need to know more about wine just use the man command after installing wine..



Recent Comments