When we own a website, we may want to analyze on how many people visits our website. cPanel has several in-built statistical analysis programs and one of the most important ones is Awstats. Awstats produces visual statistics about visitors of your site. Awstats gives details about the count of people visiting your website, and other information like: > Monthly history > Countries visiting your website (Top 25) > Visits duration > Operating Systems that accesses your website (Top 10) > Browsers (Top 10) etc.,
Linux Basics
ZPanel is a free and complete web hosting control panel for Microsoft Windows and POSIX (Linux, UNIX and MacOSX) based servers. It is written in PHP and uses several open-source (or freely available) software packages to provide a secure, web hosting system. ZPanel flawlessly integrates with MySQL, hMailServer (on Windows), Posfix (on Linux etc.) and Filezilla (on Windows) or ProFTPd (on Linux etc.). Installation can be completed with following steps : # wget https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh# chmod +x 10_1_1.sh# ./10_1_1.sh You can then follow the configurations needed from the terminal for completing the installation. Default user and password User :zadminPass :password Important File Paths and OS Specifics in ZPanel: ZPanel virtual host : /etc/zpanel/configs/apache/httpd-vhosts.confApache log files : /var/log/httpd/error_log: /var/log/httpd/access_logZPanel users : /var/zpanel/hostdata/zadmin/public_html/domain.comZPanel …
In this article we will be discussing a few basic commands we could use in our daily server terminal interaction. Generally Linux commands have the following syntax. command [options] [arguments] Each item is separated by space. >> Options modify a commands behavior. Single letter options usually preceded by “ – ” Full word options usually preceded by “ — ” >> Arguments are file names or other data needed by the command. >> Multiple commands can be separated by “;” Lets have a check with few of the most commonly used commands below:
IP address spoofing, or IP spoofing, is the creation of Internet Protocol (IP) packets with a source IP address for the purpose of concealing the identity of the sender or impersonating another computing system. It’s a phenomena in which attackers changes or replicate IP packets. To dig deep, let’s understand some basic concepts. On the Internet, communication between two computers uses TCP/IP. In which data needed to be sent from one computer to another is broken down into pieces known as packets. These packets are numbered when broken down so they can be reassembled at the end or by the receiver. Each packet has two parts: header and body. The body carries the message, and the header stores metadata for the packet, such …
Important configuration files and directories on the Linux cPanel/WHM server
cPanel/WHM keeps the location of key files in the same place across all of the various cPanel versions. Due to this consistency, we could always know where to look for logs files for all services running on a cPanel server. You may find below the location of important configuration files and directories on the Linux cPanel/WHM server. Web server ( Apache ) : Apache HTTP server configuration file : /usr/local/apache/conf/httpd.conf Apache directory Structure : (more…)
Logstalgia is a visualization tool that visualize web access logs as a game simulation (as a pong like battle game between web server and requests). Requests are appeared as colored balls and travel across the screen to reach requested location. The colored ball hits the paddle if it is a successful request otherwise it misses (for e.g. if it is an error) Requirements: > Its works with OpenGL (Open graphic Library) and need an accelerated 3D display to visualize > A web server with logs such as Apache, Lighttpd, Nginx (a busy server gives interesting result) > Linux operating system (eg: Ubuntu, Fedora)
If you inspect your server’s error logs, you may see that many visitors (for the most part robots) constantly request access to things they should not be allowed to see. If you see that such access are suspicious and they are trying to spam your forum or hijack your mail program, you may need to deny access from those IP’s. Collecting such offending IP addresses by manually inspecting your logs across your site can become a full-time job. In such cases, you may block access to the site on Country basis (from which the suspicious access was observed) , given that the site have very few legitimate visitors from these regions. It can be done by using the mod_geoip apache …
Spam emails are commonly referred to as unsolicited or junk emails sent in bulk without user consent. In a cPanel server running Exim, spamming usually occurs due to compromised accounts, vulnerable scripts, or improperly configured applications. Common Causes of Server Spamming Spamming generally happens in the following ways: General Fix for Spamming Issues Case 1: Spam Sent via PHP Script Step 1: Check Mail Queue Count A high number indicates possible spam activity. Step 2: View Recent Emails in Queue Step 3: Inspect Email Header Check the auth_id field to identify the account sending spam. Step 4: Locate the Spam Script Identify heavily used mail directories: Step 5: Disable the Script Step 6: Find Malicious IP Accessing Script Block the …
Samba is a free software re-implementation of the SMB/CIFS networking protocol. We need to set up and configure samba server where the drive to share or mount is located. Samba Server uses the following port no. : 137/tcp 137/udp 138/tcp 138/udp 139/udp 139/udp 445/tcp 445/udp Daemon name: smb and nmb Samba services are implemented as two daemons: smbd, which provides the file and printer sharing services, and nmbd, which provides the NetBIOS-to-IP-address name service. NetBIOS over TCP/IP requires some method for mapping NetBIOS computer names to the IP addresses of a TCP/IP network.
WordPress is a free and open source blogging tool and a content management system (CMS) based on PHP and MySQL. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites. WordPress Themes : WordPress users may install and switch between themes. Themes allow users to change the look and functionality of a WordPress website or installation without altering the information content or structure of the site. Themes may be installed using the WordPress “Appearance” administration tool or theme folders may be uploaded via FTP. The PHP, HTML(hyper text markup language) and cascading style sheets(CSS) code found in themes can be added to or edited for providing advanced features. Thousands of WordPress themes …