Posts tagged ‘Linux Dedicated servers’

TCP Wrapper actually acts as a firewall for your Linux based dedicated server hosting. The reason it is referred to a kind of firewall is the fact that the incoming packets are monitored by the TCP Wrapper. If you have a Linux dedicated server then it might be possible that a hacker attempts to login into your Linux dedicated server.

TCP Wrapper will check if the external source is authorized to connect to the server. If it is not authorized, the login permission will be denied and if it is authorized, the login attempt will be successful. For this reason, you can also call TCP Wrapper as a domain computer program. It is one of the best programs available to keep hackers away from your Linux based dedicated server hosting.

This program was basically developed as your Linux dedicated server is connected to the network and it is necessary to filter the network before the server anyone can gain access to the server. TCP Wrapper is indeed a very good program, however, you can read below to find out how does it work.

When someone tries to login into the server, “/etc/hosts.allow†is checked for an entry file. If it is present, it is possible to continue. Even if this is not found, it is possible to continue. However, “/etc/hosts.deny†file is checked. If there are no matches found this time too, you will be able to continue, however, if a match is found this time, you won’t be able to continue and the service will be blocked.

For better understanding about this, you can go through the below example:

Example “/etc/hosts.deny” file:

SSHD: 192.168.1.1

If the above file is present, it will block access to the computer with IP address, 192.168.1.1.

Note : It’s when someone from the computer with the IP address, 192.168.1.1 tries to login via SSH, it is possible for you to run commands on your Linux dedicated server.

The below command will send an email to the email address you have registered.

sshd: 192.168.1.1: spawn (echo -e “%d %h %H %u”| /bin/mail -s ‘hosts.deny entry’ root)
Important : It is possible for you to run commands in “/etc/hosts.allow” if you would like to receive emails for successful login attempts on your Linux based dedicated server hosting.

[Post to Twitter] Tweet This

Zend Optimizer on a Dedicated Server Hosting

Zend Encoder and Zend SafeGuard Suite are some software’s which encode some files. Zend optimizer is a free application software which runs these files while boosting the running speed of PHP applications. Zend Optimizer is required by many scripts so that you can run the scripts on your server while decrypting and running them on the fly while increasing runtime performance.

http://www.zend.com/store/products/zend-optimizer.php

Installation of Zend optimizer :

Follow the steps given below to install Zend optimizer :-

1) First off grab a copy of the optimizer Linux glibc2.1to install it on your dedicated server. http://www.zend.com/store/free_download.php?pid=1

2) You will have to upload the file on your web server once you have downloaded the file locally. FTP to your server and upload it to a directory of your choice.

3) Now Uncompress/extract the file
tar zvfx ZendOptimizer*.tar.gz
cd ZendOptimizer-2.5.3-linux-glibc21-i386/

4) Now run the installer,
./install.sh

5) The welcome screen

6) The agreement

7) Where do you want to install Zend Optimizer?

8) Locate your php.ini file

9) Select Yes, chances are you are using Apache web server

10) Enter the location of where apache files are located

11) Zend changing your php.ini file location, make a note of this.

12) Restart your web server for the changes to take effect.

13) Apache should restart successfully.
Note:You may also restart Apache manually using # /etc/init.d/httpd restart

15) Please ensure that Zend Optimizer is working you can do the following in the shell.
php -v

16) After the installation is completed you can remove the directory.
cd to where the extracted Zend first.
rm –rf ZendOptimizer-2.5.3-linux-glibc21-i386

[Post to Twitter] Tweet This