How can I install a Perl Module ?

SolutionOn a server with CPanel, you can log into the WHM and install it there. If that for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod

How do I grant an MySQL user permission to a database?

Solution 1. Log into your cPanel ( https://www.yourdomain.com:2082). 2. Click on the “MySQL Databases” link. This will display the “MySQL Account Maintenance” screen. 3. Now locate the two drop-down boxes with a button that says [Add User to Db] 4. In the drop down select box on the left, choose

Rotate Log Files

The default installations of Apache will set this up using the logrotate script. If you don’t have this configured automatically or if you’re using a non-standard installation (cPanel, Plesk, etc.) you can configure this in logrotate. /etc/logrotate.d/httpd: /path/to/httpd/logs/*log { missingok notifempty sharedscripts postrotate /bin/kill -HUP `cat /path/to/httpd.pid 2>/dev/null` 2> /dev/null

What are Preinst, Postinst, Prerm, and Postrm Script?

Collectively, preinst, postinst, prerm, and postrm files are all executable scripts which Debian automatically runs before or after package installation. Along with a file named control, all of these files are part of the “control” section of a Debian archive file. The individual files are: preinst This script executes before

Install Perl Module

On a server with CPanel, you can log into the WHM and install it there. If that for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod

What is Udev?

Udev provides users with a dynamic device directory containing only the files for actually present devices. It creates and removes device node files usually located in the /dev/ directory, and renames network interfaces. As part of the hotplug subsystem, udev is executed if a kernel device is added or removed

Change Access Permissions from the Command Line

Need to change your access permissions using only the command line? Thankfully, a utility called CACLS.EXE comes standard with Windows, and can be used from the command prompt to do just that. For more information check the help documentation included with the CACLS.EXE program (cacls /?).   Using the Command

Change the Port Terminal Services Listens on

Changing the Listening Port Need to change the port which Terminal Services listens on? To change your system’s listening port, just follow these 5 steps: First, run REGEDIT on your server. Now, export the following key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp Edit the REG file and change the name of the key to

How to Schedule a Task in Windows Server 2003

What is Task Scheduler? Task Scheduler is a service that is enabled automatically when you first install your Windows Server 2003 family operating system. With Task Scheduler, users are able to schedule any script, program, or document to run automatically at a specified time. So, how do you schedule a

Why Does SMTP Not Appear in the IIS Manager?

Sometimes, after the installation of the SMTP service on Windows Server 2003, the SMTP tree may not appear in the IIS Manager console. Thankfully, there are two methods for troubleshooting this.   Ensuring SMTP Appears in the IIS Manager Method 1) First, click the Start button, then Run… Now, type: