How to install Xvnc or VNC Server?

Linux/Unix No Comments »

Xvnc or vnc server is a free linux based virtual monitor. Suppose you are running a linux server without monitor and graphics card but you want to render images. so we use virtual environment like vnc or Xvfb.
To install Xvnc
yum install vnc-server
Then
Xvnc -screen 800×600×32 :

Your password is 180 days old, and has therefore expired

vBulletin, Linux/Unix, PHP Scripts No Comments »

i was getting this message from vbulletin after logging as administrator. I wasnt able to find the setting in vbulletin control panel that would disable this 180 day password, until i finally figured out.
Your password is 180 days old, and has therefore expired.
Please change your password using this page.
To fix this Go to UserGroups > […]

Install FTP Server for Centos/RHEL

Linux/Unix No Comments »

If you are buying a new vps or dedicated server you might install DNS server, LAMP and mail server. But if you want to upload php scripts or html files then ftp is a much for easy uploading or downloading the files in the server.
There are 3 popular open source FTP servers worth considering….
PureFTP (fast)
ProFTP […]

Setup Postfix/Dovecot MailServer for Centos/RHEL

Linux/Unix 1 Comment »

Setup Basic POP3/IMAP Mail Server in Centos/RHEL
Setting up a mail server can be quite initimidating if you are linux beginner.
I am posting here my simple and most basic mail server experiment which i conducted
with my VPS server so that my documentation could be helpful for those who want
to […]

exec: g++: not found

Linux/Unix No Comments »

i was trying to compile the courier-imap and during make i was getting this error “ exec: g++: not found”
exec: g++: not found
i fixed it by installing gcc-c++ in my centos
yum install gcc-c++

Cannot find either the gdbm or the db library with Courier-IMAP

Linux/Unix No Comments »

I was trying to compile the courier authentication library and while compiling i was getting this weird error
“Cannot find either the gdbm or the db library. “
Since i was using centos 4, i noticed that gdbm or berkeley db was needed and i just installed the packages of gdbm
yum install gdbm gdbm-devel
and that fixed […]

Apache Error Log File Path in Cpanel

Linux/Unix No Comments »

i had a weird problem. i just cant find the error_log file of apache in /var/log. where is error log file of apache (httpd) located in cpanel? i have cpanel running on the centos server and somehow managed to locate the error_log in different directory
/etc/httpd/logs/error_log
or the short way of finding the error log is
nano […]

Accidentally deleted /etc/named.conf in Cpanel

Linux/Unix No Comments »

i was into a mess by accidentally deleting /etc/named.conf in my dedicated server running centos 5. Sooner i did that all my sites went down. I was in a terrible situation.
For those of you who did that i am documenting here how to restore the file!
Go to Cpanel WHM > Configuration file rolleback […]

Basic Linux Server Security Tutorial

Linux/Unix No Comments »

How to Secure Linux Servers
Basic Linux Server Security
Install Firewall (APF or CSF Firewall with BFD)
ModSecurity (Web application firewall)
ModEvasive (Prevent DDOS attacks)
Harden SSH server
Fix Open DNS Recursion
Install RKhunter
Install ClamAV (Antivirus)
XInet Servers Hardening (Disable Telnet/Finger or unwanted services)
Securing PHP
PortsEntry (tool to detect portscans)
Harden host.conf (against IP spoofing)
Check User Uploaded files
Secure /tmp Folders (noexec, nosuid)
This tutorial guide covers […]

Install Snort Intrusion Detection & Prevention System for Linux

Linux/Unix No Comments »

Installing Snort
Snort is a widely deployed open source intrusion detection and prevention system. You can download and install the source packages from the snort website
wget http://path/to/snort-2.8.1.tar.gz
tar zxf snort-2.8.1.tar.gz
cd snort-2.8.1
./configure
make
make install
ERROR! Libpcap library/headers (libpcap.a (or .so)/pcap.h)
not found, go get it from http://www.tcpdump.org
or use the –with-libpcap-* options, if you have it installed
in unusual place. Also check […]

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login