GithubHelp home page GithubHelp logo

teddysun / lamp Goto Github PK

View Code? Open in Web Editor NEW
2.8K 149.0 1.1K 3.07 MB

Install LAMP (Linux + Apache + MySQL/MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu

Home Page: https://lamp.sh

License: GNU General Public License v3.0

Shell 85.99% PHP 10.09% HTML 3.92%
lamp centos ubuntu debian php mysql apache mariadb shell almalinux

lamp's People

Contributors

brlin-tw avatar jazzi avatar teddysun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lamp's Issues

Error of Installation httpd-2.4.27 failed

OS: Cent OS 6.x
error occurred when run lamp.sh

xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected specifier-qualifier-list before ‘XML_Parser’ xml/apr_xml.c: In function ‘cleanup_parser’: xml/apr_xml.c:364: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:365: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: At top level: xml/apr_xml.c:384: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token xml/apr_xml.c: In function ‘apr_xml_parser_create’: xml/apr_xml.c:401: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:402: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:410: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:411: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:412: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:424: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:424: error: ‘default_handler’ undeclared (first use in this function) xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once xml/apr_xml.c:424: error: for each function it appears in.) xml/apr_xml.c: In function ‘do_parse’: xml/apr_xml.c:434: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:438: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:442: error: ‘apr_xml_parser’ has no member named ‘xp_err’ xml/apr_xml.c:442: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: In function ‘apr_xml_parser_geterror’: xml/apr_xml.c:500: error: ‘apr_xml_parser’ has no member named ‘xp_err’ xml/apr_xml.c:500: error: ‘apr_xml_parser’ has no member named ‘xp_err’ make[3]: *** [xml/apr_xml.lo] Error 1 make[3]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib/apr-util'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib/apr-util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /root/lamp-master/software/httpd-2.4.27/srclib'
make: *** [all-recursive] Error 1
make: *** empty string invalid as file name. Stop.

