Sign inSign up

eduardobertobr/webserver

By eduardobertobr

•Updated over 7 years ago

Debian GNU/Linux 9 for webserver

Image
1

333

eduardobertobr/webserver repository overview

Debian GNU/Linux 9 with:

  • Apache/2.4.25 (Debian)
  • PHP 7.0.27-0+deb9u1 (cli)
  • NodeJS v8.9.4
  • npm 5.6.0
  • nvm
  • ssh
  • Git 2.11.0
  • wget
  • Mysql-Community 5.7

COMO UTILIZAR

docker run -ti --name NomeAqui --hostname NomeDoHostAqui -p 8080:80 -p 2222:22 -p 3333:3306 eduardobertobr/webserver:TagAqui

O QUE FAZER AO SUBIR O CONTAINER

chown -R mysql.mysql /var/lib/mysql service mysql start

MYSQL

1 - Alterar senha de root do Linux 2 - Alterar senha de root do MySQL com o mysql_secure_installation 3 - Iniciar ssh 4 - Liberar MySQL para acesso externo vi /etc/mysql/mysql.conf.d Alterar linha para bind-address = 0.0.0.0 5 - Dar um Grant all privileges on . para o root 6 - Reiniciar mysql service mysql restart

Tag summary

Content type

Image

Digest

Size

240.4 MB

Last updated

over 7 years ago

docker pull eduardobertobr/webserver:3.0