Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mysql-backup-s3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
mysql-backup-s3
Commits
39b37cfb
Commit
39b37cfb
authored
Sep 24, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix timezone
parent
18404b56
Pipeline
#805
passed with stages
in 5 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
install.sh
install.sh
+7
-4
No files found.
install.sh
View file @
39b37cfb
...
@@ -6,18 +6,21 @@ set -e
...
@@ -6,18 +6,21 @@ set -e
apk update
apk update
# install mysqldump
apk add mysql-client
apk add mysql-client python3 py3-pip tzdata
cp
-rf
/usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo
"Asia/Shanghai"
>
/etc/timezone
# install s3 tools
# install s3 tools
apk add python3 py3-pip
pip
install
awscli
pip
install
awscli
# install go-cron
# install go-cron
apk add curl
apk add curl
curl
-L
--insecure
https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat
>
/usr/local/bin/go-cron
curl
-L
--insecure
https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat
>
/usr/local/bin/go-cron
chmod
u+x /usr/local/bin/go-cron
chmod
u+x /usr/local/bin/go-cron
apk del curl
apk del curl
tzdata
# cleanup
# cleanup
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment