Building A Simple LAMP Dev Server

Jul 18, 2007

I currently dev locally on a cobalt RAQ (ollld!) and would like to upgrade this setup.

I'm looking for a simple way of getting a linux system setup for internal dev work with the basics... mysql, apache, php5, and some kind of version control - subversion / cvs.

Are there any linux liveCDs that I could use to make something like this quite easily?
For our production server we use plesk, so a control panel similar to that for setting up new dev domains would be useful. Open source of couse tho.

View 3 Replies


ADVERTISEMENT

Simple LAMP Server

Nov 20, 2007

to set up a little server that will have LAMP installed on it. All it will do is host a small program that runs on PHP and mySQL and will only be used on an office network with about 50 employees.

How well would this server run if the hardware was rather modest (667Mhz, 128mb RAM, 10GB HDD)?

View 4 Replies View Related

Building A Server

Mar 24, 2009

I am thinking about buying this processor and building a server with it. This processor is very affordable for me but I am wondering what kind of server I should run it as? Do you think the processor would be able to handle a heavy DDoS attack and act as a good firewall?

Let me know, here's the processor I want to build the server with:
[url]

View 12 Replies View Related

LAMP Server From Scratch

Mar 21, 2008

We have a spare powerconnect server in work and i was looking to set it up as a web server for a company intranet - more to gain experience in configuring a web server than anything else.

I decided to go with Fedora 8 as i'd used fedora previously and followed the LAMP tutorial on HowToForge.

However i've come across a problem which i just can't seem to resolve (after pretty intensive searching). So, i guess this post is in 2 parts.

Firstly, the error i'm getting is with mysql only. The error message is:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I understand this may be a generic error but i'm not sure what other information would be useful.

Secondly, as this is my first web server - have I made the correct choice in terms of linix release or would something like CentOS be more suitable? I'd like to get this right from the start now that i have the chance.

View 5 Replies View Related

Configuration For LAMP Server

Dec 8, 2008

under your experiences which is the configuration recommended for a LAMP server? safe mode, phpsuexec, php version...

View 2 Replies View Related

Building A Dedicated Server

May 30, 2009

I have built my own computer before with ease. However, I am aware that building a dedicated server can be slightly different. I have a question.

Should I go with 'normal' hardware or specially made 'server hardware'?

I am aware that 'server hardware' is more expensive, but is it really that much better? I don't want to spend out lots of cash just for a minor performance increase.

Also I was looking at these rack mount cases as I am going to Co-locate the box. However I don't know which would be the best to use with my configuration.

[url]

I'm hoping to use a Quad Q6600 and 4GB RAM but I'm stuck on which motherboard to use,

View 7 Replies View Related

Buying/building Web Server

Jun 15, 2008

So I need to build or buy a server to run my site. The site will use a basic LAMP setup and we will also be allowing for file uploads and downloads. File sizes aren't expected to be too large, mostly word/PDF documents and maybe some Powerpoint presentations. At the moment we can only afford one box to run the whole site so we need to build something that can handle both file serving and basic site stuff.

I'm wondering what kinds of hardware we would need to make this happen. If I were to setup a box with a quad core CPU, 4-8GB of RAM, and a few 15K RPM drives would that be able to handle file serving and PHP/mySQL? Would multiple processors be required? What about RAID?

I guess the real question is what kind of hardware requirements are involved with setting up a file server. I'm guessing running PHP and mySQL is not really an issue but I don't want the site to slow down because of the file serving. I'm sure some of you have experience with this sort of thing so if anyone knows please let share your thoughts.

View 3 Replies View Related

Building A Backup Server/nas/san

Jun 8, 2008

Wondering what the most cost-effective and efficient way of building up a bulk backup server. I'm colocating some equipment and will have a private network.

I have a full cab, and only a few servers in it, so lots of room to spare.

Now this will originally just be used for my own users, but I need ease-of-use and expandability. For example, I can load it up with lots of cheap SATA drives, and a raid card. However, what do I actually do on the software end? Installing Linux and setting up rsync crons is the easy part, but what about permissions? Is there an easy way to create users?

View 0 Replies View Related

Building A Server For Colocation

Nov 26, 2007

In me effort to go colo I have been studying as best I can different server builds. Here is some information you may want to know or be able to help me and others with.

Quest: Build a server designed for serving html and other uses as a webserver (mail, database, etc). Limux operating System

