Find Spam Script location with Exim

Step 1.  Login to your server via ssh as root user. Step 2.  Run the following command grep cwd /var/log/exim_mainlog | grep -v /var/spool | awk -F”cwd=” ‘{print $2}’ | awk ‘{print $1}’ | sort | uniq -c | sort -n You should get back something like this: 15 /home/userna5/public_html/about-us 25 /home/userna5/public_html 7866 /home/userna5/public_html/data Step…

What Is the Difference Between Bits and Bytes ?

Question: What Is the Difference Between Bits and Bytes? The terms bit and byte are common in computer networking. Both terms refer to digital data transmitted over a network connection. For example, bits and bytes both may represent network addresses or port numbers. Answer: A bit is a single numeric value, either ‘1’ or ‘0’,…

How to recover joomla admin password

Method 1: Configuration.php file If you have access to your configuration.php file for the Joomla installation on your server, can recover the password using the following method. 1.) Using an FTP program connect to your site. Find the configuration.php file and look at the file permissions. If the permissions are 444 or some other value,…

HTML to PDF Conversion in Codeigniter

Disini saya akan membuat report pdf di codeigniter menggunakan TCPDF library. 1. Download library tcpdf dari website nya di sini. 2. Buat directori “tcpdf” di “application/helpers/”. 3. Extract dan copy file libary yang telah di download ke directory yang baru dibuat, dan update file application/helper/tcpdf/tcpdf_config.php. 4. Kemudian buat file helper dengan nama pdf_helper.php di “application/helpers/”…

Multiple Database di Codeigniter

Disini saya akan memberikan cara untuk koneksi ke 2 atau lebih databases dalam 1 aplikasi codeigniter. Buka file koneksi databases di aplication/config/database.php kemudian tambahkan config database yang ke – 2, untuk lebih mudahnya copy paste config file yang sudah ada $db[‘default’][‘hostname’] = ‘localhost’; $db[‘default’][‘username’] = ‘root’; $db[‘default’][‘password’] = ‘root’; $db[‘default’][‘database’] = ‘db_database’; $db[‘default’][‘dbdriver’] = ‘mysql’;…

Simple Script for delete Queue in postfix

This is simple file for delete queue in postfix #!/usr/bin/perl -w # # pfdel – deletes message containing specified address from # Postfix queue. Matches either sender or recipient address. # # Usage: pfdel <email_address> # use strict; # Change these paths if necessary. my $LISTQ = “/usr/sbin/postqueue -p”; my $POSTSUPER = “/usr/sbin/postsuper”; my $email_addr…

Career Planning Tips

Building a Career Today, and more than ever, most people are responsible for building their own careers. Whether you are just starting, or you have several years of experience, these paragraphs might help you advance your career. The 9 most important career planning tips is listed below: 1. Never Stop Learning Life-long learning is your…

Instal JRE / JDK di Ubuntu 13.04

Berikut adalah cara installasi JRE / JDK secara manual di ubuntu 13.04. Hal – hal yang harus disiapkan dalam proses instalasi nya adalah sebagai berikut Download file JRE/JDK dari website resmi oracle. (Sesuaikan dengan tipe processor yang anda gunakan). Tahap Installasi. Buat direktori jvm dengan perintah berikut: sudo mkdir /usr/lib/jvm Kemudian Extract dan copy ke…