LAMP Stack – ??? ???????????? ?????? ???????? ? ???????? ???????? ????? (LINUX, APACHE, MYSQL, PHP), ??????? ???????????? ??? ???????????? ???-??????? ? ???????????? ???????. ? ???? ?????????? ?? ?????????, ??? ?????????? LAMP Stack ?? ??? VDS. ? ????? ??????? ????????? ????? ???????????? ?? CENTOS 7.
???????????? ?? SSH ? ?????? ???????, ?????? ??? ??????????? ?? ?????? ????? ? «?????? ????????» - «??????????? ???????», ?????? ?????? «??????????»:
??? ???????????? ?????? ???-??????? ?? ??????????? ??????? ???? SSH. ?????????? ?? ????? ???????????? ????? SSH 22 ?? ????????????? ? ?????? ??????: «??? ???????? ???? SSH 22 ? ??????? Linux».
???????????? ? ????????? OS ????????:
Apache: HTTP-?????? ? ???????? ???????? ?????, ?????????????? ????????????? ????????? Linux, BSD, Mac OS, Microsoft Windows, Novell NetWare, BeOS,. ????????????????????, ??????????? ?????????????? ??????? (PHP, Python, Ruby, Perl, ASP, Tcl), ??????? ????????????, ?????????? ? ???????? ? ???????????????? - ??? ??? ??????????? ??????? ???????? ???-?????????????.
????????? ? ????????? HTTPD
????? ?????????? ????????? ????????? Apache:
????????? ????????? Apache:
???????? ??????? ?? Apache:
???? ???????, ?? ?????? ?????????:
?????????????? ?????? ???????? ??????? Apache, ????? ???????? ?????? ? ???????? http://adress_servera, ?? ?????? ????? ?????????? ???????? ???????? ?? Apache:
???? ?????? ???????? ?? ????????????, ????? ????? ??????? 80 ???? ? firewalld:
????????????? firewalld, ????? ????????? ???????? ? ????:
????????? ???????? ?? ??? ???? ? firewalld:
???? ???? 80 ??????, ?? ??????:
MariaDB - ??? ??????????? MySQL ? ???????? ???????? ?????, ?? ??????????? ?????????? ??????????? ???????????? MYSQL, ??????? MariaDB ???????????? ?? ????????? ? ????? ???????????? ?? ?????? Linux ????????.
????????????? MariaDB ????????:
????? ?????????? ????????? ????????? ?????? ??:
????????? ????????? MariaDB:
???????? ???????? ?? ??:
???? ???????, ?? ?????? ?????????:
??????? ???????????? ? MYSQL, ???????? ?????? «mysql_secure_installation» - ??? ?? ???????? ?????? ?????? root ? ??????? ?? ? ?????? ??????/???????? ????, ??????? ????????? ?????????????:
PHP - ?????????? ???? ????????????????, ?????????? ????? ?? ??????? ????? ??????, ????????????? ??? ???????? ???????????? ???????.
????????????? ????????:
????????????? ??? PHP ?????????????? ??????, ??????? ?????????? ??? ?????? ???????:
????? ?????????? ????????????? Apache, ??? ??????????? ????? ?????? ? PHP:
??????? ??????????? ????? ? firewalld, ????? ??? HTTP (80) ? HTTPS (443), ??? ????????????? ????????? ?????, ?????????? ????????? ???? ?????????:
????????????? firewwald ??? ?????????? ????? ?????????:
????????? ??? PHP, ? ??????? ?????????? ????????? Vi, ??????? ? ???? php.info
?????? ? ???????? http://adress_server/info.php ? ?????? ????????? ? ??????????? ?? PHP, APACHE, ?????????? ? ?.?.:
????? ????? ?? ????? ??????? ??? info.php, ?.?. ? ????? ???????????? ????????? ? ??? http ?????? ???????????? ? ?? ?????:
??? ????? ???????? LAMP Stack - ??????????. ?????? ????? ? ????????? ??????, ???????? ?????, ??? ??????.
???? ??? ????????? ?????? ? ????????? ?????? LAMP STACK ?? ??????, ? ???????? ???????? ????????????????? ?? ???????? ?????? ?? ?????????? ?????????? ????????? ?? ?????? ????????? ????????? ??? ?????? ????????? ????? ?? ????? VDS PRO (???????? ????? ??????? ONLY SSD).