Tech geek. Life geek.

Tag: server (Page 4 of 8)

The results of PAM-abl

Web, as a wild place, is not a safe playground to me. I have a server, got so many attacking everyday. It is only two small sites running on it.

What can I do? I have to protect myself by my computer skills.

I install and enabled PAM_abl black list function for SSH security.
Now four days passed. Let us see how the result.


One IP tried 424 times to login.

The other tried more than one thousand times.

I have to say, it is a good tool to protect my SSH server and save a lot of resource.

Continue reading

Secure SSH with PAM-abl

It is Automatic Black-List with PAM module, which can help you to protect SSH server.
I have Centos 5.5 linux server on Butstnet.
From log file, I saw a lot of fail login on my SSH server every day.
To save the resource and block them, I google and got the idea to install PAM-abl to stop them.
I just noted here for my experience.
1) install pam devel package

yum install pam-devel

2) Download PAM-abl v 0.4.1 from the sourceforge


3) Untar it

tar xjvf pam-abl-0.4.1.tar.bz2

4) Compile

cd pam-abl-0.4.1
make check
make install

5) Enable it
Make sure you have the following line in your /etc/ssh/sshd_config configuration file.


Continue reading

VPS Performance test result

I have a VPS which has 600MB memory. Let me do the bench test. Result shown as below.
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System — Linux 2.6.9-023stab046.2-smp #1 SMP Mon Dec 10 16:48:24 MSK 2007 i686 i686 i386 GNU/Linux
/dev/simfs 20725760 9441792 11283968 46% /
Start Benchmark Run: Tue Mar 2 10:05:45 PST 2010
10:05:45 up 10:05, 1 user, load average: 0.10, 0.11, 0.09
End Benchmark Run: Tue Mar 2 10:18:26 PST 2010
10:18:26 up 10:17, 1 user, load average: 15.61, 6.93, 3.32
Dhrystone 2 using register variables 376783.7 2971759.3 78.9
Double-Precision Whetstone 83.1 585.8 70.5
Execl Throughput 188.3 1686.0 89.5
File Copy 1024 bufsize 2000 maxblocks 2672.0 42993.0 160.9
File Copy 256 bufsize 500 maxblocks 1077.0 12776.0 118.6
File Read 4096 bufsize 8000 maxblocks 15382.0 325899.0 211.9
Pipe Throughput 111814.6 485121.4 43.4
Pipe-based Context Switching 15448.6 107953.0 69.9
Process Creation 569.3 5127.6 90.1
Shell Scripts (8 concurrent) 44.8 393.7 87.9
System Call Overhead 114433.5 520220.7 45.5

Continue reading

Reduce memory usage of Apache on Centos server

There are so many tips you can google, some are very complicated, some are useless.
Now I want to share my experience to reduce memory usage of Apache on Centos server.
You have to have Webmin installed on your server first.
Server >> Apache Webserver >> Global configuration >> Processes and Limits
There are three figures you can change to reduce the memory usage.
Maximum spare server processes: 20 (default), I changed it to 10
Minimum spare server processes: 5 (default), I changed it to 4
Initial server processes: 8 (default), I changed it to 5.
The total memory usage reduced from about 500M to 300M.
Every httpd occupied 20M roughly. So I cut 10 server processes, is to save about 200M memory.

phpBB3 Email settings with Gmail or Google Apps

I did a post one year ago for PHPBB2 and Gmail. Now I have a PHPBB 3.0.4.
How to config phpBB 3 forum board to make its email setting working with Gmail or Google Apps?
The old way does not work. How can I do?
I find a way to use Gmail smtp facility to send out email.

1) Have the Gmail or Goolge Apps’s email account works.
2) Using the menu at the top right edge of the main Gmail window (the one that shows up after you log in), click on Settings, and then Forwarding and POP / IMAP. Under POP Download, click either Enable POP for all Mail, or Enable POP for Mail that Arrives Now (which ever suits your purpose). Configure anything else that appeals to you too. Exit from the Gmail Settings Window after saving your selections (this is important).

Continue reading

The Key Indicators of VPS

I purchased one VPS last week.
There are hundred VPS provider in North America. How do I make a decision.
Let’s talk about the Key Indicators of comparision of VPS.
1) Guaranteed Memory
2) Rebusted Memory
3) Disk Limit
4) Traffic Limit
5) Control Panel
6) OS options
7) IP address
8) Price
After two days research based on these Key Indicators. I decided to make an order at Swvps.
One more important thinking is that I want to use the service provider which has no regular hosting service.
I will give you the detail review of Swvps service.

Server Upgrade and Database moveing

Last weekend, the server which I put my Blog on, is upgraded based on the Dreamhost schedule.
The new server is 64bit, and Linux is 64bit too.
SO I have to rebuild my customized PHP on it, and doing a lot of extension upgrade too.
Later I found I can not add new database and use the existing mysql host.
There is no option of “Use Hostname”.
I have to ask for upgrading databse too.
Today,they moved my MySQL database from alvin:ruano to my main MySQL server: lingling:myler.
Everything looks fine. If you find any strange issue, just comment here. Thank you.

AMD Readies ‘Fiorano’ Server Platform for 2009

In advance of a major showdown with Intel over the next generation of computing that will pit AMD’s “Shanghai” processor architecture against a rival “Nehalem” offering that Intel has begun touting this week in earnest, AMD is letting it be known that it plans to create its first server platform, code-
named Fiorano, for its processors in 2009. Obviously, Intel currently holds the upper hand, but as the noise level around Shanghai continues to build, it’s clear that AMD is not ready to roll over and play dead just yet, especially when you consider the fact that AMD is now partnering with IBM to
build 22-nanometer technologies.
I have never try AMD server. Maybe 2009, or later.

« Older posts Newer posts »

© 2020 David Yin's Blog

Theme by Anders NorenUp ↑