/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
- Mac: How to installs docker through brew
- How to uninstall Maya on a Mac
- Debian: How to install MariaDB
- How to Solve program install error 0x80070660
- How To Install WordPress with LAMP on Ubuntu 16.04
- How to Use pychar to run tensorflow and virtualenv (How to install tensorflow)
- How to Install PSSH in Centos7
- How to Install FFmpeg on Linux
- How to solve the error of “failed to create the Java virtual machine” in installing eclipse 2020-03 in MAC environment
- How To Install Java with Apt-Get on Ubuntu 16.04
- How to install PIL in Python 3
- Docker: How to Install Nacos
- How to Solve Cython-bbox pip install Error
- Install MySQL ODBC connector prompt error 1918 perfect solution (non installation of VC + + library method)
- Macos: How to Solve cocoapods Install Error
- How to Install Mongdb4.X in Windows
- How to Sole cmd Install typeScript Error
- How to Solve Oracle 11g Install Stuck 86% error on Linux