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 more than one occasion to edit or check 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 of the many improvements in speed, standards support and interface. If you want to install Ubuntu 10.10 Ubuntu 10.04 or just need to 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 for 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 similar moving that to a button bar at the top left.

Several commands in Ubuntu system test

The other day I was tinkering with Gentoo in a VM. Nothing more to start 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.

For CPU performance

grep bogo /proc/cpuinfo
When booting the Linux kernel estimation is 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 see 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 because it allows Gentoo to assess what it will take to install the programs as they need to be compiled to be installed.

Gentoo Installation Guide.

How to update DropBox

When installing DropBox repository is added, but it seems that they only update the Nautilus component for what I have seen 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 we 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 if we need to use them. This is clearly seen at boot selection screen in the operating system's grub.

Besides overloading the grub menu kernel that we will not use, they occupy a not inconsiderable amount on your hard drive.

Removing them is easy enough 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 find him to serve as nuclei installed using the following command:

aptitude search ~ilinux-image-2

It will display a list of installed kernels. Of these one is that we are using and we should not delete it. It will 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 which 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.