Complete configuration of a server-Linux Enterprise Application-Linux server application information. The following is a detailed description. Original: blooming of the holy White Tree
Recently, I used Debian in the Linux kernel as the server. Hosted on campus for others.
The server is a dual-core 2.4/2G/500G * 2, which is used for DNS, FTP, Telnet, SSH, HTTP/RSTP/SE. because SSH/Telnet is used, Windows is excluded first.
I am not very familiar with Debian systems. I have been dealing with Debian systems several times in VMWare, in addition, we encountered a very strange Network Interface Configuration failure (no matter how you change it, you cannot connect to the LAN ). However, the network configuration was quite smooth this time. You can enter the configuration according to their school settings, and then restart the conf to connect to the Internet. Because we are not very familiar with the system, kernel-level optimization does not dare to do, So we began to design the server software. After discussion, we decided that the server accessories and sequence are as follows:
Ngnix (WWW) + PHP + CGI;
BIND 5;
ProFTP;
KBS-previously, I have always suggested using ythtbbs with better entertainment functions, but not so many experiences in maintenance and debugging;
Lucene.
The configuration of Ngnix is complicated. Here I refer to the Ngnix official and Zhang banquet's Ngnix + PHP tutorials. It is particularly noted that the server itself is not very powerful, therefore, we can limit the number of concurrencies to 1500.
BIND configuration because the other party's requirements are relatively high-DDNS, it takes some effort to configure nsupdate, I made a few other phone calls (fortunately, I don't have to spend any money to call an American number-I have the Grandcentral magic weapon, Google !) But it is not very smooth.
ProFTP is easy to configure, and the security is good.
KBS is easy to use. Although it was configured with Ngnix for the first time, it is no problem. It's just that SSL and SSH are a bit tortuous and I will talk about it later.
Additionally, some lessons and omissions:
Www Service must be a user with BBS;
Bbs define's Site is SMTH, and the integral algorithm is missing during compilation, so we had to temporarily rewrite it and compile it several times (the level is not high ...). The algorithm makes use of the unknown, so that everyone's points will not be higher than 10.
During this period, I tried to compile some files on my small Mac with some resentment, and found that some of the files were crashed somewhere... Curious kills cat...
In short, except for the search engine, I personally think that the above services will be Down after this machine runs Lucene. Java can only run smoothly with 1 GB of memory, especially for collection programs such as Luc, while Stemmer and so on all occupy a large amount of system resources, the system may sometimes look like a DDOS attack. After talking to others, we can conclude that the server waist is abused as a "spontaneous self-high thread DDOSer ". According to regulations, you have to try again next week.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service