Bash HTTP server
15 Jan 20195 lines code make a HTTP server 1
exec : returns the last line of the output by default, but can provide all output as an array specifed as the second parameter.shell_exec : returns all of the output stream as a string. 1system() : displays output directly without using echo or print. 2passthru() : when the output from the Unix command is binary data 3proc_open(): proc_open — Execute a command and open file pointers for input/output 4``` yum install epel-release -y yum install nodejs npm bzip2 fontconfig -y
Using network-manager 1.
apt-get install network-manager
nmcli dev show | grep DNS
nm-tool | grep DNS
apt-get remove docker.io
apt-get autoremove
apt-get clean