Archive for November, 2009
-
How To: Install FFMPEG and FFMPEG-PHP
Thursday, November 5th, 2009
I was randomly browsing the internet and reading about making a website look better and I encountered ffmpeg-php. ffmpeg is a very powerful tool to record, convert and stream audio and video. Its a very rich tool almost supporting every format out there in the world. It can convert any format to any other format [...]
-
How To: Configure VNC Server
Thursday, November 5th, 2009
Vncserver is just another application available in almost all the available Linux based distros. Configuring vncserver is very easy. But the default desktop view in vncviewer is gray scale desktop with very pathetic GUI. To view normal Gnome or KDE desktop in vncviewer, assigning a custom port for usage, user configuration and to adjust the [...]
-
How To: Install PHP 5.3 on CentOS 5.1 or RHEL 5.1
Thursday, November 5th, 2009
PHP 5.2 and PHP 5.3 has tons of functionalities which are not provided by PHP 5.1 and PHP 5.1 is the most recent version of PHP available in CentOS 5.1 and RHEL 5.1 via updates. Also, its difficult for people to upgrade OS(s) on production servers frequently and especially if the servers are running absolutely [...]
-
repositories that will upgrade your PHP 5.1 to 5.2
Thursday, November 5th, 2009
vi /etc/yum.repos.d/manoj.repo … and then paste the following into the editor: [utterramblings] name=Jason’s Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka yum – y update php
-
how to reset MySQL root user password with different methods
Thursday, November 5th, 2009
when you loss mysql root pasword. then stop mysql server.. then follow below steps. * Method -1 1] Start MySQL without loading grant access… root@Nix:~# mysqld –skip-grant-tables & [1] 10197 root@Nix:~# 071129 9:41:39 InnoDB: Started; log sequence number 0 43655 071129 9:41:39 [Note] mysqld: ready for connections. Version: ‘5.0.22-Debian_0ubuntu6.06.3-log’ socket: ‘/var/run/mysqld/mysqld.sock’ port: 3306 Debian Etch [...]
-
Partitioning in MySQL
Thursday, November 5th, 2009
Introduction – Partitioning is available in Oracle since 8i (few feature or type) version but in MySQL it is available after 5.1 version. Partitioning allows you to distribute portions of table across a file system (physically at different location). User can define the partitioning of table so that some portion of table can stored at [...]
-
HTTP and HTTPS with Apache server
Thursday, November 5th, 2009
Apache is the most widely used web server. For secure HTTP protocol we need to check whether mod_ssl (Secure Socket Layer) module of Apache is installed/loaded or not… this mod_ssl module may be loaded as static or daynamic module. The static mean SSL support will be part of apache binary and in case of dynamic [...]
-
How to build RPM of PHP for apache with mpm-worker
Thursday, November 5th, 2009
In my last post, we have seen how we build rpm package for apache with default mpm-worker now it this tutorial we will see how we build rpm of php that can work with apache with mpm-worker. Download php source rpm from mirror.centos.org http://mirror.centos.org/centos-5/5.2/os/SRPMS/php-5.1.6-20.el5.src.rpm To resolve the dependancies to build RPM package for PHP installing [...]
-
How to configure vpn client on Linux
Thursday, November 5th, 2009
This has been tested under RHEL 4/5, CentOS 4.4/5 and fedora 8 (kernel version 2.6.15+) I found and stored few required rpm packages from various places that you will download from given. http://www.4shared.com/file/113579629/ee5e0aed/libglade-017-11i386.html http://www.4shared.com/file/113579642/2fd674e3/libglade-devel-017-11i386.html http://www.4shared.com/file/113579654/dfaee097/libxml-1817-8i386.html http://www.4shared.com/file/113579677/7491d3af/libxml-devel-1817-8i386.html http://www.4shared.com/file/113579714/ba004fa4/php4-pcntl-449-1fc5i386.html http://www.4shared.com/file/113579747/5e7eea5b/php4-pcntl-gtk-102-4fc5i386.html http://www.4shared.com/file/113579758/d7dac68b/pptp-172-3fc5i386.html http://www.4shared.com/file/113579764/f541d963/pptpconfig-20060821-1fc5noarch.html After downloading these first you will have to install lib packages and then pptp packages [...]
-
Change Time Zone from UTC to PST
Thursday, November 5th, 2009
Backup /etc/localtime to /etc/localtime.bkp mv /etc/localtime /etc/localtime.bkp Create the soft link of /usr/share/zoneinfo/PST8PDT to /etc/localtime ln -f /usr/share/zoneinfo/PST8PDT /etc/localtime
-
MYSQL WITH LINUX OPERATING SYSTEMS
Thursday, November 5th, 2009
LINUX SETTINGS ENLARGING A CLIENT’S TRANSPORT SOCKET BUFFERS Enlarging the transport socket buffers that Linux uses for NFS traffic helps reduce resource contention on the client, reduces performance variance, and improves maximum data and operation throughput. In future releases of the client, the following procedure will not be necessary, because the client will automatically choose [...]
-
multi thread support unzip utility
Thursday, November 5th, 2009
pigz (http://www.zlib.net/pigz/) Pigz = /usr/bin/pigz Unpigz = /usr/bin/unpigz [root@server ~]#pigz Usage: pigz [options] [files ...] will compress files in place, adding the suffix ‘.gz’. If no files are specified, stdin will be compressed to stdout. pigz does what gzip does, but spreads the work over multiple processors and cores when compressing. Options: -0 to -9, [...]
-
php_memcached.c:2909: error:
Wednesday, November 4th, 2009
We are getting following error while we tried to complie memcached with php /tmp/memcached-1.0.0/php_memcached.c:2909: error: ‘MEMCACHED_BAD_KEY_PROVIDED’ undeclared (first use in this function) We have resolved the issue by installing igbinary-1.0.2.tar.gz
-
mount: wrong fs type, bad option
Tuesday, November 3rd, 2009
Basically following libraries are missing as it is required by nfs client. After installing following libraries, i am able to mount the nfs partition #yum install nfs-* #yum install nfs-common Installing: nfs-utils x86_64 1:1.0.9-42.el5 base 389 k nfs-utils-lib i386 1.0.8-7.6.el5 base 55 k nfs-utils-lib-devel i386 1.0.8-7.6.el5 base 57 k nfs-utils-lib-devel x86_64 1.0.8-7.6.el5 base 63 k




![Water-diving bird [4] A photo on Flickr](http://farm5.static.flickr.com/4130/4973991144_b1c74c6b46_t.jpg)