What’s Heartbleed vulnerability (CVE-2014-0160)?
A serious OpenSSL vulnerability has been found, and is named Heartbleed and it affected all servers running OpenSSL versions from 1.0.01 to 1.0.1f. This vulnerability can be used to get the Private key of a SSL connection, so it is important to update / patch your server immediately. This bug is fixed in OpenSSL version 1.0.1g. All major Linux Distros have already released updates for Hartbleed vulnerability.
How to find out if your server is affected from Openssl Heartbleed vulnerability (CVE-2014-0160)?
Login to your SSH and execute following command to get the installed version number of OpenSSL:
The result should be something like this:
OpenSSL 1.0.1e 11 Feb 2013
If the version is below 1.0.1g your server might be vulnerable and you should patch it (see how below).
If your server is using a 0.9.8 release like it is used on Debian squeeze, then the server is not vulnerable as the HeartBleed function has been implemented in OpenSSL 1.0.1 and later versions only.
OpenSSL 0.9.8o 01 Jun 2010
Fixing the Heartbleed vulnerability
CentOS and Fedora:
Ubuntu and Debian:
Ok, now what?
After this you should restart all the services using OpenSSL but better idea is to restart the whole server just in case.
You can also verify on following site if you successfully closed the Heartbleed security hole on your server: http://filippo.io/Heartbleed/
Today I have updated Android on my Samsung Galaxy S4 to version 4.4.2 Kit-Kat and after the device booted I noticed that about half of my installed applications are missing! And I freaked out!
Instantly I started looking for the solution to this problem and it’s really easy and stupid. All you need to do is simply to reboot the device. To do that simply hold the Power button and when the menu appears select the Reboot. When the phone boots all missing apps will be back.
In my case all the apps are now not in the positions I placed them so I had to re-organize them again but at least that’s not a problem and is less time consuming then finding them and installing them again.
One thing I also noticed is that I’ve got Google Drive application installed on my phone. Just another app in my bloatware folder I guess…
The easiest way is to just start command line as administrator like this
and execute this single command:
powercfg /h off
This guide is just for Windows 7 and it will disable hibernation and remove hiberfil.sys file.
This is recommended if you use SSD drive.
htop is an interactive process viewer for Linux, which is a powerful alternative to top utility.
Main features of htop:
– Supports mouse interactions
– Better sorting and selective display
– Color formatted display
– Resource graphs
– Process treeview
– Installing htop
To install htop to Redhat or CentOS Linux easily via the yum package manager. However sometimes it happens that yum repository doesn’t have that package, so the rpmforge package repository must be installed first. To install, retrieve, and install the following RPM for your architecture (32bit or 64bit).
rpm -Uhv rpmforge-release*.rf.i386.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm
Now that the rpmforge repository is installed, you can install the htop package easily via yum.
yum install htop
– Have you ever wondered how to setup your own private Cloud service?
– Is there any (preferably self hosted) alternative to DropBox, Google Drive, SkyDrive… ?
– Services like Dropbox and Google Drive are really good but they can cost you money if you need more space.
– You have tried all the alternatives to Dropbox and Google Drive but you need something different?
– Do you really need all the futures they provide?
– Do you need more features (like syncing calendars, tasks, contacts and music)?
– Do you want to be able to install pre-made or develop your own plugins for your cloud?
– Can we really trust companies like Google or Dropbox them with our data?
– Are you a small company or start-up and you can’t afford a $795/year for Dropbox team service?
– You also need iPhone and Android application so you can access your files on your phone?
– You also want a Windows, Mac or Linux Desktop application and Web access?
– You want to host that could on your company server or inhouse? And you want it on a sub-domain like cloud.yourcompany.com?
– And you want it free or really cheap?
Not a problem! We got you covered with all that!!!
The solution to problems listed (and un-listed) above is really simple. All you need is to install ownCloud on your server/hosting. This software is a PHP/MySQL powered so it will work on just about any Linux server and is released under AGPL license.
In case you have hosting (shared/vps/cloud/dedicated) you can skip this paragraph.
If you don’t have one – you can get it pretty cheap these days and my advice is to go with DigitalOcean. They will provide you with great entry level VPS (512MB of DDR3 RAM, 1 Intel Xeon 2GHz Core, 20GB od SSD hard disk space and 1TB of bandwidth) for just $5. Did I mention it’s SSD powered – so it’s blazing fast! Plus you can deploy your VPS in US or NL and you can add backups for 20% (in this case for $1 extra a month). New VPS is provisioned in 60 seconds and you pay per hour of use (not monthly). So you’re invited to play bit with different linux distributions, geo-locations and sizes etc.. and to fully test it out before you put it in production use.
Detailed installation instructions for Digital Ocean can be found in here and if you need any help in setting it up – feel free to contact me.
Installing OwnCloud on shard hosting
The installation process is easy and it’s similar to installing just about any PHP/MySQL script (like WordPress for eg.).
Here’s step by step guide:
1. Download the web installer from this url: https://download.owncloud.com/download/community/setup-owncloud.php
2. Upload setup-owncloud.php to your web space
3. Point your web browser to setup-owncloud.php on your webspace
4. Follow the instructions and configure ownCloud
5. Login to your newly created ownCloud instance!
In case you need any help with the setup feel free to contact me
Downloading Desktop Client
There are Desktop Sync Applications already developed for Windows, Linux and Mac OS. All you need to do is to download them and install them.
iOS and Android Applications
You can get them from Apple Store or from Google Play. They are not free but are really cheap and cost only $0.99 to install. Here’s a nice YouTube tutorial of Android Application:
Feature list of ownCloud
– Access, Share and Sync your data
– Tasks, Contacts, Calendar, Galleries and Music
– Public API
– SSL Encryption
– Powerful Search
– File Versioning
– File Un-Delete
– Download whole folders as ZIP archives
– LDAP Active Directory
– User Management
– User Quotes and Groups
– Internal Messages (free 3rd party app)
– External Storage (access data from AmazonS3, GoogleDocs, DropBox, FTP…)
– PDF viewer in browser (no plugins required)
– ODF Document Viewer (file formats: .odt, .odp, .ods)
– Image Viewer and Media Player (free 3rd party app)
– Text Editor (PHP editor with syntax highlighting)
– Translated into many laguages
– Migration and backup of accounts
– Application store (so you can expand your cloud with extra plugins)
– If you are HUGE company or organisation you should check Enterprise Edition at ownCloud.com
To try out the ownCloud software you can check official ownCloud demo
OwnCloud is really interesting, feature rich cloud platform that enables you to share your data between users and various devices. It can be useful for both individuals and companies/organizations. If you have a need for your own cloud solution or you are looking for alternative to Dropbox, Google Drive or SkyDrive – you should give it a try!
If you have Samsung Galaxy phone and you like to record video clips with it you can run out of storage pretty quick. Also, if you have your Dropbox account connected with your phone it will sync those videos to Dropbox and will top it pretty quick. If you would like to keep some (or all) clips that you made on your phone it would be nice if they could that take a bit less space.
The solution to this problem is to simply compress videos. Following my simple 1-2-3 step tutorial you’ll be able to compress your videos videos quickly to about a third of their original size without any noticeable quality loss.
Download Freemake Video Converter and install it. It’s really one easy to use video compression tool that you should have installed on your computer. It stable, fast, works nicely, easy to use and mostly important totally free to use. (During installation process un-check all the offers like PasswordBox and TuneUp Utilities 2014 etc..) and once installed run the Freemake Video Converter.
Add videos to Freemake Video Converter (you can drag ‘n’ drop them directly from Dropbox folder). In the bottom menu locate to MP4 button and click it. On the window that will appear you should select Same as source preset. In top right corner you’ll be able to see the size of the output file. In my case input file is 450 Mb (5 minutes long) clip and the output file will be 139 Mb (about 325% smaller than the original file). That’s more than 3 times smaller than original file. If you have time and want maximum quality in the left side bottom of the window you can switch from One-pass encoding (high speed) to Two-pass encoding (low speed). This option will do two pass encoding that will produce slightly better quality but it will take twice more time to complete (on my Intel i5-3570K one pass encoding of that sample 5minute file takes about 2 minutes while wile two pass encoding needs about 6 and a half minutes). The two-pass encoding will not produce the smaller file than the one-pass – output files will be about the same – but it should just produce a (slightly) better quality video. Take a look at screenshot below to get a better look about what I wrote in this step.
Now that video compression is finished and you got new (3 times smaller) files – you can replace original (big) files with those we just created. You can drag ‘n’ drop those new files back to Dropbox folder and overwrite the originals. If you want to do the same with your phone you’ll need to connect it to your computer using a USB cable (and some phones might require you to use Samsung Kies software so you can copy the files to and from the phone).
With just a little time and verry little effort you could save lots of space on your phone and Dropbox account by compressing your videos.
– On some older computers (especially on single core CPUs) video compression could be very resource intensive so you won’t be able to use your computer normally while video compression is processing. My advice is to do that when you’re away from computer (at work, at night). When compression starts you can check Shut down PC after processing is completed and that will turn off your computer once it’s done.
– If you do compression overnight – you can enable two pass encoding.
– If you are compressing some clips of that are valuable to you and you want to keep them for life – enable two pass encoding.
– I think that this will also work with other Android devices but I haven’t got one to try it out. Feel free to experiment and let me know your findings by posting comments.
– I have noticed that the latest version of Free Make Video Converted 22.214.171.124 adds 2 seconds advertisement at the end of the clip ONLY to clips longer that 5 minutes. It’s just their logo fading in on a black background. It’s not a watermark! It’s some kind of their advertisement that I find annoying. So to overcome that I have noticed that older version Free Make Video Converted 126.96.36.199 just adds 2 seconds of black fade out (no logo) and that’s acceptable to me so if that bothers you maybe you should try that older version or experiment with other older versions that you can download from my favorite download site FileHorse.com
Hope that this guide will help you! I’m preparing to write one more on how to easily compress Images as well. Stay tuned.
Enjoy more free space on your Samsung Galaxy and/or your Dropbox account.
To disable directory browsing/listing on whole server, follow these simple instructions:
1. Log into WHM
2. Service Configuration –> Apache Configuration
3. Global Configuration
4. Scroll down to Directory ‘/’ Options
5. Un-tick Indexes option (see picture)
6. Then press Save button below
7. Finally, rebuild by clicking rebuild apache conf button and that’s it…
There are two ways to install IonCubeLoader on cPanel. The standard way includes recompiling Apache using EasyApache from WHM (or shell) and it takes 10-30 minutes to complete and results in Apache restart in the end.
But there’s also a quick way: just login to SSH and execute this command, wait a minute and that’s it!
/scripts/phpextensionmgr install IonCubeLoader
If your server returns unknow host errors when you try to ping some website, or wget returns unable to resolve host address, it’s most probably that you don’t have a valid DNS settings in /etc/resolv.conf
wget: unable to resolve host address downloads.sourceforge.net
ping: unknown host downloads.sourceforge.net
If you’r host didn’t provided their nameservers that you can use – you can use one provided by OpenDNS.net.
All you need to do is edit file /etc/resolv.comf and add their nemeservers into the file:
Save the changes and you’re ready to go!
(No need to restart anything)
I have just got my Samsung Galaxy S4 and I have noticed that it has imported all of the pictures and albums from Goole Picasa to my gallery. I find that very anoying and I was looking for a way how to stop it from doing it so. Here’s how to solve it.
First check if auto data sync is enabled:
1. Go to Settings and at Connections tab select Data Usage
2. In properties enable Auto sync Data (To get the properties click on the button on the left side from your Home button on your phone at the bottom right side)
After that’s done let’s disable the Picasa
1. Go to Settings and at Accounts tab select Google and then select your Gmail account (most of you have only one, I have three and if you have more than one repeat the following step for every account)
2. On the next page disable Sync Picasa Web albums (and you can also disable Sync Google+ Photos)
That will prevent future pictures from being downloaded from Picasa to your phone, now let’s clear the current ones:
0. NOTE: If you have the phone running on latest Android (Marshmallow) please scroll down since this changed a bit so following three steps are slightly different now.
1. Go to Settings and at More tab enter Application Manager
2. Once you’re into Application Manager at the top go trough the tabs above until you reach move the tab All
3. Then and find Gallery application, click on it and then click on Clear Data button and confirm.
Now you will no longer have Picasa pictures in your Gallery on your Samsung Galaxy S4 (SGS4) phone. This guide also works on Samsung Galaxy S3 and Samsung Galaxy S5 and probably on some other Galaxy phones. If you have just bought a new Galaxy phone check out some cool accessories, chargers and cases for your phone:
26th July 2014 Update: Added a blog post on how to remove Facebook Albums from Gallery app on Samsung Galaxy S3 or S4.
27th June 2014 Update: I have added screenshots made with my phone to help you out disable Picasa on your Galaxy Phone even easier. If you phone is in other language switch it to English, then disable Picasa as descibed above in the post and then switch the language back to your preferred language. This will minimize chance of making an error.
29th September 2016 Update: Users of newer devices running on latest Android (Marshmallow) should use this guide: