Webmin: Web Control Panel for Linux server.
CentOS: My favorite Linux Distribution
I have VPS powered by CentOS 5.5. Webmin 1.520 running on it.
For most of the jobs, I don’t have to go to the command environment. It works like a dream.
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.
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
cd pam-abl-0.4.1 ./configure make make check make install
5) Enable it
Make sure you have the following line in your /etc/ssh/sshd_config configuration file.
I installed Centos 5.4 on a PC server.
I SSH to it and try to use yum to update the system.
But, always give me the error as below
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 serv.fromchinatousa.net 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
TEST BASELINE RESULT INDEX
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
FINAL SCORE 87.1
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.
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).
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
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.
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.
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.