MySQL Software Repositories

46
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | | LinkedIn, Bangalore, 28th March, 2015 1 MySQL Software Repositories Akhil Mohan ([email protected]) Software Engineer, MySQL RE

Transcript of MySQL Software Repositories

Page 1: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | | LinkedIn, Bangalore, 28th March, 2015 1

MySQL Software Repositories

Akhil Mohan ([email protected])

Software Engineer, MySQL RE

Page 2: MySQL Software Repositories

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle , Bangalore, 26th June, 2015 2

Page 3: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26 th June, 2015 3

Agenda

The DevOps story told @MySQL

MySQL Software Repositories

Demo

Q&A

1

2

3

4

Page 4: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26 th June, 2015 4

Agenda

The DevOps story told @MySQL

MySQL Software Repositories

Demo

Q&A

1

2

3

4

Page 5: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Future depends on me!

I must release softwareto solve all problems...

Bunty: The developer

Page 6: MySQL Software Repositories

6Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Future depends on me!

I must release softwareto solve all problems...

Releases v1.0 on his website

All problems solved !

Downloadsource for

ultimate software today

Page 7: MySQL Software Repositories

7Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

All problems solved !

Downloadsource for

ultimate software today

This is exactly whatI wanted!

Pintu: The user

Page 8: MySQL Software Repositories

8Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

All problems solved !

Downloadsource for

ultimate software today

Readme

This is exactly whatI wanted!

Page 9: MySQL Software Repositories

9Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

All problems solved !

Downloadsource for

ultimate software today

Readme

This is exactly whatI wanted! 1) Download

35674 tools, 1475672 libraries, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

Page 10: MySQL Software Repositories

10Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

1) Download 35674 tools, 1475672 libs, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

Pintu: The user in pain

Page 11: MySQL Software Repositories

11Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

You can't even compile it !!!It is so simple... readme... 1) Download

35674 tools, 1475672 libs, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

Page 12: MySQL Software Repositories

12Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

README !!!!@#$%^&*

1) Download 35674 tools, 1475672 libs, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

Page 13: MySQL Software Repositories

13Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL This can be solved! 1) OS has pkg format 2) Dev will create pkg 3) User will install it

Simple! 1) Download 35674 tools, 1475672 libs, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

Billu: The guy who sold his OS

Page 14: MySQL Software Repositories

14Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Fine!

1) Download 35674 tools, 1475672 libs, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

This can be solved! 1) OS has pkg format 2) Dev will create pkg 3) User will install it

Simple!

Page 15: MySQL Software Repositories

15Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Fine!

pkg & ship

1) Download 35674 tools, 1475672 libs, 2) Build with 3456 compiler opts 452 env vars 3) Use it!

Simple. All yourproblems solved.

This can be solved! 1) OS has pkg format 2) Dev will create pkg 3) User will install it

Simple!

Page 16: MySQL Software Repositories

16Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Fine!

This is exactly whatI wanted!

pkg & ship

This can be solved! 1) OS has pkg format 2) Dev will create pkg 3) User will install it

Simple!

Page 17: MySQL Software Repositories

17Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

This is exactly whatwe wanted!

O S

HappyStack!I am

famous now!

Page 18: MySQL Software Repositories

18Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1

Really!All again...

OS4OS2

1) Download 35674 tools, 1475672 libraries,

2) Build with 3456 compiler opts, 452 env vars

3) Use it!Simple. All your problems solved.

OS3

Page 19: MySQL Software Repositories

19Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1 OS4OS2

1) Download 35674 tools, 1475672 libraries,

2) Build with 3456 compiler opts, 452 env vars

3) Use it!Simple. All your problems solved.

OS3

This can be solved! 1) I will create pkg 2) Host in pkg repo 3) User will install it

Simple!

Pinky: The gal who gave her OS with freedom

Page 20: MySQL Software Repositories

20Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1 OS4OS2 OS3

Fine! 1) Download 35674 tools, 1475672 libraries,

2) Build with 3456 compiler opts, 452 env vars

3) Use it!Simple. All your problems solved.

This can be solved! 1) I will create pkg 2) Host in pkg repo 3) User will install it

Simple!

Page 21: MySQL Software Repositories

21Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1 OS4OS2 OS3

Fine!

ships source

1) Download 35674 tools, 1475672 libraries,

2) Build with 3456 compiler opts, 452 env vars

3) Use it!Simple. All your problems solved.

This can be solved! 1) I will create pkg 2) Host in pkg repo 3) User will install it

Simple!

Page 22: MySQL Software Repositories

22Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1 OS4OS2 OS3

Fine!

ships source

1) Download 35674 tools, 1475672 libraries,

2) Build with 3456 compiler opts, 452 env vars