Chipset- Although I found a lot of good and bad motherboards, I could find no information regarding chipsets and Linux. maybe it does not matter, who knows? Also..upgrading motherboard and chipset AFTER server is up and running seems like a challenge.

Harddrives- It would seem best to get a harddrive made for a 24/7 uptime. Not ALL drives are like this. Seemingly, unconfirmed, SCSI drives are for this pupose. However, Western Digital has made some 'RE' drives that are to be up 24/7 with no issues.
Note: 7200+ rpm drives appear to fail more often and some suggest a more stable 5400rpm.

Built in NIC vs Adding one- Very little could be found on this, but would assume a much better one should be bought and not use an onboard one. Some onboards can have probelm with some linux distros too. I would buy one and add it...a good one.

CPU- very little talk was available on linux's use of multiple CPUs. Very little talk was available on speed and use of multiple versus single cpu units. Example- how would a single cpu of 3ghz do against 2 CPUs of 1.8ghz.
Having two CPUs does allow for a server to utilize different CPUs for different processes, so if one is busy, the other can be used.
No information was really available on the difference..or what you should buy for the actual CPUs.

RAM- Buttloads of ram out there. No info on what works best with linux, which works best for a server, or what kind would work best for a server.

Motherboard- many are available and many suggest different kinds, but no definitive reasons have been given. No idea which would be best for a linux web server.

Control panel versus no control panel - after a little learning curve it would appear a non control panel is easy to use for a single user server. Control panels are buggy, have many issues, but do allow multi user systems and shared servers to be easily used. Some seem very limited in the updated versions of software. I will be going with fedora, but no control panel. The overhead is not something I want to deal with..or the bugs, or the old software, of the issues of upgrading. Ensim and cpanel seem most used and professionally serviced.

Raid- Just working on this one. No real info as to the best type of raid card for a linux webserver. Raid 1 is a mirror system i believe that allows you to have two drives where one is a ghost of another (sort of)? Do not know how much this slows the system or the drives down, but a mirror would be best in the case of a failure.
Do not know what happens when there is a failure (will system freeze, ignore it, hang?)

Partition of drives: It would seem that putting the linux system on one aprtition, the /home directory on another, and perhaps the mail directory on another is a way to make it easier to deal with certain issues. If you need to compile, reinstall, or whatever with linux and all your data is not on the partition, it becomes easier. If a partition gets screwed, the data is spread out, so much can not be destroyed. The actual amounts for the partitions are not evident in my research.

ANyway, that is a synopsis of info I have been perusing these last few days. Usually you can only find someone talking about something they use and like, but no real details to balance out why something else will not be as good.

One other note: Distros of llinux are all over the place. But for a webserver I do not think any distro is really needed. Perhaps just building your own kernel would be good (and a great learning experience)...but that remains to be seen.

I will be posting a web page in the coming weeks with a detail of how I built, where i bought, and how I installed, my new server here.

View 14 Replies View Related

Small LAMP VPS For Primary DNS Server

May 21, 2009

Because of the security issues inherent in controlling DNS servers on other VPS/servers that run other processes, host websites and store mission-critical data and for other reasons related to control, we want to keep our DNS server separate from our other servers and our own desktops. Therefore, we're going to get a small VPS for this purpose.

We won't totally cheap out on this so we'll be getting a quality VPS from a good provider. But, we probably don't need more than 5 or 10G of HD space but we wonder how much RAM and bandwidth we need to run something like MyDNS with MyDNSConfig with a MySQL backend.

Also, what's the best Linux distro for this kind of thing? We use CentOS with facility but are not afraid to try a new one if it's a better choice for this purpose.

View 14 Replies View Related

Everyone Should Install And Run Mod_Security On LAMP Server?

Jan 23, 2008

For a LAMP server user, is there a general consensus that everyone should pretty much install and run ModSecurity? Is there ever a good reason not too?

View 1 Replies View Related

Configure Memcached In LAMP Server

Jul 19, 2008

How to install and configure memcached in LAMP server through easyapache or any other method.(cpanel installed server)

View 5 Replies View Related

Apache :: Setting Up Second Server With LAMP

Feb 21, 2015

I am just trying to understand what I am doing wrong when I try to set up a second server with LAMP. I already have a working server with LAMP but i didn't set that one up. Now I am trying to add additional machine and I am trying to figure out what else do i have to do so the machine will work as virtual server for my webpage(s).

