Linux Mail Servers

Manual Settings ~~~~~~~~~~~~ Mail Server Username: no-reply+domain.com Incoming Mail Server: mail.domain.com Incoming Mail Server: (SSL) host200.hostmonster.com Outgoing Mail Server: mail.domain.com (server requires authentication) port 26 Outgoing Mail Server: (SSL) host200.hostmonster.com (server requires authentication) port 465 Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS) Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS) Warning: Changing MX … Read more

Amazon EBS

Amazon Elastic Block Storage (EBS) We can use Amazon EBS just like as the CD/DVD/Pen Drives on our PC/Laptops Servers for backup or data transfer… EBS can attach to an EC2 instance, we can use EBS to save work files in it.. for it we have to mount it in the instance after backup we … Read more

Crontab Command Line

Crontab Command Line 1. dump the content of the existing crontab to a file # crontab > /tmp/dump 2. echo “your lines” >> to the corntab file # echo ” 00 1 * * * /monitor_file_system 2>/dev/null” >> /tmp/dump 3. import the new crontab # crontab /tmp/dump other option…. # crontab -e It will open … Read more

Couldn’t find video filter ‘x264’

x264 is a free software library for encoding video streams into the H.264/MPEG-4 AVC format. It is released under the terms of the GNU General Public License. x264 itself provides a command line interface as well as a library-level interface. x264 is used to encode video files in mp4, m4v, h.264 (HD) output format. Install … Read more

sh: /mencoder: No such file or directory

This is the problem caused due to PHP safe_mode restrictions to execute linux commands. If safe mode is on we can not run linux commands by exec() PHP function. Try safe mode Off when you want to execute linux tools with PHP…. Disable dangerous function from executing to exec().. that will cause application non functional … Read more

Exclude folders from zip – tar

TAR – Tape Archive  (application/x-tar) A common archive format used on Unix-like systems. Generally used in conjunction with compressors such as gzip, bzip2, compress or xz to create .tar.gz, .tar.bz2, .tar.Z or tar.xz files. # tar -cvvf foo.tar foo/ –exclude=”/home/svnlabs” # tar -cvzpP –file=/home/backup.tar.gz –exclude={/dev/*,/proc/*,/sys/*,/tmp/*} / tar work with directory “/” except for /dev, /proc, … Read more

Install MP4Box

MP4Box is a multimedia package used for  conversion, splitting, hinting, dumping and others. zlib is a software library used for data compression. zlib was written by Jean-Loup Gailly and Mark Adler and is an abstraction of the DEFLATE compression algorithm used in their gzip file compression program. Source: http://sourceforge.net/projects/gpac/files/ Download latest “gpac-0.4.5.tar.gz” & “gpac_extra_libs-0.4.5.tar.gz” from … Read more

Install git on linux

Git is a free distributed revision control, or software source code management project with an emphasis on being fast. Git was initially designed and developed by Linus Torvalds for Linux kernel development. Every Git working directory is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a … Read more

Accessing a Resource in Java

Accessing a Resource in Java A resource is data(audio, vedio, image, text etc.) that  a program needs to access. Before accessing a resource by a Java program, the resorce is located on the underlying file system. Now, locating a resource on file system inside your project might be tricky for you. There are following ways … Read more

Install JAVA Tomcat on Linux

Installation of Java Login to server as root # cd /opt Download jdk 6 linux rpm bin package from sun (Java SE Development Kit (JDK)) http://java.sun.com/javase/downloads/index.jsp http://java.sun.com/javase/downloads/widget/jdk6.jsp # chmod 777 jdk-6u17-linux-i586-rpm.bin # ./jdk-6u17-linux-i586-rpm.bin Follow the onscreen instructions to complete jdk installation…. press space ….. press yes….. and Enter Now we will find JDK folder at … Read more