Category Archives: Unix

Creating Widget Space in WordPress

About Widgets: WordPress widgets are plug-able items that enhance the features of a site. One can think of wordpress widget as a cassette that needs to be inserted into an available slot so that it performs it’s functions accordingly. Here slot refers to the the widgetized areas that are available according to the nature of the… Read More »

Solution for PHP Mail Sending as Junk Characters for Arabic or Unicode Characters

Problem     Problem : Character Encoding Not set in header field of PHP Mail. Solution : headerFields = array( “From: {$visitor_email}”, “MIME-Version: 1.0”, “Content-Type: text/html;charset=utf-8” ); $mail_sent = mail($client_email, $title, $message, implode(“\r\n”, $headerFields)); If its ASP server , please use following command objCDO.BodyPart.Charset = “utf-8” .

How to install gcc on Citrix XEN Server

By default, XenServer enables only Citrix yum repository. For example, to examine all enabled repositories on XenServer, run the following. $ sudo yum repolist enabled Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile repo id repo name status citrix XenServer 5.6.100 updates enabled: 0 However, the default Citrix yum repository is void of any… Read More »

How to start, stop, or restart networking service under UNIX

How to start, stop, or restart networking service under HP-UX, OpenBSD, AIX and other Unix like operating systems? You can use the following commands as per your UNIX operating systems. HP-UX Unix start / stop / restart networking service # /sbin/init.d/net stop # /sbin/init.d/net start # /sbin/init.d/hostname start IBM AIX Unix start / stop /… Read More »

Install XAMPP 1.8.1 to Centos 6.4

Step1 : Download xampp 1.8   wget   Step 2: Extract the downloaded archive file to /opt:   tar xvfz xampp-linux-1.8.1.tar.gz -C /opt   Step 3 : Start XAMPP   /opt/lampp/lampp start     Step 4: Setup security   /opt/lampp/lampp security     Step 5: /opt/lampp/lampp restart     Step 6: Now access xampp… Read More »

Solution for owncloud external drive permission error

Error : Can’t create data directory (/mnt/data/owncloud/data/) You can usually fix this by giving the webserver write access to the ownCloud directory ‘/var/www/html/owncloud’ (in a terminal, use the command ‘chown -R www-data:www-data /path/to/your/owncloud/install/data’     Check SELINUX   Change enforcing to disabled.     .

Blocking all outgoing mails in unix

iptables -A OUTPUT -p tcp –-dport 25 -j REJECT /sbin/service iptables save — Haneef Puttur *************** # Knowledge is like Water, Let it FLOW.. Don’t let it Rotten somewhere..  .

Open source equivallent of Page maker

Scribus is an Open Source program that brings professional page layout to Linux/UNIX, Mac OS X, OS/2 Warp 4/eComStation and Windows desktops with a combination of press-ready output and new approaches to page design. Underneath a modern and user-friendly interface, Scribus supports professional publishing features, such as color separations, CMYK and Spot Color support, ICC color management,… Read More »