Weblog
Thoughts which doesn't affect the world's peace

Posts Tagged ‘Administration’

List your hardware information

Tue ,09/04/2013

There are times whenever you plan to upgrade your computer’s (or server’s) hardware, but you don’t know or you forgot what you bought a year a go. There are few possibilities to get your information, although some comes as package with most of the modern distros, where others need to be installed from source or from external to your distribution repository.

(more…)

Using an SSH Config File

Fri ,16/03/2012

You can easily create short-cuts for servers you are using frequently, by creating a local configuration file for SSH. By using such configuration file, you can configure more advanced options for your SSH connections.

To do this, we will be using a terminal application (default available terminal application for gnome is gnome-terminal, of course you can use guake as well).

(more…)

Multiple shared IPs in cPanel reseller account

Thu ,15/03/2012

When you get a dedicated server, you have one main and shared IP address, which is being used by every non-reseller account for which you do not chose dedicated IP. There is no functionality in WHM which would allow you to have multiple shared IP addresses on the same account, but that is achievable via SSH and some editing of cPanel configuration files.

(more…)

using sudo

Wed ,09/11/2011

Using “sudo” instead of “su” for gnome desktop applications is not really hard to do, but it took me a while to find and understand the way to do it. Here is what I found in a serverfault.com

(more…)

Fast batch rename of files in bash

Thu ,16/12/2010

Whoever had to rename dozens of files in a folder knows how painfully slow that can be. Here is a one line bash script how to do this fast.

(more…)

Passwordless ssh login

Thu ,16/12/2010

It’s frustrating to enter your password over and over again over multiple boxes when you need speed or just if you have to issue commands frequently. One way to avoid this hustle is to enable passwordless ssh login. Note that this should be done in a secured network, where no outside access is possible, as this is security issue you have to consider otherwise!

Before we start, there is something to be configured on the remote box.

(more…)

Using fuse file system over SSH

Thu ,16/12/2010

Did you ever had to check multiple directories on multiple linux boxes, to copy or maintain files on all of them and even create a batch files to automate your tasks?

Here is a simple way to implement grsync (graphical rsync backend) with fuse file system over ssh for (graphical) backup of certain directories:

(more…)

Find and remove multiple files

Wed ,08/12/2010

Under *nix operating system, there is a command to find files and folders, called the same way – find.

Are you tired of all the windows users browsing through images and creating “Thumbs.db” files?

Here is how you can remove these files with just one command:

(more…)

Apache2, .htaccess, mod_rewrite

Mon ,08/02/2010

In apache2 you can’t use .htaccess files by default. That’s just fine, security-wise, but not if you really need to use them.
In the general case, you should put your mod_rewrite or any other .htaccess rules in your httpd config (if you have access to it).
If you need to add mod_rewrite rules to a .htaccess file, you should look for the following:
(more…)

Help! Gnome menu missing!

Mon ,25/01/2010

Recently there has been problem found with gnome menus – on applications such as evolution and pidgin, the main menu disappeared.

Apparently, this is a bug in the gnome desktop environment.

The solution:
(more…)