[LINUX] Apache settings, log confirmation, etc. (* Updated from time to time)

Check Apache in Linux environment.

Is Apache or Nginx enabled?

$ netstat -lnp | grep 80 #Check the process number

$ ps -ef |grep process number

reference netstat --Check host network statistics and status Process confirmation command ps option memorandum --Qiita

Find the location of the Apache configuration file

$ find / -name httpd.conf

Find the location of the Apache log files

$ cat /path/to/httpd.conf | grep CustomLog

Check the log

tailf /path/to/access_log

Reflection of settings

$ /etc/init.d/httpd configtest #Verification
$ /etc/init.d/httpd reload

If you modify httpd.conf, it will not be reflected unless you restart or reload Apache with SSH | Nosenose Blog

Recommended Posts

Apache settings, log confirmation, etc. (* Updated from time to time)
Useful help sites, etc. (updated from time to time)
vtkXMLUnstructuredGridReader Summary (updated from time to time)
vtkOpenFOAMReader Summary (Updated from time to time)
Tensorflow memo [updated from time to time]
Private Python handbook (updated from time to time)
vtkClipPolyData / DataSet Summary (Updated from time to time)
[Updated from time to time] PostmarketOS related notes
Summary of vtkThreshold (updated from time to time)
Summary of gcc options (updated from time to time)
Notes on machine learning (updated from time to time)
OpenFOAM post-processing cheat sheet (updated from time to time)
progate Python learning memo (updated from time to time)
Machine learning python code summary (updated from time to time)
[Updated from time to time] Review of Let Code NumPy
I read the Chainer reference (updated from time to time)
[Updated from time to time] Python memos often used for data analysis [N division, etc.]
A memorandum of commands, packages, terms, etc. used in linux (updated from time to time)
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
[Updated from time to time] Summary of design patterns in Java
Summary of folders where Ruby, Python, PostgreSQL, etc. are installed on macOS (updated from time to time)
[Notes / Updated from time to time] This and that of Azure Functions
Python (from first time to execution)
git / python> git log analysis (v0.1, v0.2)> Implementation to estimate work time from git log
[Note] AI / machine learning / python related websites [updated from time to time]
Easy conversion from UTC to local time
Output user information etc. to Django log
Understand design patterns by comparing implementations in JavaScript and Java [Updated from time to time]
(Updated from time to time) Storage location of various VS Code configuration files Memorandum memo