Secret Base

All the little bugs I have ever met

Home Archives
2020-07-01
Tool

Apache

Basic usage of apache2.

https://ubuntu.com/tutorials/install-and-configure-apache

Install

1
2
sudo apt update
sudo apt install apache2

Web Page

1
ls /var/www/html/index.html

Config

1
2
cd /etc/apache2/sites-available/
sudo cp 000-default.conf gci.conf

Start Server

1
2
sudo a2ensite gci.conf
service apache2 reload

Log

1
tail -f /var/log/apache2/error.log
Share
Newer
Vim
Older
School Projects

Categories

  • Algorithm
  • Algorithm - Interview
  • Android
  • Hardware
  • Hardware - GPU
  • Linux
  • Misc
  • Network
  • Security - RE
  • Tool
  • WSL
  • Windows

Archives

  • June 2026
  • December 2025
  • September 2025
  • April 2025
  • January 2025
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • February 2024
  • August 2023
  • July 2023
  • June 2023
  • April 2023
  • January 2023
  • December 2022
  • August 2022
  • May 2021
  • September 2020
  • July 2020
  • July 2019
  • March 2019
  • February 2019
  • October 2018
  • June 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • June 2017
  • March 2017
  • February 2017
  • December 2016
  • October 2016
  • August 2016

Recent Posts

  • Hexo 8.0
  • Ubuntu Input Method
  • Windows VPN Hotspot
  • Workspace Setup
  • V2Ray Server - Ubuntu
© 2026 Zhengyang Song
Powered by Hexo
Home Archives