$ sudo service docker start
$ sudo docker-compose up -d
$ sudo systemctl enable docker.service
$ sudo systemctl enable containerd.service
$ docker rm [컨테이너ID], [컨테이너ID]
$ docker rm `docker ps -a -q`
# MySQL 7 이하
mysql> grant all privileges on [DB이름].* to '계정ID'@'%' identified by '비밀번호' with grant option; # 계정 생성 & 모든 권한 부여
mysql> flush privileges;
# MySQL 8
mysql> create user '계정ID'@'%' identified by '비밀번호'; # 계정 생성
mysql> grant all privileges on [DB이름].* to '계정ID'@'%' with grant option;
mysql> flush privileges;
$ sudo service apache2 start
$ sudo service apache2 stop
$ sudo service apache2 restart
$ sudo service apache2 status
sudo apt isntall php8.1-common php8.1-cli -y
php -v # Show PHP version
php -m # Show PHP modules loaded.
sudo apt install php8.1-fpm libapache2-mod-php8.1
sudo apt install php8.1-{bcmath,bz2,cgi,cli,curl,dba,dev,enchant,fpm,gd,gmp,imap,interbase,intl,ldap,mbstring,mysql,odbc,opcache,pgsql,phpdbg,pspell,readline,snmp,soap,sqlite3,sybase,tidy,xml,xmlrpc,zip,,xsl}
sudo service php8.1-fpm start
sudo service php8.1-fpm restart
sudo systemctl enable apache2.service # Apache2
sudo systemctl enable mysql # MySQL
sudo systemctl enable php8.1-fpm # PHP