3) Use it!Simple. All your problems solved.

This can be solved! 1) I will create pkg 2) Host in pkg repo 3) User will install it

Simple!

Page 23: MySQL Software Repositories

23Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1 OS4OS2

Download35674 tools, 1475672 libraries,

Build with3456 compiler opts, 452 env vars

Use it!Simple. All your problems solved.

OS3

Fine!

ships source

placesIn

repo

1) Download 35674 tools, 1475672 libraries,

2) Build with 3456 compiler opts, 452 env vars

3) Use it!Simple. All your problems solved.

This can be solved! 1) I will create pkg 2) Host in pkg repo 3) User will install it

Simple!

Page 24: MySQL Software Repositories

24Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

OS1 OS4OS2 OS3

Fine!

ships source

placesIn

repo

This is exactly whatwe wanted!

This can be solved! 1) I will create pkg 2) Host in pkg repo 3) User will install it

Simple!

Page 25: MySQL Software Repositories

25Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

This is exactly whatwe wanted!

O S

HappyStack!Back to being

famous!

Page 26: MySQL Software Repositories

26Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Future is about perfection!

I must release new version to solve remaining problems...

Page 27: MySQL Software Repositories

27Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Future is about perfection!

I must release new version to solve remaining problems...

Releases v2.0 on his website

Remainingproblems solved !

Downloadsource for

perfect software today

Page 28: MySQL Software Repositories

28Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Remainingproblems solved !

Downloadsource for

perfect software today

This is exactly whatI wanted!

Page 29: MySQL Software Repositories

29Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Remainingproblems solved !

Downloadsource for

perfect software today

So...When ?

Page 30: MySQL Software Repositories

30Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Remainingproblems solved !

Downloadsource for

perfect software today

So...When ?

Two years may be..if that is not too late!

Page 31: MySQL Software Repositories

31Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Remainingproblems solved !

Downloadsource for

perfect software today

So...When ?

Two years may be..if that is not too late!

Why 2 yrs ? # Dependencies # Compatibility # Stability # QA For 18K pkgs in repo

Page 32: MySQL Software Repositories

32Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Hmmm

Page 33: MySQL Software Repositories

33Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

I will build pkg.Users will

Install !

Page 34: MySQL Software Repositories

34Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

I will build pkg.Users will

Install !

But I like..apt-get install ..

yum install ..

Page 35: MySQL Software Repositories

35Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

Hmmm

O S

Page 36: MySQL Software Repositories

36Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

O S

Page 37: MySQL Software Repositories

37Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

O S

Let me setup my own repo to deliver

pkgs

Page 38: MySQL Software Repositories

38Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

O S

This is exactly whatI wanted!

Page 39: MySQL Software Repositories

39Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

The DevOps story told @MySQL

O S

HappyStack!This is exactly what

we wanted!Back to

being famous!

Distro's Repo

Developer's Repo

Page 40: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26 th June, 2015 40

Agenda

The DevOps story told @MySQL

MySQL Software Repositories

Demo

Q&A

1

2

3

4

Page 41: MySQL Software Repositories

41Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

MySQL Software Repositories

Software repositories for Linux distros:— MySQL YUM Repositories for Fedora and RHEL.— MySQL APT Repositories for Debian and Ubuntu.— MySQL SuSE Repositories for SuSE.— MySQL Docker Images (beta)

Non-server products available in repositories:— Workbench— Utilities— Connectors— Fabric

Page 42: MySQL Software Repositories

42Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

MySQL Software Repositories

Why use MySQL software repositories:— Easy transition from distro pkgs to MySQL pkgs using auto configuration.— Configuration sanity.— Compatibility with other pkgs in distro specific repos.— Extensive QA.— Bug fixes with each new release of MySQL every two months.— Automated or coordinated installation depending upon your IT infra.— Reduction in automation needed to handle upgrades on multiple servers.— Build from source just like us (Server only)— Easy upgrades from MySQL 5.5 to 5.6 and 5.6 to 5.7 on same OS

version.

Page 43: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26 th June, 2015 44

Agenda

The DevOps story told @MySQL

MySQL Software Repositories

Demo

Q&A

1

2

3

4

Page 44: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26 th June, 2015 45

Agenda

The DevOps story told @MySQL

MySQL Software Repositories

Demo

Q&A

1

2

3

4

Page 45: MySQL Software Repositories

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | MySQL User Camp, Oracle, Bangalore, 26th June, 2015

Next Steps: Read about DevOps@MySQL

Keep yourself updated with latest news from:

http://mysqlrelease.com/ Suggest features, find bugs and please do get back to us:

http://bugs.mysql.com/ Before doing anything else, first download the repo configuration packages:

http://dev.mysql.com/downloads/

Page 46: MySQL Software Repositories