I would like to know how servers work, like how to build, set up, and how they work, what software is in them? Also could I own a server and send them to a data center and host them there?
Also a little infomation on Data Center. Could you share me some knowlage.
Say I had 15 dedi servers all for a database. howmany Could I use before performance started to bog down. lets say 2gb ram centos each with raid 0 hardrives
Can the same nameservers be used on multiple servers/vps on different geographical locations and if so, how are they setup? That would save me quite some money. Hoping for some input.
I have a lot of questions here so if you can't answer them all I understand. even pointing me somewhere where I could get the answers would be appreciated; hardware sites focusing on server hardware, forums focusing on such, etc.
we plan to have three different types of servers:
- db server (self explanatory. mysql. for forums, mysql driven sites.)
- file server (lots of files around ~2-10MB, consistant 70mbps right now, but we want more room for upgrades. needs a LOT of storage room.)
- web server (lots of php files, but also static things like plain html, images, etc. also includes all misc services for the setup-- dns, etc.)
could I be given a rundown for which hardware each of the three should have? I don't need specifics, even just knowing that more ram is important here while cpu doesn't matter as much, or that the fastest disks available are a must, etc would all be valuable info for me. despite that, I certainly wouldn't mind specific hypothetical hardware configs.
for the database server I'm assuming the more ram the better. not entirely sure about the cpu? also not positive on disks...
for the fileserver, how much ram would be practical or useful? disk io will be an issue I'm because plenty of people will be pulling files at once so the disk needs to read from multiple places. scsi (and even raptors) are not an option as we need 750GB+ of space on a reasonable budget. more ram will take some load of of the disks, but how much is neccessary / reasonable?
for the web server I'm assuming cpu first, then ram, but it'll likely need less ram than the db server?
I'm more lost on the disks than anything. scsi on the fileserver is not an option under any circumstances due to $/GB. for the db & web server I'm willing to pay for scsi if the performance increase really does warrant the extra money, but I'd like to be convinced before shelling it out. if you have benchmarks geared at server hardware when it comes to disks I'd really appreciate it.
also, what's the best way to network these together when colocated? each one with a dual gigabit ethernet port and then the communications go to and from the router?
I was wondering if it is possible to cluster 2 web servers and 2 mysql servers with only one server working as load balancer.
I am planning to use LVS (ldirectord and heartbeat).
Let's say I have 3 IPs allocated to the load balancing server.
111.222.111.222 (Main IP) 111.222.111.223 (Web Load Balancing IP) 111.222.111.224 (MySQL Load Balancing IP) If a connection is made to .223 it would pass the request to one of the web nodes. If a connection is made to .224 it would pass the request to one of the MySQL nodes.
Is it possible to do this?
If not, can I run, for example, nginx on 223 IP address to provide forward proxy? (Then it would not be able to HA but the main point is to load balance so)
Also, what would be the best way to keep the data same on both web servers? This is a web cluster for a very high traffic forum with a lot of uploads every hour so it has to do real time synchronization. I heard that DRDB is only one way and not two way so I'm not going to be able to use this.
I am just colocating servers and managing them myself, and renting services off of them. In the future I would like to start offering dedicated servers as well. I am wondering if many companies do this, or if its more of a general practice to just setup as a reseller? The worst part that comes to mind is thinking of how to do billing for the bandwidth per month. With my setup I would only be offering flat bandwidth packages (like 2TB a month) but even so, I cant think of anyway to automate it so WHMCS knows if they went over, if so, how much, etc.
Error is, [an error occurred while processing this directive]
If I "uncheck" IncludesNOEXEC in Apache Global Configuration the error disappears, but the SSI doesn't work. If I check it the error is there, but the SSI works.
Here's what I have done so far,
Through WHM, Main >> Service Configuration >> Apache Configuration, Pre Main Include, Pre VirtualHost Include, Post VirtualHost Include, I added, Options +Includes AddType text/html .htm AddType text/html .html AddOutputFilter INCLUDES .htm AddOutputFilter INCLUDES .html
Options +ExecCGI AddHandler cgi-script .cgi .pl
I also added this to the httpd.conf <Directory "/"> Options +ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes -MultiViews SymLinksIfOwnerMatch AllowOverride All </Directory>
Options +ExecCGI AddHandler cgi-script .cgi .pl
Then I tried, Options +ExecCGI AddHandler cgi-script .cgi .pl in the .htaccess file
I got a vps and I dont really understand how ram works but my sites arent really that big yet actually not at all at least teh ones on the vps. I am using directadmin as the panel.
I installed GD via yum. Yet I cant get it to work I get all kinds of error's like libpng is missing then I got libXpm is missing, then freetype is missing yet all the libs exsist,
After spending nearly 4 days trying to get ftp working on my server i still haven't achieved it. I got a server with a default install of plesk and cent os 4. I update to 8.2 and when i first go to try ftp it says "server closed connection" on my ftp client.
So then i tried updating 8.2 again and the installer failed. So i tried manually installing both proftpd and pureftpd via ssh and yum and it fails to install. I've also restarted the server a few times. I've tried logging in with every single username/domain/i.p. assigned to the server. and i've had no luck.
Whenever I tried to upload large files to my server it restarts the upload again and again and never actually uploads. It just keeps overwriting the previous file. I don't get any errors? It just automatically reuploads and overwrites the files everytime.
An example ip: xx.xxx.xxx.xx is owned by A Company via a DC. The they have their name allocated to the netname and description when i look up their ip address.
I have my ip xx.xxx.xxx.xx this is me and it currently contains my DC's name throughout when i look it up as the description and netname...
Both are from the same DC however the other company has their name allocated to the ip address and i would like to do the same. Does this require Reverse DNS? It dosent involve domains surely does it?
I have been using apache and php-cgi and it works well together but when I tried to use mod_rewrite it stopped working and I got "Internal Server Error" result.
Apache error log showed "FastCGI: incomplete headers (0 bytes) received from server"
I think that mod_rewrite rules are ok because when I refer to some HTML file then it all works.
I was working with my server until 30 min ago. suddenly public IP addresses stopped working. I have access to the server directly from the console and local IPs with putty.
How can I best work with a syn flood? I've tried the apf, deflate-ddos etc.... and don't work. Even tried litespeed etc but doesn't work against a 90mbps attack.
If I get a few servers, how would I have it setup to best defend?
I'm working on a new project that involves some heavy data processing in the preparation stage. As an example, one of the setup jobs is now running on a P4-3.0HT desktop at 100% CPU and I estimate it'll be finished in just under a week! Memory and i/o usage are minimal but it's extremely CPU-hungry.
There are other similar jobs to follow and some correlation between the number of cpu cycles and the quality of results so I foresee an ongoing need for computing power for at least a few months.
Viable options are to continue running my own hardware (probably supplementing the P4 with something a bit newer), Amazon EC2 or a cheap dedicated server - I can get a good handle on the cost and performance of each of these.
But I wonder if I'd get more bang per buck from a few VPSs? Some of the VPS benchmark results are spectacular so I suspect the answer could be yes, in the short term anyway. But I don't want to hog the host-node's CPU to the point where it degrades other users' performance or gets my account shut down... Then again, judging by the performance of the VPSs I've used for hosting the node seems to have a lot of spare CPU available...
So (finally) to the questions: Am I crazy to even consider this? If not, which technology would be most suitable? (I'm thinking Xen because of its reputation for better isolation.) Has anyone else done anything similar?
I sent email through php function mail - false. Open putty -> php -r 'mail("***@gmail.com","test","jjjjjjjj";' sh: /usr/sbin/sendmail: No such file or directory
Like the title says, I just moved my site over to my own server, and it is running cpanel. Anyways the main site [url]works, but [url]does not.
What is really strange is, [url]works fine as does [url]
So I figure there is something I have to do to get it all to work right.
The other issue is that if you are logged into [url]but goto [url], you are not logged in anymore, but if you go back to the original link, then you are still logged in. This happened on the other guys server before with the main site as well.
BFD version 0.9 <bfd@r-fx.org> Copyright (C) 1999-2004, R-fx Networks <proj@r-fx.org> Copyright (C) 2004, Ryan MacDonald <ryan@r-fx.org> This program may be freely redistributed under the terms of the GNU GPL
when I try to go to a site of mine with the www like this one [url] It won't work but if I take out the www like this[url]it does work.
I'm not sure what could be causing this. As far as I'm aware everything is setup okay. I understand it's impossible for anyone who reads this to properly diagnose the issue without access to my server.
But for php, it's totally not good for me I just install lighttpd and php.
By [url]
Now It takes about 10 seconds for the server to response.
Here is a part of config file ############ Options you really have to take care of #################### server.max-keep-alive-requests = 4 server.max-keep-alive-idle = 4 server.max-read-idle = 60 server.max-write-idle = 1024 server.max-fds = 8192
php.ini using the default one Here is the link to it [url]
And only about 200 connections. the load average is only 0.02.
When I check the error log 2007-11-08 12:38:46: (server.c.1253) NOTE: a request for /view_video.php?viewkey=f8e13f14b405e038deb6&page=&viewtype=&category= timed out after writing 13068 bytes. We waited 1024 seconds. If this a problem increase server.max-write-idle 2007-11-08 12:40:07: (server.c.1253) NOTE: a request for /view_video.php?viewkey=b9530df88f7f002e78ea timed out after writing 13068 bytes. We waited 1024 seconds. If this a problem increase server.max-write-idle