Remove audacity (#yum remove audacity), install audacity-freeworld (#yum install audacity-freeworld ). That’s it. You might have to enable RPMFusion.

 
  1. Install encfs
  2. do $mkdir ~/Dropbox/Secure ; mkdir ~/DropboxSecure
  3. do $ encfs ~/Dropbox/Secure ~/DropboxSecure
  4. I chose paranoia mode. This will use the settings below.
  5. Enter a secure password and there you go.

You now have a folder ‘DropboxSecure’, in which you can store your sensitive data. It will save this in ~/Dropbox/Secure/ .

You can unmount this via $ sudo umount /home/karlo/DropboxSecure #needs to be done using sudo. I guess this is a bug. After umounting, you will notice the directory DropboxSecure is still there, but empty.

Mount again by using step 3 and entering your password.

Paranoia settings: 

Filesystem cipher: “ssl/aes”, version 3:0:2
Filename encoding: “nameio/block”, version 3:0:1
Key Size: 256 bits
Block Size: 1024 bytes, including 8 byte MAC header
Each file contains 8 byte header with unique IV data.
Filenames encoded using IV chaining mode.
File data IV is chained to filename IV.
File holes passed through to ciphertext.

Screenshot:

 

Easier than my previous post, use this plugin for wordpress.

 

I generated SSL certs using this guide. Then I set up dovecot and postfix. View my dovecot conf here and my psotfix main.cf here.

You can use this to configure your own working SSL mail. Remember to install: dovecot, dovecot-imap and postfix.

On your devices, use ports 143/993 (incomping) and 587 (outgoing).

Please note my main.cf file also includes config for mailman.

 

Getting this?

$ sudo service dovecot restart
* Restarting IMAP/POP3 mail server dovecot
Error: mail_executable: Can’t use /usr/lib/dovecot/imap: No such file or directory
Fatal: Invalid configuration in /etc/dovecot/dovecot.conf
…fail!

install dovecot-imap ;)

 
  1. Give your wordpress dir the right permissions: sudo chmod -R 775 wp-dir ; sudo chown -R username:www-data
  2. Add this in wp-config.php: define(‘FS_METHOD’,'direct’);

You can now update via ‘update now’.

 

I used the following script to test brute-force protection:

#!/usr/bin/php
<?php

for( $i=0; $i<99; $i++ ){
echo “Will try [$i] now. \n”;
$mbox = imap_open(“{mail.mailserver.com:143/imap/novalidate-cert}INBOX”,”user_test_$i”,”foobar”,0,0);
}

?>

 

Edit: You will need php-cli and php-imap

 

Found this gem on an other blog:

Deprecated Linux networking commands and their replacements 

I mostly use $ifconfig. Let’s try `$ ip a` from now on :) .

 

Recently I got the error:

GConf Error: Configuration server couldn’t be contacted: D-BUS error: Method ” GetDefaultDatabase” with signature “” on interface “org.gnome.GConf.Server” doesn’t exist.

I got this while trying to start Evolution (mail software).

Solution is simply rebooting. I forgot to reboot after my Fedora 15 to Fedora 16 upgrade

 

Getting this:

$ java drs.jar
Exception in thread “main” java.lang.NoClassDefFoundError: drs/jar
Caused by: java.lang.ClassNotFoundException: drs.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: drs.jar. Program will exit.

Solution is:

$java -jar drs.jar

 

Clear the BASH history easily via:

$ >~/.bash_history

Remember to log out after doing this.

© 2011 Karlo Luiten Suffusion theme by Sayontan Sinha