piwik

dilluns, 29 d’abril del 2013

How do I get the full path to display in Nautilus?


How can I get the full path to display in Nautilus so I can copy it to the clipboard and/or type a path manually?


Ctrl+L


Source: http://ubuntuforums.org/showthread.php?t=1653259

diumenge, 24 de febrer del 2013

Removing Joomla plugin using phpMyAdmin

After moving my joomla website from the previous hosting provider to the new one, I had ran into many troubles, I got it fixed, after all, and the next issue that stopped me was some installed plugins weren't working, I wasn't even able to uninstall them, so the last chance was going to phpMyAdmin and removing one row from jos_plugins table, I just removed the one that belonged to the specific plugin I wanted to remove, then I installed the plugin back.

It worked great! 

dimarts, 12 de febrer del 2013

How to install KVM on Debian

Since I need it for training purposes, RHCSA, I am going to install the Red Hat based virtualization platform on Debian. Choosing that platform is good if your station support virtualization, KVM, for Intel version we should check out cpuinfo file using the following command:
grep --color vmx /proc/cpuinfo
For AMD based processor will follow with this:
grep --color svm /proc/cpuinfo
The needed packages for setting up the system are:
aptitude install qemu-kvm libvirt-bin virtinst kvm virt-viewer virt-manager

Now we only need to get the user we want to use VM added to libvirt and kvm groups:
adduser ouruser libvirt
adduser ouruser kvm

dijous, 17 de gener del 2013

How to compress an entire directory on GNU/Linux tar

tar -cvf filename.tar.gz directory_to_compress/

How to mount ISO image into GNU/Linux filesystem

You must be logged as a root and execute the following command, assuming that you have a mount point directory (/mnt/disk1) already created.

mount -o loop disk1.iso /mnt/disk

Source: http://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html

dimecres, 16 de gener del 2013

Enable PAE support for the CentOS virtual image, on VirtualBox

When trying to dun a CentOS image in my VirtualBox, I got the following error.

This kernel requires the following features not present on the CPU:
PAE
Unable to boot - please use a kernel appropiate for your CPU.

Due to the new kernel version of CenOS 6, we are required to have PAE support enabled in the actual virtual machine. To proceed with this we just need to run the following console command, which sets to On mode PAE support for the current machine.

VBoxManage modifyvm SlackVM2 --pae on
Info taken from: http://slackblogs.blogspot.cz/2011/06/pae-support-on-virtualbox.html

diumenge, 21 d’octubre del 2012

Getting started with Raspberry PI, installing, Raspbian Raspberry's Pi OS.

Once I got my toy I am going to get started with it installing the OS. I have chosen the Debian version for the gadget.
Yo can get if from the official repositories which are here. Unzip it and.....
After that you need to what devices are currently mounted in your computer. Yo will get an output similar to


root@xemacs:/home/xemacs# df -h
S. fitxers            Mida En ús Lliure %Ús Muntat a
/dev/sda5             9,2G  5,2G  3,6G  59% /
tmpfs                 1,5G     0  1,5G   0% /lib/init/rw
udev                  1,5G  280K  1,5G   1% /dev
tmpfs                 1,5G  612K  1,5G   1% /dev/shm
/dev/sda7             352G   67G  268G  20% /home

Now you have to plug the SD card into the reader and check againg the devices, You will notice there is a new device already mounted.

root@xemacs:/home/xemacs# df -h
S. fitxers            Mida En ús Lliure %Ús Muntat a
/dev/sda5             9,2G  5,2G  3,6G  59% /
tmpfs                 1,5G     0  1,5G   0% /lib/init/rw
udev                  1,5G  280K  1,5G   1% /dev
tmpfs                 1,5G  612K  1,5G   1% /dev/shm
/dev/sda7             352G   67G  268G  20% /home
/dev/sdb2             1,8G   35M  1,6G   3% /media/10b4c001-2137-4418-b29e-57b7d15a6cbc
/dev/sdb1              56M   24K   56M   1% /media/usb0

In this case we will be dropping the image over /dev/sdb device
We will have to umount the partition with the following command:
root@xemacs:/home/xemacs# umount /dev/sdb2
For that we will be running the following command, which will copy the image into the SD card.
We are setting the block size to 4M, if will be the path to the image file and of stands for the output where we are going to copy the image, it means oour SD card (without the number associated to the partition)

root@xemacs:/home/xemacs# dd bs=4M  if=/home/xemacs/Raspberry/2012-08-16-wheezy-raspbian.img of=/dev/sdb
462+1 registres llegits
462+1 registres escrits
1939865600 octets (1,9 GB) copiats, 355,567 s, 5,5 MB/s
root@xemacs:/home/xemacs# 


Notes:
We will be proceeding as a root user
Since we have installed Debian, the partition size is only 2G, in the next post I will be explaining how to expand the size of the partition .

We are ready to rock