added begin of documentation on mariadb
This commit is contained in:
22
README.md
22
README.md
@@ -13,6 +13,7 @@
|
||||
|
||||
- ? what means mounted in "a file or directory on the host machine is mounted into a container" ?
|
||||
- ? why the volumes cannot be modify outside docker ?
|
||||
- ? `rm -rf /var/lib/apt/lists/*` ?
|
||||
|
||||
---
|
||||
## nginx basics
|
||||
@@ -65,6 +66,7 @@
|
||||
- [dangling images '<none>'](https://projectatomic.io/blog/2015/07/what-are-docker-none-none-images/)
|
||||
- [go inside docker to debug it](https://docs.docker.com/engine/reference/commandline/container_exec/)
|
||||
- `docker exec -ti <container-name> bash` to run bash inside a running container
|
||||
- [docker CMD vs ENTRYPOINT](https://phoenixnap.com/kb/docker-cmd-vs-entrypoint)
|
||||
|
||||
###### docker pid 1
|
||||
- nginx by default will create some child process (a master and some workers), then it quits (doc ?)
|
||||
@@ -128,3 +130,23 @@
|
||||
- [openssl req man](https://www.openssl.org/docs/man1.0.2/man1/openssl-req.html)
|
||||
- [SO discussion about ssl self signed certificate and becoming a CA](https://stackoverflow.com/questions/10175812/how-to-generate-a-self-signed-ssl-certificate-using-openssl)
|
||||
|
||||
#### wordpress
|
||||
- [install wp](https://wordpress.org/support/article/how-to-install-wordpress/#detailed-instructions)
|
||||
- [install wp with wp-cli](https://make.wordpress.org/cli/handbook/how-to-install/)
|
||||
|
||||
###### install wp
|
||||
- wget https://wordpress.org/latest.tar.gz
|
||||
- tar -xzvf latest.tar.gz
|
||||
|
||||
#### mariadb
|
||||
- [mariadb tutorial](https://www.mariadbtutorial.com/)
|
||||
- server vs client :
|
||||
- "server" runs in the background and listen for inputs
|
||||
- "client" interpret the commands to communicate with "server"
|
||||
- sudo apt install mariadb-client mariadb-server
|
||||
- [ERROR 1698 (28000): Access denied for user 'root'@'localhost'](https://stackoverflow.com/questions/39281594/error-1698-28000-access-denied-for-user-rootlocalhost)
|
||||
- [wiki ubuntu mariadb](https://doc.ubuntu-fr.org/mariadb)
|
||||
|
||||
#### php-fpm
|
||||
- [](https://en.wikipedia.org/wiki/FastCGI)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user