Subscribe to our RSS

UbunTux

If you want to learn, teach.

Location of php.ini

In the daily work with a LAMP server, or application development in php need to edit more than one occasion or consult the php.ini file conflagration. We can locate this file on a system hosted on Ubuntu with LAMP directory:

/etc/php5/apache2/php.ini

How to install Firefox 4.0 on Ubuntu

Yesterday came the Firefox browser version 4 with many improvements in speed, standards support and interface. If you want to install Ubuntu 4.10 or Ubuntu 10.10 just add the repository and install.
From a terminal (CTRL + ALT + T), run the following commands:

sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update && sudo apt-get install firefox ubufox

Then we install the language packs to systems 32-bit systems or 64-bit .

In gnome the look of Firefox 4 is not exactly like that of other systems. For example we have the menu bar. The extension Movable Firefox Button can give a more like moving the bar to a button at the top left.

Several commands in Ubuntu system test

The other day I entreteniéndome with Gentoo in a VM. Right in the beginning the installation guide presents some interesting commands that I know and are available in Ubuntu. They are for terminal, so you have to open one by pressing CTRL + ALT + T.

To understand the performance of the CPU

grep bogo /proc/cpuinfo
When booting the Linux kernel is estimated CPU performance. The unit used is the bogomips .

To find out the hard drive performance

sudo hdparm -tT /dev/sda
This command causes a speed test the hard drive and shows the result.

To find the memory installed in the system

grep MemTotal /proc/meminfo
This filters the information we file virtual memory meninfo, which contains more information on the use of memory by the kernel.

This information is important in Gentoo because we can appreciate what it take to install the programs as they need to be compiled to be installed.

Gentoo Installation Guide.

How to update DropBox

When installing DropBox repositories are added, but it seems that they only update the part of Nautilus by what I saw the devil running DropBox is not updated and will eventually becoming obsolete.

To update DropBox execute the following commands in a terminal will open by pressing CTRL + ALT + T or from the menu Applications -> Accessories -> Terminal:

dropbox stop
rm -r ~/.dropbox-dist
dropbox start -i

This opens a dialog that we accept and begin downloading the update DropBox.

If you have not DropBox can use this link that will get both more space using the program referenced http://db.tt/ul7sAP0

How to remove outdated kernels

It happens that as our system is updated, new Linux kernels are installed. The previous stay in the system in case we need to use them. This is clearly seen at boot selection screen in the operating system's grub.

In addition to the overhead menu grub for Linux kernels no longer going to use, they occupy a significant volume on your hard drive.

Is quite easy to remove by using a terminal. We opened one by pressing CTRL + ATL + T or from Applications -> Accessories -> Terminal.

If our system is not installed install it with aptitude

sudo apt-get install aptitude

Once installed aptitude we will serve it to know the core installed using the following command:

aptitude search ~ilinux-image-2

It displays a list of the installed kernels. Of these one is that we are using and we should not delete it. Surely be the most recent, as indicated by its version number. The latest is the one with higher version number. To ensure we can use the following command that indicates the kernel.

uname -r

Once we know what NOT to delete can start deleting the oldest. The command to do is:

sudo aptitude purge nombre_del_kernel

Where nombre_del_kernel by the corresponding change to the kernel you want to delete. After a few seconds the kernel will be deleted.