Like I said, on a new server i already installed Lamp, forwarded ports 80, 22, 442 ....to correct LAN IP, and added an entry under apache2 sites-available like this:

"<VirtualHost *:80>
ServerName test.com
ServerAlias www.test.com
ServerAdmin info@test.com
DocumentRoot /media/BigBoy/www/test
ErrorLog ${APACHE_LOG_DIR}/test_error.log
CustomLog ${APACHE_LOG_DIR}/test_access.log combined
</VirtualHost>"

Than i connected a new domain to my main IP but it automaticly connects to the old server that is already running in my home network. So the question is what do i have to do, for my new server to run the webpages i want to? Do i have to add a specific command on old server or something else i forgot?

View 1 Replies View Related

Building A Streaming Media Server

May 3, 2006

I need to build a video server that supports remote inbound live streams (multiple sources) and multiple outbound streams. I'm interested in hearing feedback or suggestions on Real Media Server, Microsoft Media Server, or other alternatives. Please share your thoughts on any of these. I would prefer Linux hosting and would prefer Windows Media formats. I would love to hear what some of you have had successes with.

View 4 Replies View Related

Audio And Video Streaming Server Using LAMP

Oct 12, 2009

I want to make a Audio and Video Streaming Server using LAMP. I am running Redhat and have latest version of PHP, MySQL and Apache.

what i need to make such a server? I dont want to buy anything all things should be OpenSource.

View 8 Replies View Related

Building, Running & Managing Your Own Server Farm

Jul 25, 2009

Building, running and managing your own Server Farm.

This thread is dedicated to those who find themselves on or considering this path.

Here, I am not hosting any ‘foreign business interests’ or associating with any other ‘hostile networks’. I am needing to create many sub-nets, with 3 to 5 WAN’s inbound and outbound. I have a ‘research sub-net’ needing special considerations and will link associates/contractors by VPN. The product-line will also require Radius Server(s). Plus more details and requirements that make the whole project most complicated.


(Thanks to ‘leeware’ for this beginning theme)

1.0 Objective: Building a 30-50 Server facility:

I checked my records and made this decision 2 - ˝ months ago. Since then I have acquired 28 servers, an internet security device, two 3com’s, two 4-port kvm’s, a few small Cisco switches and a host of power related stuff.

2.0 Justification for Building vs leasing:

Control. Costs. Open options. Unique demands more easily appreciated by myself as I am the one possessing the vision. Choosing who I work with as I do the hiring/contracting or initiate associations.

We are generally molded by personal experiences and these set-up our prejudices. I am certainly no exception. My experiences with hosts generated an excellent introduction to the wide world of websites/control panels etc and some products that support it. But the too often cryptic communications, some surprise costs due to my ignorance and that vulnerable ‘boxed in’ feeling made me wonder…

2.1 What is your rational for building vs leasing?

One of my major ‘cross the line’ rational came when I discovered I could buy a used server each month for a similar cost of leasing one. Next, were all my own confounded ‘special circumstances’ that kept cropping up and of course these were not the fault of any hosting company. Lastly technology came to my street in the form of good multiple pipes and my zoning is acceptable because I am off a major highway.

3.0 Business Objectives:

My business objectives center around a very long-run project that I have already long ago completed and keep updated to viability. And I would rather keep that subject to another venue.

4.0 Budgetary Information:

I have enough ‘resources’ to pull it off.

4.2 What is your operating budget (How much money do you plan to spend on an ongoing basis to keep the place running for 12-24 months?)

Same as previous and I will note that ‘time and attention’ is keenly important.

4.3 More importantly, where is this money going to come from? If from investors they generally require a sound business plan.

I require a sound business plan and have it.

5.0 Return on Investment:

Accomplish goals on and on…

5.1 After you account for the initial capital expense to get everything up and running + your on going operating costs, how long will it take you to make back your initial investment and then reach profitability? (12/24/36 months for longer?)

View 14 Replies View Related

Building A Storage Server. Power Consumption

Oct 30, 2008

I'm building a storage server out of spare parts that are lying around here at the office. Purchasing a brandnew server kinda overshoots it's target, since all basic hardware is available lika a big Chieftec 4U casing with 2x 4drive SATA hotswap bays.

The machine will just be dumb storage for saving our backups.

The plan is to add a decent serverboard, proc and some ram as a baseline. On top of that a 3ware 8-port RAID-controller with 8 1TB harddrives (seagate has some nice ones).

