You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
1.5 KiB
102 lines
1.5 KiB
= LabInstance mariadb!
|
|
|
|
|
|
== Quickstart
|
|
|
|
This is a quickstart guide of howto use this *LabInstance*
|
|
|
|
=== Default Configuration
|
|
|
|
- Working Directory
|
|
|
|
> /home/docker/project
|
|
|
|
- Default user
|
|
|
|
> docker
|
|
|
|
- Default password
|
|
|
|
> docker
|
|
|
|
- Default password4root
|
|
|
|
> pass
|
|
|
|
|
|
== LabInstance Info
|
|
|
|
|
|
MariaDB Server is one of the most popular database servers in the world. It’s made by the original developers of MySQL and guaranteed to stay open source. Notable users include Wikipedia, DBS Bank, and ServiceNow.
|
|
|
|
The intent is also to maintain high compatibility with MySQL, ensuring a library binary equivalency and exact matching with MySQL APIs and commands. MariaDB developers continue to develop new features and improve performance to better serve its users.
|
|
|
|
|
|
== DB configuration
|
|
|
|
[source,bash]
|
|
----
|
|
MARIADB_USER=swarmlab
|
|
MARIADB_PASSWORD=swarmlab
|
|
MARIADB_ROOT_PASSWORD=swarmlabroot
|
|
----
|
|
|
|
|
|
== More info
|
|
|
|
https://mariadb.org/[^]
|
|
|
|
|
|
== RUN INSTANCE
|
|
|
|
Swarmlab services can be run in different ways.
|
|
|
|
- You can run them **through the swarmlab hybrid environment** (http://docs.swarmlab.io/SwarmLab-HowTos/swarmlab/docs/swarmlab/docs/hybrid/start-microservices.html)
|
|
- or use them individually at will on the **command line of your system**
|
|
|
|
|
|
=== CLI
|
|
|
|
> git clone ...
|
|
|
|
> cd [DIRECTORY]
|
|
|
|
|
|
=== help
|
|
|
|
> make help
|
|
|
|
|
|
==== create service
|
|
|
|
> make create
|
|
|
|
|
|
=== start service
|
|
|
|
> make start
|
|
|
|
|
|
=== stop service
|
|
|
|
> make stop
|
|
|
|
|
|
=== list service
|
|
|
|
> make list
|
|
|
|
|
|
=== clean service
|
|
|
|
> make clean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|