Lighttpd + MariaDB + PHP-FPM on CentOS/Scientific Linux 6

Posted On // Leave a Comment

32 Bit



wget http://ift.tt/1pVeXBK -O - |bash

64 Bit



wget http://ift.tt/1ubxjh4 -O - |bash

A small and pretty quick installer. Lighttpd 1.4.35 (via EPEL repo), MariaDB 5.5.39 (via official RHEL 6 MariaDB repo), PHP 5.4.31 (via Atomic Corp repo), a small bunch of required PHP extensions and a PHP info file available at http://ip/info.php.


32 & 64 Bit: Basically the only difference is the MariaDB repo file to fit the right architecture --> from 32 bit in centos632-llmp.sh to 64 bit in centos664-llmp.sh.


This has a MariaDB LEB configuration, too. If you don't want it edit it out of the script before you run it (remove line 9 to 29).


Memory



[root@server ~]# free -m
total used free shared buffers cached
Mem: 256 74 181 0 0 52
-/+ buffers/cache: 21 234
Swap: 256 0 256


Tasks: 15 total, 1 running, 14 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7%us, 0.7%sy, 0.0%ni, 97.2%id, 1.4%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 262144k total, 76664k used, 185480k free, 0k buffers
Swap: 262144k total, 0k used, 262144k free, 54004k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 20 0 2900 1380 1200 S 0.0 0.5 0:00.00 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/122
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/122
126 root 16 -4 2464 576 336 S 0.0 0.2 0:00.00 udevd
452 root 20 0 35976 1324 992 S 0.0 0.5 0:00.00 rsyslogd
466 root 20 0 8940 1040 528 S 0.0 0.4 0:00.00 sshd
477 root 20 0 3044 1344 1136 S 0.0 0.5 0:00.01 mysqld_safe
789 mysql 20 0 180m 18m 4704 S 0.0 7.1 0:00.03 mysqld
804 root 20 0 96720 3368 948 S 0.0 1.3 0:00.00 php-fpm
817 lighttpd 20 0 6664 892 460 S 0.0 0.3 0:00.00 lighttpd
822 root 20 0 2008 500 444 S 0.0 0.2 0:00.00 mingetty
823 root 20 0 2008 496 444 S 0.0 0.2 0:00.00 mingetty
824 root 20 0 11860 3800 3048 S 0.0 1.4 0:00.07 sshd
830 root 20 0 3048 1556 1316 S 0.0 0.6 0:00.00 bash
894 root 20 0 2564 952 788 R 0.0 0.4 0:00.00 top

More on http://ift.tt/1pVf0xa


CentOS/Scientific Linux 7 version: http://ift.tt/1ubxglu or http://ift.tt/1okLvV1


http://ift.tt/1dvHQ0Z

0 comments:

Post a Comment