Archívy kategórií: Debian

MySQL Workbench – passwords not being saved in keychain

MySQLWorkbenchIf you have problem, that your MySQL Workbench can’t save passwords for your MySQL connections, try to start mysql-workbench in verbose mode. Maybe you will see a error:

$ mysql-workbench --verbose
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
['un\\"o', 'do``s']

Thread started

Pokračovať v čítaní

Make cryptsetup ask the same password only once at boot

initramfs-tools-cryptroot-as-password-onceluks-logoI bought a new hard drive. Because I protect all my harddisk with encryption, I setup LUKS for new harddrive too. But init scripts ask password for every encrypted partition and I want enter my harddisk password only once. I have started with googling but I wasn’t succesfull. I have found this thread about the same problem. But author didn’t provide patch and uploaded *.tar.gz archive is no longer available. Pokračovať v čítaní

Installing Java 7 (Oracle) in Debian via apt-get


If you want install Java on your Debian server, you can use this guide:
Download Java 7 (Oracle) from Java Downloads for Linux. Download *.tar.gz files.

$ ls -la j*.tar.gz
-rw-r--r-- 1 data data 138199690 Mar  7 00:58 jdk-7u51-linux-x64.tar.gz
-rw-r--r-- 1 data data  46904005 Mar 19 00:08 jre-7u51-linux-x64.tar.gz

Pokračovať v čítaní

perl warning – Setting locale failed.

Debian logo

Ak zvyknete narážať na nasledovnú chybu po čerstvej inštalácii Debianu, riešenie je nasledovné:

$ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
   apt ( =>
   apt-utils ( =>
   dpkg (1.16.8 => 1.16.9)
   tzdata (2012f-1 => 2012g-1)
25 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 554 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Fetched 11.6 MB in 0s (13.1 MB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = "",
        LC_TIME = "en_US.UTF-8",
        LC_CTYPE = "sk_SK.UTF-8",
        LC_MONETARY = "sk_SK.UTF-8",
        LC_COLLATE = "sk_SK.UTF-8",
        LC_ADDRESS = "sk_SK.UTF-8",
        LC_TELEPHONE = "sk_SK.UTF-8",
        LC_MESSAGES = "en_US.UTF-8",
        LC_NAME = "sk_SK.UTF-8",
        LC_MEASUREMENT = "sk_SK.UTF-8",
        LC_IDENTIFICATION = "sk_SK.UTF-8",
        LC_NUMERIC = "sk_SK.UTF-8",
        LC_PAPER = "sk_SK.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...

Pokračovať v čítaní