web analytics

Crontab

Written by config on . Posted in CentOS, Linux, Ubuntu

Advertisement

What is Crontab ?
One can enter the list of commands that he wishes to execute at a particular time in future, or they can be scheduled to execute on a daily basis. Crontab is a general text file which holds this list. The commands entered in crontab and the times to execute them is handled by cron daemon. It runs in background. Crontab’s man page explains about itself pretty well. Later we have lined up a crontab example for better understanding.

Setting User and Group Permissions for executing programs in Linux

Written by config on . Posted in CentOS, Linux, Ubuntu

Every User or group in a Linux or (Unix like) Operating system is associated with a unique identity called UserID (UID) for a user and GroupID(GID) for a group.
To know the uid, gid of your account simply type the ‘id’ command in your terminal.
To know the id of any user account, simply type ‘id username’. Replace username with corresponding username.

Setting Up A Ubuntu Web-Server On A Remote Host – Ubuntu Lamp

Written by config on . Posted in Linux, Ubuntu

The main advantage of using and setting up a Linux server is that it will be interesting and informative as you learn lot of things on how to customize and fine tune the Open Source operating system to your needs,‭ ‬and of course this is fun and you will feel happy when you yourself do things on your own,‭ ‬isn’t it‭?
In this Tutorial you will learn how to install LAMP on Ubuntu server. Including all the components – fast and easy straight from the repo.

How to install GNOME 3 and Mate on Ubuntu 11.10

Written by config on . Posted in Linux, Ubuntu

In this tutorial I am going to show you how to install GNOME 3 on your Ubuntu 11.10 desktop. We will install it with some shell extensions so that you can get the feel and look of GNOME 2 on GNOME 3. This is for those guys who want to revert to GNOME 2. For GNOME 3 lovers there is no need to install this extension.

Preliminaries:
This works perfectly with Ubuntu 11.10, may work with other versions of Ubuntu but I am not sure about that. You may try, I won’t guarantee on this.

Fedora 15 with GNOME 3 – A glimpse

Written by config on . Posted in Linux, Ubuntu

Fedora project, powered by Red Hat, has released another beast into the wild, Fedora 15, Linux-based operating system.
In previous versions, there have been similarities between the two leading distros- Ubuntu and Fedora. Ubuntu fans are now going to have second thoughts about it. Fedora 15, has got over the leap and now major differences can be pointed out. The brain storm only got worse.
Skipping all regular debate remarks, the discussion can be narrowed down to comparison between GNOME 3 and Unity. Fedora has always been different from the league.

How to secure emails with SSL certificates

Written by config on . Posted in Linux, Ubuntu

In this tutorial we will learn how to secure emails by encrypting them using S/MIME function. There are trusted certificates available online by CA (certificate authority) but you can also create SSL certificates (self signed SSL certificate) by yourself. The procedure is given below:

Preliminaries
S/MIME is a key paired system. It has one public key and one private key. For example if you want to send some encrypted emails from your system then receiver i.e. to whom you are sending the encrypted email must use S/MIME and his public key must be known to you. Sending an email signed with the certificate is the method to send someone your public key.

How to mount remote directory on Ubuntu 11.10 using SSHFS

Written by config on . Posted in Linux, Ubuntu

In this tutorial I will teach you how to mount a complete directory to a local server from a remote server using SSHFS i.e. securely. SSHFS stands for Secure Shell FileSystem. This kind of filesystem provides the directories and files securely over SSH and all the local users can access those files as if they are local files or directories. The remote share is mounted using FUSE which means FileSystem in Userspace.

Linux Mint and the meaning for Linux users.

Written by config on . Posted in Linux, Ubuntu

In the world of operating systems, each mass-marketed system of software has its unique nuances. It’s these nuances that are played the most to potential buyers. If you love messing with your computer, but don’t have a degree in computer science, then you’re probably a Windows guy. If you know absolutely nothing about computers and how to customize your software to your liking, you’re probably a Mac guy. And then there is the Linux crowd…

People who operate Linux operating systems are the kind of people that really know what they’re doing. They understand computers and have probably studied them in great detail, more than likely obtaining a degree in something computer related. The people that appreciate Linux are the people that want to get the most out of their machines.

Now lets talk about the latest Linux Mint release.

Permission denied errors when starting bind9 on Ubuntu 10.04 with Plesk 10

Written by config on . Posted in Linux, Ubuntu

If you are getting the following in your error log and you cannot start bind9 on Ubuntu 10.04 server with Plesk 10 installed:

named[5372]: loading configuration from '/etc/named.conf'
named[5372]: none:0: open: /etc/named.conf: permission denied
named[5372]: loading configuration: permission denied
named[5372]: exiting (due to fatal error)

Mirror websites with lftp

Written by config on . Posted in Linux, Ubuntu

There are lots of methods to mirror websites, you could use tons of Gui tools or just use Curl, wget or httrack. But as usual with linux there is a simpler and/or “better” method – lftp. It works great for mirroring Apache directory listings.

Try this next time you want to mirror a website:

lftp -e "mirror -c" http://greatdomain.com/somedir/

oh and if there is “command not found” after you try it then:

for Debian based systems ( like ubuntu or debian itself )

sudo apt-get install lftp 

for Rpm based ( like Centos or Fedora )

yum install lftp

for Mac OSX you could use MacPorts – http://www.macports.org