Coder Social home page Coder Social logo

holmesjeon / lamp-yum Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teddysun/lcmp

0.0 0.0 0.0 194 KB

Yum Install LAMP(Linux + Apache + MySQL/MariaDB + PHP ) for CentOS

Home Page: https://teddysun.com/lamp-yum

License: GNU General Public License v3.0

PHP 79.14% HTML 5.10% Shell 15.76%

lamp-yum's Introduction

LAMP

Description

LAMP is a powerful bash script for the installation of Apache + PHP + MySQL/MariaDB and so on. You can install Apache + PHP + MySQL/MariaDB in a smaller memory VPS by yum command, Just need to input numbers to choose what you want to install before installation. And all things will be done in a few minutes.

Supported System

  • CentOS-6.x
  • CentOS-7.x

System requirements

  • Hard disk space: 2GB
  • RAM: 64MB
  • An internet connection is required
  • Correct repository
  • User: root

Supported Software

  • Apache-2.2 for CentOS-6.x
  • Apache-2.4 for CentOS-7.x
  • MySQL-5.5 MariaDB-5.5
  • PHP-5.4 PHP-5.5 PHP-5.6
  • PHP Module: XCache, Zend Guard Loader, ionCube Loader (PHP 5.4 only)
  • phpMyAdmin

Installation

yum -y install wget unzip
wget --no-check-certificate -O lamp-yum.zip https://github.com/teddysun/lamp-yum/archive/master.zip
unzip lamp-yum.zip
cd lamp-yum-master
chmod +x *.sh
./lamp.sh 2>&1 | tee lamp.log

Upgrade

yum -y update

phpMyAdmin Upgrade

./update_phpmyadmin.sh

Uninstall

./lamp.sh uninstall

Default Location

Apache Location Path
Web root location /data/www/default
Main Configuration File /etc/httpd/conf/httpd.conf
MySQL Location Path
Data Location /var/lib/mysql
my.cnf Configuration File /etc/my.cnf

Process Management

Process Command
Apache /etc/init.d/httpd (start|stop|status|restart)
MySQL /etc/init.d/mysqld (start|stop|status|restart)
MariaDB /etc/init.d/mysqld (start|stop|status|restart)

License

Copyright (C) 2014 - 2018 Teddysun

Licensed under the GPLv3 License.

lamp-yum's People

Contributors

teddysun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.