Now the only issue i'm having is powerconsumption. The case has an 460W PSU, but I'm not sure if that's enough.

View 5 Replies View Related

Building A Server With Lots Of Storage Space

Mar 7, 2008

We are going to offer web space to our students and we want to build a new server just for this purpose. We were looking at buying a storage array, a RAID card, and a server. I have no problems building a server; however, I have never built anything with an external enclosure. I am thinking about buying this storage array:

www newegg com/Product/Product.aspx?Item=N82E16816702010

I plan on installing hard drives in every drive bay for a total of 12 drives.

The problem I'm having is I don't know what type of RAID card to buy. I saw this one; but, I don't know if it will work with this storage array.

www newegg com/Product/Product.aspx?Item=N82E16816116062

Thanks so much for any light you can shed on this! I apologize for the link but I do not have enough posts insert URLs.

View 6 Replies View Related

Apache :: Reducing TTFB (Linux LAMP Server)

Mar 1, 2015

I've just switched my Apache and PHP config over to linux(ubuntu 14.10).

Apache 2.4.12 is using the mpm-event worker and PHP 5.6 is running in FastCGI/fpm mode.
I'm running MariaDB 10.0.17

I'd like to reduce the time to first byte even more, its currently 80 ms for static files and 110ms for PHP generated pages.

1. 80 ms seems like a lot, since the ping to the server is <15ms

How can I reduce this? Are there some tweaks for the Linux networking stack or Apache that I can apply?

I'm also using SSL, I remember it could be tweaked to improve its performance but I don't remember how..

I currently enabled the following in my main apache config:

Code:
ServerSignature Off
ServerTokens Prod
TraceEnable off

EnableMMAP on
EnableSendfile on

UseCanonicalName On

2. Is there a mod_spdy for Apache 2.4? what about http 2.0?

3. Can I tell PHP to make use of unix sockets to connect to the database server? (I heard unix sockets is faster)

4. I've installed memcached for PHP, can I also use this for Apache?

View 5 Replies View Related

Wordpress Drupal Wont Create Files On Server Lamp

Apr 6, 2009

I built a web hosting server, the following is its state

Cent os 5
AMP server loaded updated (installed it as a complete suite during installation so it was all set to go with php mysql modules loaded)
webmin
usermin virtualmin

created 2 named based hosts.

now when i load up wordpress in a site and try to run install.php

the following pops up

"Sorry, I can't write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually."

