Sponsored Content
Top Forums Web Development Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini) Post 302691867 by freddie50 on Sunday 26th of August 2012 08:14:21 AM
Old 08-26-2012
Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone,

I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself.

I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help!

First: I am looking for good and recent tutorials on how to compile the latest version of PHP/MySQL5.1/Apache.
I am interested in best practices for the compilation of latest source code of these programs.
I would also like to understand all the configuration options of the LAMP in order to customize a maximum the server to the needs of the website it is going to host!

Secondly: and more practically I am stuck at adding up the Network packages necessary for a up and running server on to CentOS minimal...
So I would basically need a step by step how to build a server from CentOS minimal ?

If you are still not too scared to help a fast learning beginner, this is where I am stuck...
For the time being :
1) I install ContOS mini on a virtual machine
2) log in as root
3) dhclient eth0
4) yum install system-config-network-tui
5) yum update
I can update my system...
But now how do I configure the network so I can ping the host and get access to my local virtual network?
It seems I might need system-config-firewall-tui as well?
Should I setup a static address instead of dhcp?
Please note that my host runs Fedora 17 and I use the latest kvm and libvirt, virt-manager tools.


Many thanks for your help and keep up the good work!
Cheers,
freddie50
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

LAMP configuration

Hi there, I've got a debian 3.1r4 half working (no x yet :P) I need some pointers for installing a Apache - MySQL - PHP configuration on my box, and set them up to work together. I know to use vim a bit :) I would like something that is similar to tanguay.at, or even simpler, since I'm a real... (1 Reply)
Discussion started by: izua
1 Replies

2. UNIX for Advanced & Expert Users

LAMP Server Failover

How does everyone else handle this? My Setup: Server A: CentOS 5.x 10.0.0.1 Apache MySQL Master Server B: CentOS 5.x 10.0.0.2 Apache MySQL Slave My Domains: dom1.com A record: 10.0.0.1 A Record: 10.0.0.2 dom2.com A record: 10.0.0.1 A Record: 10.0.0.2 (3 Replies)
Discussion started by: Ikon
3 Replies

3. Web Development

lamp performance

Hi all, My company run a CMS (typo3) on LAMP on RH linux. Basically all users have same typo3 page as home page and thousands of users starts their browser every morning causing server very slow or even to hang (swap full because of too many apache processes).. 99% of the traffic is this... (13 Replies)
Discussion started by: manifesto
13 Replies

4. UNIX for Advanced & Expert Users

Building a Unix Server from Scratch?

Hello Everyone, This post is a result of my search and quest to build a Unix Server at Home. I am familiar with the most of the systems such as, Solaris 10, HP-UX & Linux. Can somebody help me with more information about How to Build a Unix Server right from Fundamentals.... ? I have... (5 Replies)
Discussion started by: Vabiosis
5 Replies

5. Solaris

Need LAMP tutorial!

Hello Everybody, Does anybody know or recommend me a tutorial for LAMP server on Solaris 10 x86? (3 Replies)
Discussion started by: ahmedamer12
3 Replies

6. Web Development

Ideas for site migration: How would you do it? LAMP -> something w/ Sql Server

I'm afraid I'm going to have to migrate our entire website from Linux. There have been a number of irregularities in our MySQL database and the system that we have set up -probably isn't scalable. Since my manager is re-envisioning (taking the moment to re-engineer) -he wants to move the... (5 Replies)
Discussion started by: Astrocloud
5 Replies

7. Programming

Lamp tutorial

Hello All, I need a good lamp(linux, apache, mysql, php) tutorial for web development. I searched in net but not finding suitable one. suggest me something. (3 Replies)
Discussion started by: amisubha
3 Replies

8. HP-UX

LAMP Installation On HP-UX

Dear Folks, How to Install LAMP on HP-UX system. Please Guide. Regards, KRISHNA (2 Replies)
Discussion started by: krishna.lu
2 Replies

9. UNIX for Advanced & Expert Users

LAMP Sever

How do I install a LAMP server on a new installation of Debian 9 using the lalest versions of AMP? Here is what I have. Corrections please. MYSQL apt-get install mysql-server mysql-client You can verify the MySQL server status using command: systemctl status mysql ------- PHP7... (0 Replies)
Discussion started by: Meow613
0 Replies

10. UNIX for Advanced & Expert Users

Build NFS Server on CentOS

Dear All, I'm using AWS EC2 instance for my application. My application is high disk I/O based and EFS could not be used in my case. So, i need to build my own NFS server on Ec2 instance. I'm looking for High availability solution for my disk which i shared for NFS. Looking for builtin... (5 Replies)
Discussion started by: Bala
5 Replies
Apache::Build(3)					User Contributed Perl Documentation					  Apache::Build(3)

NAME
Apache::Build - Methods for locating and parsing bits of Apache source code SYNOPSIS
use Apache::Build (); my $build = Apache::Build->new; # rebuild mod_perl with build opts from the previous build % cd modperl-2.0 % perl -MApache::Build -e rebuild DESCRIPTION
This module provides methods for locating and parsing bits of Apache source code. Since mod_perl remembers what build options were used to build it, you can use this knowledge to rebuild it using the same options. Simply chdir to the mod_perl source directory and run: % cd modperl-2.0 % perl -MApache::Build -e rebuild If you want to rebuild not yet installed, but already built mod_perl, run from its root directory: % perl -Ilib -MApache::Build -e rebuild METHODS
new Create an object blessed into the Apache::Build class. my $build = Apache::Build->new; dir Top level directory where source files are located. my $dir = $build->dir; -d $dir or die "can't stat $dir $! "; find Searches for apache source directories, return a list of those found. Example: for my $dir ($build->find) { my $yn = prompt "Configure with $dir ?", "y"; ... } inc Print include paths for MakeMaker's INC argument to "WriteMakefile". Example: use ExtUtils::MakeMaker; use Apache::Build (); WriteMakefile( 'NAME' => 'Apache::Module', 'VERSION' => '0.01', 'INC' => Apache::Build->new->inc, ); module_magic_number Return the MODULE_MAGIC_NUMBER defined in the apache source. Example: my $mmn = $build->module_magic_number; httpd_version Return the server version. Example: my $v = $build->httpd_version; otherldflags Return other ld flags for MakeMaker's dynamic_lib argument to "WriteMakefile". This might be needed on systems like AIX that need spe- cial flags to the linker to be able to reference mod_perl or httpd symbols. Example: use ExtUtils::MakeMaker; use Apache::Build (); WriteMakefile( 'NAME' => 'Apache::Module', 'VERSION' => '0.01', 'INC' => Apache::Build->new->inc, 'dynamic_lib' => { 'OTHERLDFLAGS' => Apache::Build->new->otherldflags, }, ); AUTHOR
Doug MacEachern mod_perl-1.99_07 2002-08-28 Apache::Build(3)
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy