MySQL Software Repositories

Post on 08-Aug-2015

420 views 0 download

Tags:

Transcript of MySQL Software Repositories

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

MySQL Software Repositories

Akhil Mohan (akhil.mohan@oracle.com)

Software Engineer, MySQL RE

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

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

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

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

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

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

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!

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.

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

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.

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.

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

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!

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!

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!

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!

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

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

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!

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!

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!

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!

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!

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!

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...

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

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!

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 ?

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!

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

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

The DevOps story told @MySQL

Hmmm

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 !

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 ..

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

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

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

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!

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

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

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

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.

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

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

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/