i had a wierd problem with my bind dns server which will not resolve the domain name with www. it works perfectly well, when i type http://domain.com without www in the browser it gets resolves to my IP address.
My zone file looks like this
$ttl 38400
domain.com. IN […]
i was trying to install bind dns server with my centos 5 and i couldnt locate the /etc/named.conf
i tried installing using
yum install bind-chroot bind*and looks like there is often a problem with bind installed through yum. when i tried to restart the named daemon i am getting failed.
Locating //etc/named.conf: [FAILED]
This is a bug on centos […]
Linux + Apache + MySQL + PHP/Perl together commonly known as LAMP Server.
* Apache Web Server 2.0
* MySQL Database Serve 5.0
* PHP Scripting Language 5.0
* phpMyAdmin - Web based MySQL Administration Tool
* Webmin - A free web based hosting control panel
Goal
To setup a LAMP server on a fresh VPS/Dedicated server running Centos 5.0 with atleast […]
i was trying to install some perl modules to ispconfig and i kept on getting the error with memory allocation problem
perl -MCPAN -e shell
install HTML::Parser
install DB_File
install Net::DNS (when prompted to enable tests, choose “no”)
install Digest::SHA1
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Could not pipe[/bin/gzip –decompress –stdout /root/.cpan/sources/authors/01mailrc.txt.gz |]: Cannot allocate memory at /usr/lib/perl5/5.8.8/CPAN.pm line 5726, line 3.
To […]
Server control panels (web based control panel software) ones for linux can easily help you to easily deploy a server managing hundreds of users and offers management of server resources on the fly. Just get a VPS/Dedicated server install a server control panel and you are good to go with hosting!
Some of the best […]
Fix: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’
Linux/Unix 1 Comment »ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’
if you are new to installing mysql server you might probably face this error quite often if you type mysql in the shell prompt.
> mysql
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’
To fix:
First start the mysql daemon, then type mysql […]
Howto: Install Mod_Security & Mod_Evasive
ModSecurity is a free open source web application firewall which can help you to guard against LFI (local file inclusion attacks) and SQL injection vulnerabilities. ModEvasive offers protection against DOS (denial of service attacks)
For Redhat/Centos with Cpanel
Just go to Cpanel WHM > Plugins > Enable Mod_Security > Save
That should install mod […]
Most PHP scripts and content management system scripts (CMS scripts) require writable permission 777 (rwxrwzrwz) to be set for certain folders for uploading photos and videos. Many security experts warn that setting 777 permission means that anybody can upload any content to your server, install malicious code, run unwanted programs and could potentially misuse your […]
How to Install FFmpeg on Linux Server
FFmpeg is so important if you are planning to run a video website with streaming with conversion of video files to different video formats. This tutorial is intended for Centos/Redhat versions of Linux where any novice user can install ffmpeg without compiling the source which is a more […]
Webmasterpals.com - New Social Network for Webmasters
General, Internet, Linux/Unix, PHP Scripts No Comments »Two months ago i gave a thought on targeting the niche social network. Since i myself is a webmaster, a thought of setting up a social network for webmasters ran through my mind. I initially bought dzoic script, since mysite required a specific and fast loading script, i made my own social network script, which […]
Recent Comments