Posts

Showing posts with the label Open Source

Send Emails From Terminal Using Gmail

Image
  Linux terminal is one of the coolest tools I’ve ever come across Note: I’ve tested these steps on Ubuntu 12.04 and Fedora 16. Security certificate Before proceeding, we need Gmail’s security certificate on our system. Why? Gmail sends encrypted data over SSL (Secure Sockets Layer) for security; this certificate is necessary for encryption of data. Ideally, you should have the file Equifax_Secure_CA.crt under /usr/share/ca-certificates/mozilla/ . If you do, you’re ready to move on. SSL Certificate We want to connect to Google securely which means you'll need the latest SSL certificates. To get those, use the openssl client onyour machine. Run: openssl s_client -connect imap.gmail.com:993 -showcerts which should show two blocks of ----- BEGIN CERTIFICATE ----- ... ----- END CERTIFICATE ----- in the output. You'll want to take each block (including the BEGIN/END CERTIFICATE lines), and put each of them into their own file. I put the first one ...

Prevent a fork bomb by limiting user process

Image
 fork bomb is a denial-of-service attack whereby a process continually replicates itself to deplete available system resources. It can be prevented by limiting user processes.  Limiting user processes is important for running a stable system. To limit user process just add user name or group or all users to /etc/security/limits.conf file and impose process limitations. Understanding /etc/security/limits.conf file <domain> can be: an user name a group name, with @group syntax the wildcard *, for default entry the wildcard %, can be also used with %group syntax, for maxlogin limit <type> can have the two values: "soft" for enforcing the soft limits "hard" for enforcing hard limits <item> can be one of the following: core - limits the core file size (KB) <value> can be one of the following: core - limits the core file size (KB) data - max data size (KB) fsize - maximum filesize (KB) ...

Manage your books with Calibre

Image
Calibre E-book Management Kovid Goyal’s “Calibre E-book Management” is a seamless cross-platform library-management tool for ebooks of almost any format under the sun. Its features boggle the mind. Bibliomania doesn’t get better than this! Read on as I walk you through this cool utility. We all hoard data in one way or another. Some of us have loads of music and some of us have loads of movies. It all began when personal computing became affordable and all of us got to play with these virtual packets of data called files. Then came the Internet and the Napster era — MP3 files flowed in the thousands. That called for some serious media file management — what we now so effortlessly do (most of the time) using Rhythmbox, Amarok or iTunes (if you’re an Apple fan). HTPC (Home Theatre Personal Computer) Operating Systems like MoviX or their software suite counterparts like XBMC (the XBox Media Center) allow management of not just music, but your videos, TV shows and online radio too. ...

Dream Studio 11.10 Is Based on Ubuntu 11.10

Image
Dream Studio 11.10 Dick MacInnis proudly announced on, February 24th, the immediate availability for download of the Dream Studio 11.10 operating system. Being based on the Ubuntu 11.10 (Oneiric Ocelot) operating system, the brand-new Dream Studio 11.10 distribution has lots of new features and a beautified Unity-based desktop. Dream Studio 11.10 is known for features like multi-user and real-time PulseAudio-integrated audio through JACK, the Cinelerra video editor, photography applications, lots of various video and audio effects, and fonts, as well as many utilities. " DickMacInnis.com is proud to announce the official release of Dream Studio 11.10. This exciting new version of Dream Studio (dream.dickmacinnis.com) has all the features that have made past releases one of the most successful multimedia software packages out there, " " Not only that, but this latest version of Dream Studio also included hundreds of bug fixes and the following new features ...

Run linux programs on windows: Cygwin

Image
Have a taste of Linux on Windows We believe that everyone who considers themselves a computer enthusiast should have at least some experience with a Linux environment, but it can be daunting to just jump into the deep end of a completely unfamiliar operating system. One way to get your feet wet is with Cygwin, a free program that provides you with a Unix-like command line, without having to leave Windows. Cygwin is not a Unix emulator (it cannot run native Unix programs, although it does contain the tools needed to compile and run a program from source code), but it does have a wide array of optional packages that let you use most of the tools and utilities that you would commonly use in Unix, in Windows. In this guide, we’ll show you how to get Cygwin set up, the basics of how to navigate a Unix file system, and how to find more information as you need it. 1. Install Cygwin To get started with Cygwin, go to   www.cygwin.com   and click the link that says “Install or updat...