08 Jan 2014
What is a cipher suite? This is a named combination of authentication, encryption, and message authentication code (MAC) algorithms
which is used for TLS and SSL. And many of these cipher suite are by default in your Browser and known as insecure.
The nice thing about this is you can fix these really fast.
- go to
about:config
- set
security.tls.version.max to 3
- search all
security.ssl3. disable all exept these from the list below
security.ssl3.rsa_des_ede3_sha
security.ssl3.rsa_aes_256_sha
security.ssl3.rsa_aes_128_sha
security.ssl3.dhe_rsa_des_ede3_sha
security.ssl3.dhe_rsa_aes_256_sha
security.ssl3.dhe_rsa_aes_128_sha
security.ssl3.ecdhe_rsa_aes_256_sha
You can see on https://www.howsmyssl.com if you got everything right.
Check these in all browser and help friends and family with this!
29 Dec 2013
In the Lenovo Ideapad Yoga laptop is a SD card slot but there are not default driver for that.
But you can simple install it with:
sudo yum install kmod-staging
And now you can load it with:
sudo modprobe rts5139
Or you can just reboot your laptop.
Please keep in mind that it don't work if you have secure boot on.
18 Dec 2013
Just edit in /etc/default/grub the GRUB_CMDLINE_LINUX parameter and remove rhgb quiet.
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-3c9b6347-1d19-4191-af16-4c156d1e8252 rd.luks.uuid=luks-9c380ed4-cac0-4112-a406-17de8c5b96e1 rhgb quiet"
After that you need to rebuild your grub with something like this:
grub2-mkconfig -o /boot/grub2/grub.cfg
And now you have a fancy splash screen with text output.
30 Nov 2013
If I just follow the official instructions,
I get an error everytime:
systemctl status mongod.service
mongod.service - SYSV: Mongo is a scalable, document-oriented database.
Loaded: loaded (/etc/rc.d/init.d/mongod)
Active: failed (Result: timeout) since Sun 2013-09-08 11:26:11 CEST; 51s ago
Process: 3166 ExecStart=/etc/rc.d/init.d/mongod start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/mongod.service
└─3174 /usr/bin/mongod -f /etc/mongod.conf
If you look at the error log, you will find something like this: PID file /var/run/mongo/mongod.pid not readable (yet?) after start.
There is a bug report since 01 04 2013 https://jira.mongodb.org/browse/SERVER-9202. So the problem is that the default location to store the pid file is
/var/run/mongodb/mongod.pid, but systemd looks at /var/run/mongo/mongod.pid.
To fix this, just change the location in the config file '/etc/mongod.conf': pidfilepath = /var/run/mongo/mongod.pid.
My first thought was to create the directory '/var/run/mongo' and change the owner and group to mongod (chown mongod:mongod).
But on most modern systems /var/run is a tempfs file system so you need to create a config file in /lib/tmpfiles.d and add the config file echo “d /var/run/mongo 0755 mongod mongod” > mongo.conf.
##UPDATE
It appears that the pid should be stored since Fedora 19 or 20 in /var/run/mongodb and not /var/run/mongo.
24 Nov 2013
If everything works as intended you can send push requests to our github repo and it'll get automagic deployed if we merge it.
Publishing from github is easy. You just need to set a small php page up which invokes a script to update the git repo and add the url of your php script in "web hooks" at github.
The php file:
$ cat update.php
<?php
shell_exec('./update.sh');
?>
and the update script:
$ cat update.sh
#!/bin/sh
#the logfile
datestr=$(date +%Y%m%d_%H%M%S)
LOGFILE=/your/path/log_$datestr
#cd to your git repo
cd /home/username/blog/
#update ALL TEH SOURCE
echo git >> $LOGFILE
git pull >> $LOGFILE
#Load bash_profile for jekyll
. /home/username/.bash_profile
#build page
echo jekyll >> $LOGFILE
jekyll build -d /var/www/virtual/username/html >> $LOGFILE
This replace the post-receive git hook. And will do the same work.