+------------------+
| ERROR DETECTED |
+------------------+
Installation httpd-2.4.27 failed.
The Full Log is available at /root/lamp-master/lamp.log
Please visit website: https://lamp.sh/faq.html for help
4.4.7-18) (GCC) ) #1 SMP Tue Jun 20 01:26:55 UTC 2017
Memery:
total used free shared buffers cached
Mem: 1700 594 1105 0 25 392
-/+ buffers/cache: 176 1523
Swap: 0 0 0
Disk:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.8G 1.6G 7.8G 17% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 851M 0 851M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
PHP Version: php-5.6.31
PHP compile parameter: --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/php/etc --with-config-file-scan-dir=/usr/local/php/php.d --with-pcre-dir=/usr/local/pcre --with-imap=/usr/local/imap --with-imap-ssl --with-libxml-dir --with-openssl --with-snmp --with-libdir=lib64 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-pdo-mysql=/usr/local/mysql --with-gd --with-vpx-dir --with-jpeg-dir --with-png-dir --with-xpm-dir --with-freetype-dir --with-zlib --with-bz2 --with-curl=/usr --with-gettext --with-gmp --with-mhash --with-icu-dir=/usr --with-ldap --with-ldap-sasl --with-libmbfl --with-onig --with-mcrypt --with-unixODBC --with-pspell=/usr --with-enchant=/usr --with-readline --with-tidy=/usr --with-xmlrpc --with-xsl --without-pear --enable-bcmath --enable-calendar --enable-dba --enable-exif --enable-ftp --enable-gd-native-ttf --enable-gd-jis-conv --enable-intl --enable-mbstring --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-wddx --enable-zip --enable-mysqlnd
Issue:failed to install httpd-2.4.27`

Apache无法显示新网站

Hi, $ lamp add 后上传wordpress至/data/www/mydoamin/,打开浏览器显示的总是/data/www/default/里的内容 “Congratulations. LAMP is installed successfully!”

清空浏览器缓存、换另外一台机器都不行,然后去朋友的家里却正常打开wp安装界面;之后回到自己的电脑,清空缓存并重启电脑后,顺利出现安装界面并安装完成。

今天让美国的朋友帮忙测试下,结果还是“Congratulations. LAMP is installed successfully!” 而不是已安装完成的WP.

apache 预安装环境安装失败

[Info] pcre-8.41 install start...
[Info] pcre-8.41.tar.gz not found, download now...
--2018-03-15 10:50:48-- https://dl.lamp.sh/files/pcre-8.41.tar.gz
Resolving dl.lamp.sh (dl.lamp.sh)... 168.235.94.152, 107.173.13.215
Connecting to dl.lamp.sh (dl.lamp.sh)|168.235.94.152|:443... connected.
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection.
我在你的GitHub项目组里也找不到这个文件pcre-8.41.tar.gz
谢谢大佬

ip直接访问问题

现在ip直接访问的话是lamp页面,我想配置成我项目的页面,该怎么使用呢

lamp环境不支持迅雷或旋风一类的P2P软件下载

您好,我在国内外若干个vps上安装了您的一键,但是发现有个问题,就是用IDM或者浏览器自带的下载工具下载正常,但是使用迅雷或者旋风一类的P2P下载软件就不能正常下载,请问这是怎么回事,我试过国外的vps和国内的vps都不可以。

memcached in ubuntu 16.04

have tested your package installer on an Ubuntu 16.04

memcached installation wa no option during installation and was not installed after finishing. Is there a reason for?

Apache Version?

    1. Upgrade Apache
    2. Upgrade MySQL/MariaDB/Percona
    3. Upgrade PHP
    4. Upgrade phpMyAdmin
    5. Exit

Please input a number: 1
Latest version of Apache: 2.4.29
Installed version of Apache: 2.4.29

Do you want to upgrade Apache ? (y/n)
(Default: n):^C
[root@mysvr lamp]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Oct 19 2017 20:39:16
[root@mysvr lamp]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Oct 19 2017 20:39:16
[root@mysvr lamp]#

rpm -q httpd
httpd-2.4.6-67.el7.centos.6.x86_64

Apache is 2.4.6 or 2.4.29??

memcache编译失败

安装版本为php7.2.2,memcache3.0.8
编译memcache时报错,没有"ext/standard/php_smart_str.h" and "ext/standard/php_smart_str_public.h"

Installation memcache-3.0.8 failed

2018 年 02 月 14 日更新日志:
修正:PHP 扩展 memcached 安装失败的问题,但还是安装出错

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
/bin/sh /root/lamp-master/software/memcache-3.0.8/libtool --mode=compile cc -I/usr/local/php/include/php -I. -I/root/lamp-master/software/memcache-3.0.8 -DPHP_ATOM_INC -I/root/lamp-master/software/memcache-3.0.8/include -I/root/lamp-master/software/memcache-3.0.8/main -I/root/lamp-master/software/memcache-3.0.8 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/lamp-master/software/memcache-3.0.8/memcache.c -o memcache.lo
mkdir .libs
cc -I/usr/local/php/include/php -I. -I/root/lamp-master/software/memcache-3.0.8 -DPHP_ATOM_INC -I/root/lamp-master/software/memcache-3.0.8/include -I/root/lamp-master/software/memcache-3.0.8/main -I/root/lamp-master/software/memcache-3.0.8 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/lamp-master/software/memcache-3.0.8/memcache.c -fPIC -DPIC -o .libs/memcache.o
In file included from /root/lamp-master/software/memcache-3.0.8/php_memcache.h:34:0,
from /root/lamp-master/software/memcache-3.0.8/memcache.c:30:
/root/lamp-master/software/memcache-3.0.8/memcache_pool.h:45:47: 致命错误:ext/standard/php_smart_str_public.h:没有那个文件或目录
#include "ext/standard/php_smart_str_public.h"
^
编译中断。
make: *** [memcache.lo] 错误 1

+------------------+
| ERROR DETECTED |
+------------------+
Installation memcache-3.0.8 failed.
The Full Log is available at /root/lamp-master/lamp.log
Please visit website: https://lamp.sh/faq.html for help

Cannot install in debian9

Hello,
When program install imap-2007f, it stucked.
Makefile:921: recipe for target 'osdep.o' failed
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory '/home/yingzheng/Desktop/lamp/software/imap-2007f/c-client'
Makefile:495: recipe for target 'lnp' failed
make[2]: *** [lnp] Error 2
make[2]: Leaving directory '/home/yingzheng/Desktop/lamp/software/imap-2007f/c-client'
Makefile:684: recipe for target 'OSTYPE' failed
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory '/home/yingzheng/Desktop/lamp/software/imap-2007f'
Makefile:371: recipe for target 'lr5' failed
make: *** [lr5] Error 2

Can't connect to the local MYSQL server when running mysql_secure_installation as root

[root@localhost ~]# urpmi task-lamp --auto

http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-ctype-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-2.4.29-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-gd-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-dom-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-cli-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-imap-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-suhosin-0.9.38-1.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-timezonedb-2017.2-1.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-pear-File_Iterator-1.3.4-5.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-xmlreader-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_php-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/t1lib-config-5.1.2-19.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64onig2-5.9.6-2.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-ini-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-DBD-mysql-4.41.0-5.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-filter-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-json-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mcrypt-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-gettext-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Linux-Pid-0.40.0-15.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64compat-openssl10_1.1-1.0.2j-9.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/webserver-base-2.0-10.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64mbfl1-1.3.2-1.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-sqlite3-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64t1lib5-5.1.2-19.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Apache-Test-1.400.0-2.mga7.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-zlib-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64c-client0-2007f-10.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/mariadb-10.1.28-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mysqlnd-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-pdo-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-xml-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-sysvsem-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-php-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Data-Flow-1.20.0-7.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mysql-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-pear-1.10.1-3.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-hash-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-xmlwriter-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-posix-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-sysvshm-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/libmcrypt-2.5.8-19.mga6.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-openssl-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-channel-phpunit-1.3-15.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64php5_common5-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-BSD-Resource-1.291.100-2.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-session-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-ftp-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-tokenizer-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/lib64mcrypt4-2.5.8-19.mga6.x86_64.rpm

installing perl-BSD-Resource-1.291.100-2.mga7.x86_64.rpm php-session-5.6.31-3.mga7.x86_64.rpm lib64php5_common5-5.6.31-3.mga7.x86_64.rpm php-ftp-5.6.31-3.mga7.x86_64.rpm php-tokenizer-5.6.31-3.mga7.x86_64.rpm lib64mcrypt4-2.5.8-19.mga6.x86_64.rpm task-lamp-php-3-6.mga6.noarch.rpm perl-Data-Flow-1.20.0-7.mga6.noarch.rpm php-xml-5.6.31-3.mga7.x86_64.rpm php-sysvsem-5.6.31-3.mga7.x86_64.rpm php-hash-5.6.31-3.mga7.x86_64.rpm php-mysql-5.6.31-3.mga7.x86_64.rpm php-pear-1.10.1-3.mga6.noarch.rpm php-xmlwriter-5.6.31-3.mga7.x86_64.rpm php-channel-phpunit-1.3-15.mga6.noarch.rpm php-posix-5.6.31-3.mga7.x86_64.rpm php-sysvshm-5.6.31-3.mga7.x86_64.rpm libmcrypt-2.5.8-19.mga6.x86_64.rpm php-openssl-5.6.31-3.mga7.x86_64.rpm php-filter-5.6.31-3.mga7.x86_64.rpm php-json-5.6.31-3.mga7.x86_64.rpm php-mcrypt-5.6.31-3.mga7.x86_64.rpm perl-DBD-mysql-4.41.0-5.mga7.x86_64.rpm lib64onig2-5.9.6-2.mga6.x86_64.rpm php-ini-5.6.31-3.mga7.x86_64.rpm lib64compat-openssl10_1.1-1.0.2j-9.mga7.x86_64.rpm webserver-base-2.0-10.mga6.noarch.rpm php-gettext-5.6.31-3.mga7.x86_64.rpm perl-Linux-Pid-0.40.0-15.mga7.x86_64.rpm php-zlib-5.6.31-3.mga7.x86_64.rpm php-sqlite3-5.6.31-3.mga7.x86_64.rpm lib64mbfl1-1.3.2-1.mga6.x86_64.rpm lib64t1lib5-5.1.2-19.mga6.x86_64.rpm perl-Apache-Test-1.400.0-2.mga7.noarch.rpm php-pdo-5.6.31-3.mga7.x86_64.rpm php-mysqlnd-5.6.31-3.mga7.x86_64.rpm lib64c-client0-2007f-10.mga7.x86_64.rpm mariadb-10.1.28-1.mga7.x86_64.rpm php-gd-5.6.31-3.mga7.x86_64.rpm apache-2.4.29-1.mga7.x86_64.rpm php-ctype-5.6.31-3.mga7.x86_64.rpm php-timezonedb-2017.2-1.mga6.x86_64.rpm php-pear-File_Iterator-1.3.4-5.mga6.noarch.rpm php-xmlreader-5.6.31-3.mga7.x86_64.rpm php-cli-5.6.31-3.mga7.x86_64.rpm php-dom-5.6.31-3.mga7.x86_64.rpm php-suhosin-0.9.38-1.mga6.x86_64.rpm php-imap-5.6.31-3.mga7.x86_64.rpm t1lib-config-5.1.2-19.mga6.x86_64.rpm apache-mod_php-5.6.31-3.mga7.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/65: lib64php5_common5 #############################################
2/65: php-xml #############################################
3/65: php-gettext #############################################
4/65: php-ftp #############################################
5/65: php-tokenizer #############################################
6/65: php-sysvsem #############################################
7/65: php-hash #############################################
8/65: php-xmlwriter #############################################
9/65: php-posix #############################################
10/65: php-sysvshm #############################################
11/65: php-openssl #############################################
12/65: php-filter #############################################
13/65: php-json #############################################
14/65: php-zlib #############################################
15/65: php-ctype #############################################
16/65: php-timezonedb #############################################
17/65: perl-Apache-Test #############################################
18/65: webserver-base #############################################
19/65: php-session #############################################
20/65: apache #############################################
21/65: php-ini #############################################
22/65: php-pdo #############################################
23/65: php-sqlite3 #############################################
24/65: php-mysqlnd #############################################
25/65: php-mysql #############################################
26/65: php-dom #############################################
27/65: php-xmlreader #############################################
28/65: php-cli #############################################
29/65: php-pear #############################################
30/65: php-channel-phpunit #############################################
31/65: apache-mod_php #############################################
32/65: t1lib-config #############################################
33/65: lib64t1lib5 #############################################
34/65: php-gd #############################################
35/65: lib64compat-openssl10_1.1
#############################################
36/65: lib64c-client0 #############################################
37/65: php-imap #############################################
38/65: libmcrypt #############################################
39/65: lib64mcrypt4 #############################################
40/65: php-mcrypt #############################################
41/65: task-lamp-php #############################################
42/65: php-pear-File_Iterator
#############################################
install ok: channel://pear.phpunit.de/File_Iterator-1.3.4
43/65: perl-DBD-mysql #############################################
44/65: perl-Linux-Pid #############################################
45/65: php-suhosin #############################################
46/65: mariadb #############################################
47/65: lib64mbfl1 #############################################
48/65: lib64onig2 #############################################
49/65: perl-Data-Flow #############################################
50/65: perl-BSD-Resource #############################################

More information about the package mariadb-10.1.28-1.mga7.x86_64

NOTE: MariaDB is installed without root password, it is recommended to set the
root password with the following command as soon as possible:

mysql_secure_installation

press enter at each question except the new root password.

The initscript used to start mysql has been reverted to use the one shipped
by MariaDB. This means the following changes:

  • The generation of the initial system mysql database is now done when mysql
    is started from the initscript and only if the /var/lib/mysql/mysql
    directory is empty (mysql_install_db). Previousely this was quite hidden and
    silently done at (rpm) install time. As a consequence to this change you may
    have to perform some manual tasks to upgrade the mysql system database and
    such. So, doing something like this might help you:

    systemctl stop mysqld.service
    TMPDIR=/var/tmp mysql_install_db
    mysql_upgrade --skip-write-binlog

The cluster functionalities (ndb) has been deactivated and will be removed in
future mysql versions. Oracle has a new product named mysql-cluster that
replaces the cluster functionalities.

The mysql-common-core package ships with a default /etc/my.cnf file that is
based on the my-medium.cnf file that comes with the source code.


http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_dav-2.4.29-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-extras-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-bz2-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/mariadb-feedback-10.1.28-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_userdir-2.4.29-1.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-perl-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mysqli-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/phpmyadmin-4.7.1-1.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/task-lamp-3-6.mga6.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-zip-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/perl-Mail-Sendmail-0.800.0-2.mga7.noarch.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/php-mbstring-5.6.31-3.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/apache-mod_perl-2.0.10-2.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/proftpd-1.3.5e-2.mga7.x86_64.rpm
http://mirrors.mageia.org/api/mageia.cauldron.x86_64.list: media/core/release/mariadb-extra-10.1.28-1.mga7.x86_64.rpm

installing apache-mod_userdir-2.4.29-1.mga7.x86_64.rpm php-mysqli-5.6.31-3.mga7.x86_64.rpm phpmyadmin-4.7.1-1.mga6.noarch.rpm task-lamp-perl-3-6.mga6.noarch.rpm mariadb-feedback-10.1.28-1.mga7.x86_64.rpm apache-mod_dav-2.4.29-1.mga7.x86_64.rpm php-bz2-5.6.31-3.mga7.x86_64.rpm task-lamp-extras-3-6.mga6.noarch.rpm apache-mod_perl-2.0.10-2.mga7.x86_64.rpm php-mbstring-5.6.31-3.mga7.x86_64.rpm proftpd-1.3.5e-2.mga7.x86_64.rpm mariadb-extra-10.1.28-1.mga7.x86_64.rpm perl-Mail-Sendmail-0.800.0-2.mga7.noarch.rpm task-lamp-3-6.mga6.noarch.rpm php-zip-5.6.31-3.mga7.x86_64.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
51/65: perl-Mail-Sendmail #############################################
52/65: php-mbstring #############################################
53/65: apache-mod_perl #############################################
54/65: task-lamp-perl #############################################
55/65: apache-mod_dav #############################################
56/65: php-mysqli #############################################
57/65: apache-mod_userdir #############################################
58/65: task-lamp-extras #############################################
59/65: phpmyadmin #############################################
60/65: task-lamp #############################################
61/65: proftpd #############################################
62/65: php-zip #############################################
63/65: mariadb-extra #############################################
64/65: php-bz2 #############################################
65/65: mariadb-feedback #############################################

More information about the package phpmyadmin-4.7.1-1.mga6.noarch
The actual configuration file is /etc/phpmyadmin/config.inc.php
The /usr/share/phpmyadmin/config.default.inc.php file contains default
values, and is not supposed to be modified.


[root@localhost ~]# mysql_secure_installation

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")

mysql安装失败

自动安装时我选择的MySQL5.7,然后下载失败,我自己把资源下载到software目录中,安装完成后发现MySQL没有安装。

iconv导致php崩溃

①版本信息:
php7.0.25
iconv2.17
CentOS 7.3

安装过之前的 php7.0.23 的,是没事的

②错误特征:
就是连500都没有,异常也捕捉不到,也没有php报错

浏览器出现 ERR_EMPTY_RESPONSE 报错,空response

Request Headers
Provisional headers are shown
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1
X-DevTools-Emulate-Network-Conditions-Client-Id:7e0ff846-cac0-47fc-96a5-badc8a99dad1

为什么不能支持内存小于256的呢

记得以前一直使用你的脚本安装,8月初还安装了,现在安装提示内存不足了,请问如何解决?谢谢,使用你的yum安装脚本也安装了,但安装后phpmyamdin无法打开,打开时提示PHP版本必须>5.5,如何解决。谢谢

PHP7 FPM

hi,

thanks for the great script. i just found it and installed on my server. i have a question, does this installer include a php7-fpm? If not, any how to i could use to install it?

many thanks

只能说是一个奇怪的现象,但也许是一个bug。

安装完毕LAMP后,架设了一个Wordpress,我想用奇云测来测试这个网站到**的速度,但是将网址输入奇云测开始测试后发现,随着测试的开始,主机的内存被Httpd和mysql疯狂占据,随着测试的结束,主机就当机了。我在思索是不是奇云测强奸了我的网站。但是使用军哥的LNMP架设的网站就这个问题。测试主机环境为:
Digitalocean还有Hostker云主机。
奇云测地址为:http://ce.cloud.360.cn
screen shot 2017-05-22 at 7 41 20 pm

screen shot 2017-05-22 at 7 41 30 pm

Apache 2.4.27 + PHP 5.3.29 + MySQL 5.7 Error

Hello, i'm trying to install with this script this combination Apache 2.4.27 + PHP 5.3.29 + MySQL 5.7 and gave me this error, last lines:

checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
configure: error: libXpm.(a|so) not found.

+------------------+
| ERROR DETECTED |
+------------------+
Installation php-5.3.29 failed.

Hope this helps.

error: wrong mysql library version or lib not found

configure: error: wrong mysql library version or lib not found when built PHP with percona database.

Error information:
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.

Mysql service exited!

I installed lamp and developed a wordpress based website. It all worked well at begin. But after several days(I don't know the exact time) my website was down and complained "Error make databse connection". I checked /etc/init.d/mysqld status, it showed mysql service was active(exited). I had to run /etc/init.d/mysqld restart to make it active(running). And then my website worked again. This happed a lot of times.
So what dose cause this situation, how can I avoid it, or how can I make the mysql service restart automatically?
Thanks!

lamp add is installing in wwwlog directory

seems there is an issue with function lamp add to add virtual server for apache. Whe I use this the script will add all new files in an directory /data/wwwlog/newvirtualdir. the wwwlog is hardcoded in your script, you can choose what ever you want during function prompts. alltimes it uses /wwwlog

一键安装lamp出现 Installation package libssl-dev failed.

Hello, i'm trying to install with this script this combination Apache + PHP+ MySQL and gave me this error,

+------------------+
| ERROR DETECTED |
+------------------+
Installation package libssl-dev failed.

I have tried twice but the problem exits.

怎么修改网站默认目录啊

按照这个,就没有/etc/httpd/conf/extra/ 这个目录丫
Q5:如何更改网站的默认目录?
修改配置文件 /etc/httpd/conf/extra/httpd-vhosts.conf 里的 DocmentRoot 目录以及下面的 Directory ,再重启 apache 即可

Documentation: How to restart Apache2

Hello.

I had fucked up a lot of dependencies on my system and this script saved my ass.

However it is not clear to me how to restart the apache2 / mySql service etc.

Maybe add this to the Readme?

Let's Encrypt 404 错误

最后一步生成 Let's Encrypt 证书时,出现以下错误


You have already chosen Let's Encrypt
It will be processed automatically
Starting create Let's Encrypt SSL Certificate...
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for www.****.ml
http-01 challenge for ****.ml
Using the webroot path /data/www/www.****.ml for all unmatched domains.
Waiting for verification...
Cleaning up challenges
Failed authorization procedure. ****.ml (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://****.ml/.well-known/acme-challenge/5CiWz7q0oGcFVudVFUXO4ozu_a8mig-D4chbo0F46gg: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p", www.****.ml (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.****.ml/.well-known/acme-challenge/FjhcaXzBXm-919IPZvH6fFBL6YGHhZPXzNB8dJ-cdmE: "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p"

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: ****.ml
   Type:   unauthorized
   Detail: Invalid response from
   http://****.ml/.well-known/acme-challenge/5CiWz7q0oGcFVudVFUXO4ozu_a8mig-D4chbo0F46gg:
   "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <html><head>
   <title>404 Not Found</title>
   </head><body>
   <h1>Not Found</h1>
   <p"

   Domain: www.****.ml
   Type:   unauthorized
   Detail: Invalid response from
   http://www.****.ml/.well-known/acme-challenge/FjhcaXzBXm-919IPZvH6fFBL6YGHhZPXzNB8dJ-cdmE:
   "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
   <html><head>
   <title>404 Not Found</title>
   </head><body>
   <h1>Not Found</h1>
   <p"

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A/AAAA record(s) for that domain
   contain(s) the right IP address.
Error: Create Let's Encrypt SSL Certificate failed!
Reloading the apache config file...
[Sun Nov 19 18:35:50 2017] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Syntax OK
[Sun Nov 19 18:35:50 2017] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Reload success
All done

试过了 chown -R apache:apache /data/www/域名/

也试过 chmod -R 777 /data/www/域名/.well-known/

还是出现上述同一个错误

我没有装数据库,不知道有没有影响

lamp一键安装脚本在debian8.6下更新openssl 的问题

2017 年 05 月 27 日的版本,貌似加入了更新openssl为1.02l的功能,但它并不能成功卸载原有的openssl,导致我服务器上出现了两个openssl(我的推测),以至于我自行安装特定版本swoole时失败。
root@xxx:~/swoole-src-1.9.14# openssl version openssl: /usr/local/lib/libssl.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libssl.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libssl.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) openssl: /usr/local/lib/libcrypto.so.1.0.0: no version information available (required by openssl) OpenSSL 1.0.2k 26 Jan 2017 (Library: OpenSSL 1.0.2l 25 May 2017)

cc -I. -I/root/swoole-src-1.9.14 -DPHP_ATOM_INC -I/root/swoole-src-1.9.14/include -I/root/swoole-src-1.9.14/main -I/root/swoole-src-1.9.14 -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/root/swoole-src-1.9.14 -I/root/swoole-src-1.9.14/include -DHAVE_CONFIG_H -Wall -pthread -g -O2 -c /root/swoole-src-1.9.14/swoole.c -fPIC -DPIC -o .libs/swoole.o In file included from /root/swoole-src-1.9.14/swoole.c:16:0: /root/swoole-src-1.9.14/php_swoole.h:123:2: error: #error "Enable openssl support, require openssl library." #error "Enable openssl support, require openssl library." ^ Makefile:194: recipe for target 'swoole.lo' failed make: *** [swoole.lo] Error 1

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.