Facebook Twitter YouTube RSS
 
 
formats

How to automount a Linux samba share on a Linux machine

Published on January 7th, 2012 by in Samba

Add the following line in /etc/fstab

//samba_server/samba_share    /local_mount_point      cifs   username=samba_user,password=samba_password    0 0

where

  • samba_server is the samba server hostname or ip address
  • samba_share is the samba share name which is optional
  • local_mount_point is the mount point on the local Linux machine where you want to mount the samba share
  • cifs is the type of share. smbfs is not recognized by CentOS
  • samba_user is the username required to access the samba share
  • samba_password is the password required to access the samba share
 
formats

How to install Dokuwiki on Centos 5

Published on January 7th, 2012 by in Dokuwiki

Dokuwiki is an excellent wiki software that can be installed very easily on a CentOS 5 server by following the steps below:

1. Introduction


After reading about several wikis, I decided to go with DokuWiki. One advantage I see is that it does not use a backend database. All the files are stored on the filesystem. Easy backup and portability. Can view the files even when the internet or server is down. (more…)

 
formats

How to wrap Preformatted text (pre tag) in WordPress

If you use “Preformatted” style text from the drop down menu in the WordPress Visual Editor, you will notice that there is a problem with displaying long lines where it does not wrap the text and hence might not display the full text properly. Preformatted style in WordPress uses the <pre> HTML tag. The <pre> tag by default does not word wrap the text. Here’s how to fix this. (more…)

 
formats

How to run Cisco WebEx in Firefox under CentOS 5.x

Published on January 4th, 2012 by in Linux

Cisco WebEx is a web conferencing application and it uses a browser Java Plugin. It works seamless in Firefox on windows, but it might not work by default in Firefox under CentOS. In order to run Cisco WebEx in Firefox under CentOS, you need to manually install the Java plugin for Firefox. Here’s how do do it. (more…)

 
formats

How to create a shorcut to run KeePass on Mac OS X using mono

Published on January 3rd, 2012 by in Mac OS X

KeePass Passwor Safe is an excellent password manager software. It’s primarily available for windows, but you can also run this application using “mono” under Linux as well as Mac OS X. This “how to” assumes that you have already installed “mono” and you can run KeePass using the command “mono KeePass.exe”.  Wouldn’t it be nice to have a shortcut icon on the desktop to invoke KeePass directly on Mac OS X? Here’s how you can do that. (more…)

 
formats

How to copy Thunderbird settings from Mac OS X to Windows 7

Published on January 1st, 2012 by in Thunderbird

If you use both Windows and Mac and use Thunderbird as IMAP client to check all your multiple email addresses, it’s very easy to replicate the Thunderbird setup from Mac OSX to Windows 7. You might have already spent a significant amount of time in setting up the Thunderbird profile on Mac OSX. You don’t have to repeat this exercise on Windows again. It’s very easy to replicate this setup on Windows 7. (more…)

 
formats

How to setup a standalone MySQL server on CentOS 5.x

Published on January 1st, 2012 by in MySQL

For small web applications using MySQL database it might be okay to have both the web application and MySQL database on the same server. But as your database size grows, in order get the best performance, it’s better to separate the database server from the web application server. In other words, you run the MySQL server on one server and the web application on a different server. (more…)

 
formats

How to change color of directory listing in CentOS terminal

Published on January 1st, 2012 by in Linux

If you are one of those SysAdmins whose life revolves around using putty (SSH client) to manage your linux servers, then you probably wondered about this already. Putty by default has a black background and when you SSH to a CentOS server using Putty, by default, the directory listing (output of “ls” command), shows up in dark blue color. This dark blue color on a black background could be very hard to see. Have you wondered how to change the default color or the directory listing? (more…)

 
formats

How to display full content in archives & category pages

Published on January 1st, 2012 by in Wordpress

Some of the themes do not display the full content in the archives or category pages. One painful workaround is to copy the entire post into the Excerpt box when creating a post, for each post. A better way to set this by default for all posts is to modify the theme. For example, in iFeature theme, you can edit the file “core/actions/archive-actions.php” and replace

<?php the_excerpt(); ?>

with

<?php the_content(); ?>

Some themes might have this in a differnt file like loop.php. Best way to find this is to grep for “the_excerpt” in the  folder.

Reference: http://codex.wordpress.org/Category_Template (Modifying How Posts are Displayed)

 
formats

Create a web based phone book using Drupal

Published on January 1st, 2012 by in Drupal

This video shows you how to create online phone phone using Drupal 6.x. It’s as simple as creating the required adress book fields using CCK and displaying them in a table format using Views. (more…)