https://cloud.tencent.com/developer/article/1405107 ubuntu install lmap environment
Tsinghua source
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
~
~
~
General steps will be described below in detail source installation. Table 1: Source Installation <1> and extract the download source packages, wget source_link, tar -zxvf source.tar.gz; <2> configuration, / configure, for the current system, software environment, configured installation parameters; <3. > compile, make, the source file into a binary executable program; <4> installation, make install copy the compiled program into the file system. Specific Apache installation process is as follows. Step 1: Download the following the package. And unzip it. Apache source package: http: //mirrors.hust.edu.cn/apache//httpd/httpd-2.4.37.tar.gz Apr source package: http: //archive.apache.org/dist/apr/apr- 1.5.0.tar.gz Apr-Util Source package: http: //archive.apache.org/dist/apr/apr-util-1.5.4.tar.gz Figure 3: Download Source package Step 2: Source installation package, the step of mounting as shown in table 1. Note that, it is preferable to specify the installation path during installation,. / Configure --prefix = install_path, suggesting the lack of dependency if the recommended installation yum. Step 3: Testing Apache, centos7 systemctl instead of using chkconfig management services by the iptables firewall has become firewalld replacement, first with systemctl turn off the firewall: systemctl stop firewalld.service / systemctl disable firewalld.service. Find the installation path of Apache,. / Apachectl start start the service. Finally, enter the IP address of the client browser to see can successfully access the Apache, show It Works! On behalf of the server started successfully
Apache configuration file
/usr/local/apache/httpd.conf
Open the service / usr / local / apache / bin / apachectl start
Close Service / usr / local / apache / bin / apachectl stop
View the configuration file, find the location of documentroot
Time
System management software
Step 1 go to update the replacement source vim /etc/reources.list, apt-get update && apt-get upgrade && apt-get autoclean
Step 2 Installing the software
apt-get search query software name
apt-get install to install the software name
apt-get remove the software name deleted
Use dpkg management software in kali
Dpkg -I xx.deb installation
Dpkt -r Uninstall Software name
WAMP environment phptuudy
Lamp installation environment apach in linux mysql phph three environments colleagues need to install some plugins
Lnmp = linu + nginx + mysql + php
Lamp
yum install mariadb mariadb-server mariadb-libs mariadb-devel
Test php -v
Write php code testing in documentroot
/ Var / www / html (yum)
/ Usr / local / apache2 / htdocs (source)
https://blog.csdn.net/rudy5348/article/details/79253021 centos7 installed lamp
https://www.cnblogs.com/me80/p/7218883.html centos7 installed lamp