Blog

Reset Firefox preferences to troubleshoot and fix problems

"Resetting preferences (zoom, tabs, privacy, network, encryption, download actions, etc.) is one of many procedures that can be helpful in fixing Firefox issues."

X forwarding on CentOS

 

If you get this error:

X11 forwarding request failed on channel 0

Install these:

yum install xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils

mount disk image that contains LVM volumes

The easy way:

- install kpartx package (yum install kpartx)
- create device map from the disk image partition table (kpartx -a diskimage.img or kpartx -a /dev/volume-group/volume)
- rescan physical volume in the disks (pvscan)
- makes active the volume (vgchange  -a y /dev/other-volume-group/volume)
- mount it (mount /dev/other-volume-group/volume /path)
Hard way:

MySQL/MariaDB database size

SELECT table_schema "Data Base Name", sum( data_length + index_length ) / 1024 / 1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema ;

Virual machine disk expand in VirtualBox

VBoxManage modifyhd virtual-machine-disk.vdi --resize <new size in MB>

sftp (sshfs) mount under Windows

Install the follows:

-Dokan library (It is including Dokan.NET and SharpSSH) (http://dokan-dev.net/en)
- Microsoft .NET Framework 3.5 (included in Windows 7
- Microsoft Visual C++ 2005 SP1 Redistributable Package
(http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4...)

How to use?

Oldalak

Subscribe to RSS - blogok