I had this issue before and research said to redo the entire server (tried everything and was fed up had fedora then"

you can have a look at www.itgrunts.com just click create config file and the errror pops up.

The php and mysql db work great on simple scripts but i dont know why this happens.

i worked with assigning the users and apache user to the directory and everything, no joy.

View 6 Replies View Related

Setting Up A Simple Server

May 21, 2009

when I get a server it comes with cPanel and I don't have to do much to get it going, but this time I don't need all the bells and whistles. What should I do to get a server with only CentOS to start running a pretty simple web server that just listens on whatever ip? I just want it to run php,mysql, and a web server which I know how to setup already. What I want to know is what else is necessary to setup? Resolvers, the hostname, bind, named, etc?

View 2 Replies View Related

Simple Server Monitor Tool

Sep 3, 2008

Is there a simple server monitor tool that can monitor the status of a server and preferably produce a nice graph?

I am using ubuntu linux 8.04

View 4 Replies View Related

Simple Script To [ Check Server Information ]

Nov 9, 2007

does anyone know any simple script such as php script which can check server information such as type processor(s) .. size of memory ..?
or any other simple way I can check it.

this the following paste from WHM for my server. but 'm kinda new to this dedicated server stuff

Quote:

Memory Information
Memory: 2073028k/2096592k available (1884k kernel code, 22672k reserved, 759k data, 188k init, 1179088k highmem)

is that mean 2GB RAM?

Quote:

Current Memory Usage
total used free shared buffers cached
Mem: 2074416 1670208 404208 0 798076 621524
-/+ buffers/cache: 250608 1823808
Swap: 2040212 0 2040212
Total: 4114628 1670208 2444420

View 4 Replies View Related

When Sending Mail To New Server, 550 Relay Not Permitted Is Returned. Simple Fix?

Mar 15, 2006

I've been working on this for some time now, but I'm not sure on how the settings were transfered over to this server. I wish I was there when it was done.

Anyways, we got a new server and we transfered all the accounts to the new one. The old one is gone. When people send emails to their email accounts on the server, this is returned:

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

admin@crewxp.com

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 550 relay not permitted ....

View 6 Replies View Related

Simple Perl Progam To Save Server Load Every 30 Minutes To A File

Sep 2, 2007

i use the following perl script(created by me) to save server load every 30 minutes to a log file i just keep it running in the background(probably would be more effective using cron)

#!/usr/bin/perl

while(1) {
$w = `w`;
#print $w;
$w =~ /load average: (.+)
/;
$log = $1;
my ($sec, $min, $hour, $mday, $mon, $year) = localtime;
my $rightnow = sprintf("%04d-%02d-%02d %02d:%02d:%02d ", $year + 1900, $mon + 1, $mday, $hour, $min, $sec);
$log = $rightnow . ": " . $log ."
";
open (OUTFILE, ">>top_logfile.txt");
print OUTFILE "$log
";
close (OUTFILE);
#sleep for 30 minutes
sleep(1800);
}

View 11 Replies View Related

Building My Own Box

Mar 24, 2008

I've been running a niche hosting business (one man show) for about 6 months now and so far I've learnt the basics of the hosting business. In fact I'm quite successful too, with good profits right from the first month. I know a bit of server admin and manage my own servers.

However, now I plan to start general shared hosting business and have decided to own my hardware and colocate it at a DC. (I'm not located in the US; the DC owner is my friend and would receive the hardware and set it up for me.)

The box would cater to general shared webhosting needs with cPanel (I don't like it but the market does )

Here's what I'm planning to go for...please put in your valuable inputs.

$300 for 1x SUPERMICRO MBD-X7DCL-I ATX Mainboard
$380 for 2x Kingston 4GB(2x2GB) KVR667D2D4F5K2/4G RAM
$475 for 2x Intel Xeon E5405 Harpertown Quad Core 2Ghz.
$240 for 2x WD Caviar RE2 WD5001ABYS 500GB SATA2 HDD
$250 for 1x Supermicro CSE-811T-420B 1U Chassis

100Mbps port, CentOS 5.latest 64bit, cPanel.

So, to sum up... 8x2Ghz CPU, 8GB RAM, 500GB SATA RAID system to start with.

I'm open to all suggestions and would appreciate valuable advice etc. from experienced people. I'd like to ensure full hardware/software compatibility and maximum stability.

View 12 Replies View Related

LAMP Distros

Jan 25, 2009

I'm making the switch from windows to linux for our company web server. We've been running IIS/MySQL/PHP for years and with the OS cost to upgrade the server switching to Linux seems an obvious choice. What frustrates me is that none of the Distros seem very quick to use the latest versions of the AMP components and compiliing from source seems an unnessary hassle. I've tried Ubuntu server so far which has Apache 2.2.9/Mysql 5.0.67/PHP 5.2.6 with no room to easily upgrade any of the components (our WIMP server uses the latest MySQL/PHP).

View 5 Replies View Related

LAMP DOCUMENTATION

Mar 15, 2008

information regarding any sites or books that discuss in detail the installation and troubleshooting of Apache,Mysql, PHP....and also DNS.

View 3 Replies View Related

LAMP Reinstall

Apr 1, 2008

I am trying to install LAMP on Ubuntu 7.1. However I installed apache2, php5 and mysql and it is not running properly. I would like to start from scratch. Could someone please tell me how to go about removing all three components and then installing all from scratch so that it will run properly?

View 6 Replies View Related

Building An Os Template

Oct 9, 2009

How would I go about building an ostemplate?

I want to build one running Ubuntu 8.04 LTS and ISPConfig on openvz

Could I pretty much start with the Ubuntu 8.04 minimal install and then run the ispconfig installation [url]

and then make an ostemplate out of that?

The part that concerns me is will the hostname autopopulate based on what is setup during the build of the vm?

What about the SSL info it asks me for during the install, should I just enter something generic for that or?

Has anyone else done this?

I don't want hostinabox to be the only image with a control panel

View 2 Replies View Related

On-Net Building List

May 18, 2009

Does anyone know why companies like Level3/Yipes/Abovenet/Global Crossing don't make their on-net building list available readily? Cogent/Zayo/etc have it listed right on their website....Zayo even gives you this downloadable KMZ file for Google Earth.

I'm working with a few clients who run their own data center/web hosting facilities and are looking at new spaces in various Class A office buildings. Obviously, I can go around and call all the providers, but it becomes a voicemail game.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved