/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Install nginx
brew install nginx
nginx -s reload|reopen|stop|quit #Reload Configuration|Restart|Stop|Exit nginx
Nginx-t # tests the configuration for syntax errors
Use this sentence if it is prompted that the PID is missing
Nginx – c “/ usr/local/etc/nginx/nginx. Conf.” ”
nginx
Brew services start nginx
: brew services stop nginx
brew services restart nginx
: brew services restart nginx
: brew services restart nginx
: brew services restart nginx
: brew services restart nginx
3. Install PHP7
brew install php70 --without-apache --with-fpm
PHP
Brew services start PHP
: brew services stop PHP
brew services restart PHP
: brew services start PHP
: brew services stop PHP
: brew services restart PHP
4. Installation of mysql
brew install mysql
cp /usr/local/opt/mysql/support-files/my-default.cnf /etc/my.cnf
brew services start mysql (run)
brew services stop mysql (stop)
mysql
Run: brew services start mysql
Stop: brew services stop mysql
Restart: brew services restart mysql
Read More:
- Homebrew installation strategy of M1 MAC based on ARM architecture
- How to Install MongoDB Community Edition Manually on mac and linux
- How To Install WordPress with LAMP on Ubuntu 16.04
- Solution to the problem of installing Tkinter module in MAC
- Mac: How to installs docker through brew
- How to uninstall Maya on a Mac
- How to Install PSSH in Centos7
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- How to Revert Your File & Folder by “FOUND.000”
- Automatic installation of NVIDIA 3090 video card driver
- How to Install FFmpeg on Linux
- How To Install Java with Apt-Get on Ubuntu 16.04
- Raspberry PI install VIM editor
- Ubuntu install psycopg2 times: fatal error: libpq Fe. H: there is no solution to that file or directory
- How to Fix creating process error during software installation
- How to install PIL in Python 3
- How to Install Mongdb4.X in Windows
- Bid for Kirin (Linux kernel) 7.0 compiler and installation sdl2.0 and QT using sdl2
- Ubuntu14.04 installation error: no such partition
- How to Set latex text Bold & Italic