November 14, 2014

Creating or Removing Scheduled Tasks (cron) in Plesk (windows)

Filed under: General Topics,Miscellaneous,Windows Server — Bella @ 11:43 pm

Some scripts/applications require certain scripts be run at a certain time to function properly.

On Windows servers, we can set them up to run at certain times by creating a schedule task (which is similar to how you can run cron jobs on Linux servers).

Creating a Scheduled Task in Plesk:

We can set up Scheduled Tasks in Plesk by doing the following:

  • Log into Plesk

The user you are logging in with should have enough permissions to create a scheduled task. Windows Shared customers automatically have permission, and the Admin user for Windows Dedicated Servers automatically have permission. Additional users created by the Admin on a Windows Dedicated Server may or may not have permission to setup scheduled tasks, depending on what permissions you give them. (more…)

AddThis Social Bookmark Button

SSH tunneling

Filed under: Miscellaneous,Technical Articles — Bella @ 11:35 pm

SSH tunneling is used to tunnel all of the traffic from your local machine to a remote server that you have an account. SSH allows users to create TCP tunnels to send data over the network. The amazing thing about SSH tunnels is that they are encrypted.

How tunneling works?

This works by allocating a socket to listen to port on the local side, optionally bound to the specified bind_address. Whenever a connection is made to this port, the connection is forwarded over the secure channel, and a connection is made to host port from the remote machine. Port forwardings can also be specified in the configuration file.

There are two ways to create an SSH tunnel: local and remote port forwarding (more…)

AddThis Social Bookmark Button

Important configuration files and directories on the Linux cPanel/WHM server

Filed under: General Topics,Linux Basics — Bella @ 11:21 pm

cPanel/WHM keep 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…)

AddThis Social Bookmark Button

Logstalgia : a website access log visualisation tool

Filed under: General Topics,Linux Basics,Miscellaneous — Bella @ 11:17 pm

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) (more…)

AddThis Social Bookmark Button

MariaDB: An Alternate for Mysql

Filed under: General Topics,Server Tweaking,Technical Articles — Bella @ 11:05 pm

MariaDB is a high performance drop-in replacement for MySQL, developed by some of the original authors of the MySQL project. For years, MySQL has been the dominant open-source database management system (DBMS). Recently, MariaDB, the MySQL fork created by MySQL’s founder, has been making in-roads and websites like Wikipedia the world’s sixth most popular Web site, is shifting over from MySQL to MariaDB.

Lets check how to replace MYSQL with MARIADB in a cpanel server

Step 1: Backup existing MySQL data

Before installing mariadb make sure to take backup of current mysql data (more…)

AddThis Social Bookmark Button
Next Page »

Powered by WordPress