Sponsored Content
Top Forums UNIX for Advanced & Expert Users Tools to report LAMP configuration Post 302876241 by Corona688 on Friday 22nd of November 2013 11:40:21 AM
Old 11-22-2013
Hardware configuration is one thing, software configuration is another. Where things get put is entirely up to those who make the distribution. What distribution are your servers?
 

9 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. 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

3. UNIX for Advanced & Expert Users

Configuration Information tools

Hi All; I was exploring options of setting up a centralized configuration information respository which could be managed by a GUI/Web.I have around 100+ servers all running linux (mostly redhat).I tried the Apache/Mysql/Script based approach,unfortunately I do not have the time/experstise to do... (1 Reply)
Discussion started by: maverick_here
1 Replies

4. Solaris

Sun M5K XSCF Mail Report Configuration Issue

Hi, I am now trying to setup XSCF mail reporting for a Sun M5K. There is no mail server here. Each Sun box is both its mail receiver and sender by using mailx. Mailx is working fine on this M5K. XSCF> setsmtp Mail Server : Port : Authentication Mechanism : Reply Address: What should I... (4 Replies)
Discussion started by: aixlover
4 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

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... (3 Replies)
Discussion started by: freddie50
3 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
CPANPLUS::Dist::Base(3) 				User Contributed Perl Documentation				   CPANPLUS::Dist::Base(3)

NAME
CPANPLUS::Dist::Base - Base class for custom distribution classes SYNOPSIS
package CPANPLUS::Dist::MY_IMPLEMENTATION use base 'CPANPLUS::Dist::Base'; sub prepare { my $dist = shift; ### do the 'standard' things $dist->SUPER::prepare( @_ ) or return; ### do MY_IMPLEMENTATION specific things ... ### don't forget to set the status! return $dist->status->prepared( $SUCCESS ? 1 : 0 ); } DESCRIPTION
CPANPLUS::Dist::Base functions as a base class for all custom distribution implementations. It does all the mundane work CPANPLUS would have done without a custom distribution, so you can override just the parts you need to make your own implementation work. FLOW
Below is a brief outline when and in which order methods in this class are called: $Class->format_available; # can we use this class on this system? $dist->init; # set up custom accessors, etc $dist->prepare; # find/write meta information $dist->create; # write the distribution file $dist->install; # install the distribution file $dist->uninstall; # remove the distribution (OPTIONAL) METHODS
@subs = $Class->methods Returns a list of methods that this class implements that you can override. $bool = $Class->format_available This method is called when someone requests a module to be installed via the superclass. This gives you the opportunity to check if all the needed requirements to build and install this distribution have been met. For example, you might need a command line program, or a certain perl module installed to do your job. Now is the time to check. Simply return true if the request can proceed and false if it can not. The "CPANPLUS::Dist::Base" implementation always returns true. $bool = $dist->init This method is called just after the new dist object is set up and before the "prepare" method is called. This is the time to set up the object so it can be used with your class. For example, you might want to add extra accessors to the "status" object, which you might do as follows: $dist->status->mk_accessors( qw[my_implementation_accessor] ); The "status" object is implemented as an instance of the "Object::Accessor" class. Please refer to its documentation for details. Return true if the initialization was successful, and false if it was not. The "CPANPLUS::Dist::Base" implementation does not alter your object and always returns true. $bool = $dist->prepare This runs the preparation step of your distribution. This step is meant to set up the environment so the "create" step can create the actual distribution(file). A "prepare" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "perl Makefile.PL" to find the dependencies for a distribution. For a "debian" distribution, this is where you would write all the metafiles required for the "dpkg-*" tools. The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->prepared" to the return value of this function. If you override this method, you should make sure to set this value. $bool = $dist->create This runs the creation step of your distribution. This step is meant to follow up on the "prepare" call, that set up your environment so the "create" step can create the actual distribution(file). A "create" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "make" and "make test" to build and test a distribution. For a "debian" distribution, this is where you would create the actual ".deb" file using "dpkg". The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->dist" to the location of the created distribution. If you override this method, you should make sure to set this value. Sets "$dist->status->created" to the return value of this function. If you override this method, you should make sure to set this value. $bool = $dist->install This runs the install step of your distribution. This step is meant to follow up on the "create" call, which prepared a distribution(file) to install. A "create" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "make install" to copy the distribution files to their final destination. For a "debian" distribution, this is where you would run "dpkg --install" on the created ".deb" file. The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->installed" to the return value of this function. If you override this method, you should make sure to set this value. $bool = $dist->uninstall This runs the uninstall step of your distribution. This step is meant to remove the distribution from the file system. A "uninstall" call in the standard "ExtUtils::MakeMaker" distribution would, for example, run "make uninstall" to remove the distribution files the file system. For a "debian" distribution, this is where you would run "dpkg --uninstall PACKAGE". The "CPANPLUS::Dist::Base" implementation simply calls the underlying distribution class (Typically "CPANPLUS::Dist::MM" or "CPANPLUS::Dist::Build"). Sets "$dist->status->uninstalled" to the return value of this function. If you override this method, you should make sure to set this value. perl v5.16.3 2013-05-20 CPANPLUS::Dist::Base(3)
All times are GMT -4. The time now is 12:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy