Monthly Archives: September 2011

Cloud computing: Risk Cascade?

The cloud provider’s market is still new and each service provider offers different options, especially for  safety and availability of services. What traditional web hosting company would take the risk to ensure a recovery time or service availability in case of massive attacks on the Internet?

Of course, the pioneers in cloud implement all the necessary steps to maintain redundancy, distribution of resources over several data centers, to avoid interruption of services. But their applications are still based on an Internet where each segment is doing its best, without a real commitment. Sometimes a company or client face the distant problems with role player of public cloud hosting providers, because their main strength dwells to maintain cost of services to complete the requirements of heavily developed industry, which is always looking for the affordability. read more

Alternative PHP Cache – APC

The “Alternative PHP Cache” (APC) is a free and open opcode cache for PHP. It was designed to provide a free framework, open and robust for caching and optimizing PHP intermediate code. It is known that APC should normally be included an alternatively in php icon wink Alternative PHP Cache.

We should use it to optimize the access of portals, and it is true that the improvement is really important!

Here is a small howto explaining how to install an APC on debian with php4.

First you need to install PEAR
apt-get install apache2
apt-get install libapache2-mod-php4
apt-get install php-pear
apt-get install php4-dev
apt-get install make
pecl install apc read more

Windows Server 8 and Windows Azure: Full of News

At the conference Microsoft unveiled Windows Server 8. This is the first server version which involved in between developers of Windows and Windows Azure team. You’ll find many concepts and elements of Azure in Windows Server 8.

The goals of Windows Server 8 is to create, deploy, administer private cloud, and cloud to the hybrid on Azure platform.

Microsoft Ad said:

  • Geo replication between data centers would be more easy with these new features included in platform.
  • Translator API is now available in marketplace to improve the translation of applications.
  • Windows SDK 1.5: This new API will assist to improve performance of monitoring, and remote desktop encryption.
  • Windows Azure Bus: The latest version with many improved features.
  • Toolkit for Windows Azure & Windows 8: Currently available for Windows Phone, IOS, Android will be available for Windows 8. ideal for applications metropolitan cities.
  • Demonstration Team Foundation (TFS) on Azure.
  • As of now in 25 countries Azure is available

Windows Server  8 incorporates Hyper-V 3.0, which will provide all the elements to create the private cloud. Virtualization is highlighted and the dynamic approach to its infrastructure. This v3 includes a new virtual disk format, the function VHDX Storage Spaces to create virtual storage volume on any physical storage anywhere. Above all, the virtual storage can be done over several physical volumes. read more

Secure your dedicated server with Iptables

In this article, we’ll see how to secure your dedicated server by configuring three essential programs:

* Iptables: Firewall is the Linux systems, it is difficult to handle the first time but you can make very fine adjustments. In this tutorial I propose a set of standard rules for a web server.
* Fail2ban: it is a system that automatically ban all users who try to connect several times without success on our server. It helps prevent brute force attacks.
* Rkhunter: it is a software that warns of sensitive files that are changed. In other words, a good detector Backdoor and Rootkit. read more

Dedicated server – fail2ban and rkhunter

“Ban Automatic with fail2ban

Most of the time, when someone trying to hack your server, hacker use brute force method. That is to say they test all possible passwords, starting with the most likely (as dictionary words) to the more unlikely (sequences of random characters). With the computing power of today’s computers, it works not too bad if your password is simple. Fortunately we can easily counter it by installing a system that automatically ban people who try to connect on many occasions without success. read more

Technical and Legal Perspective of Cloud Server Hosting

The topic of cloud hosting will be discussed again in connection with questions of security and availability. Therefore today we are going to shed light on cloud computing security from a technical and legal perspective.

Analyze the applications, data, and processes

Not all the data you want to store in the cloud is subject to the Federal Data Protection. The theoretical possibility of obtaining permission of the authorized organization is not very practical, because that could indeed be revoked at any time. However, it’s essential to check whether the data matches the standard regulations of securities or not. Especially, when availability and performance is subject to matter. So one should always look at those applications and processes, and consider at what point cloud computing offers advantages or disadvantages. read more

Dedicated Server: Choice of operating system

The choice of operating system is the second choice you have to do after choosing the dedicated hosting. It is not to be taken lightly because once your server up and running it is likely that you do not change OS for some time.

Most hosting companies offer a wide choice of operating system:

  1. Windows
  2. Linux
  3. Bsd
  4. Solaris etc

The choice of a Windows system could be your first idea, as it is a system that you may use every day and most probably that you like its environment. This solution is pretty useful, although here we are going talk about a free solution. read more

Quota Issue: Unable To Start OpenVZ VPS

If you are not able to start OpenVZ VPS because of a Quota problem, then you can follow the steps given below:

# vzctl start
Starting container …
vzquota : (error) quota file is corrupted
vzquota on failed [4]
Here is a dirty quick fix

Turn off quota

– vzquota off (or vzquota off -f)
– vzquota drop

Restart your VPS.
Note : You have to put the correct VPS number.

CSF Installation Problem: Solve Blocking Google Bot

“CSF” and “Mod security” both are very important for your server. If any user wants to install them then they might see it blocking Google bot for some specific rules.

Here is what you should be doing to make Google Bots crawl through your sites again.

You have to restart Apache after running the below rules to mod_security configuration file :

# GoogleBot by user-agent…
SecRule HTTP_USER_AGENT “Google” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot” nolog,allow
SecRule HTTP_USER_AGENT “GoogleBot” nolog,allow
SecRule HTTP_USER_AGENT “googlebot” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-Image” nolog,allow
##
SecRule HTTP_USER_AGENT “AdsBot-Google” nolog,allow
SecRule HTTP_USER_AGENT “Googlebot-Image/1.0″ nolog,allow
SecRule HTTP_USER_AGENT “Googlebot/2.1″ nolog,allow
SecRule HTTP_USER_AGENT “Googlebot/Test” nolog,allow
SecRule HTTP_USER_AGENT “Mediapartners-Google/2.1″ nolog,allow
SecRule HTTP_USER_AGENT “Mediapartners-Google*” nolog,allow
SecRule HTTP_USER_AGENT “msnbot” nolog,allow read more

Bzip Install On VPS Server

bzip2 is a very useful option for a VPS server owner. If anyone wants to utilize it, then the installation of bzip2 is required. User can install it with the following steps :

# cd ..
# wget bzip.org/1.0.3/bzip2-1.0.3.tar.gz
# Type: tar zxvf bzip2-1.0.3.tar.gz
# Type: cd bzip2-1.0.3
# Type: make install
With APT:
# apt-get update
#Type: apt-get install bzip.