Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc2d3fd7

Browse files
committed
Initial commit.
0 parents  commitc2d3fd7

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM ubuntu:latest
2+
MAINTAINER John Fink <john.fink@gmail.com>
3+
RUN apt-get update
4+
RUN apt-get -y upgrade
5+
RUN apt-get -y install mysql-client mysql-server apache2 libapache2-mod-php5 pwgen
6+
ADD ./mysql-root-chpw.sh /mysql-root-chpw.sh
7+
RUN chmod 755 /mysql-root-chpw.sh

‎mysql-root-chpw.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
MYSQL_PASSWORD=`pwgen -c -n -1 12`
3+
echo mysql root password:$MYSQL_PASSWORD
4+
mysqladmin -u root password$MYSQL_PASSWORD

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp