Tag:Default home page

  • Apache changes the default port

    Time:2020-11-29

    Apache changes the default port 1. Modify configuration file (1) Modify / etc / apache2/ ports.conf take NameVirtualHost *:80 Listen 80 #Change to the port you need NameVirtualHost *:9000 Listen 9000 (2) Some need to modify default and httpd.conf configuration file #Find configuration file sudo find / -name default sudo find / -name httpd.conf (3) […]

  • Ubuntu Apache install, configure, uninstall

    Time:2020-3-12

    Alicloud server and so on can record that the console can open the firewall install sudo apt-get update sudo apt-get install apache2 To configure Several default configuration files of apache2 /etc/apache2/apache2.conf Is the main configuration file (as you can see at the end of this file, all other configuration files are included). /etc/apache2/ports.conf Always included […]

  • Centos8 builds local web server

    Time:2020-3-10

    1 Overview CentOS 8, using httpd to build local web server 2 install httpd sudo yum install -y httpd 3 start service service httpd start 4. Set startup First check whether the startup is set: systemctl list-unit-files | grep httpd If not, set: chkconfig httpd on To confirm: systemctl list-unit-files | grep httpd 5 visit […]