Apt automated install instructions
Bug #1407613 reported by
Marcus Bointon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Wishlist
|
Unassigned | |||
5.5 |
Triaged
|
Wishlist
|
Borys Belinsky | |||
5.6 |
Triaged
|
Wishlist
|
Borys Belinsky | |||
5.7 |
Triaged
|
Wishlist
|
Borys Belinsky |
Bug Description
[In:Percona Server Documentation] the apt instructions omit how to install percona-server from a script. The stock mysql package installs fine when `DEBIAN_
DBPASS=
export DBPASS
echo percona-
echo percona-
To post a comment you must log in.
This is true. without setting DBPASS in above case, while installing percona-server, it will ask for password. But if we set above things , without prompting for root password it will install percona server. This should be documented.
root@desktop: /var/lib/ mysql# DBPASS="root" /var/lib/ mysql# echo $DBPASS /var/lib/ mysql# /var/lib/ mysql# echo percona- server- server- 5.6 percona- server- server/ root_password password $DBPASS | debconf- set-selections /var/lib/ mysql# echo percona- server- server- 5.6 percona- server- server/ root_password_ again password $DBPASS | debconf- set-selections /var/lib/ mysql# /var/lib/ mysql# sudo apt-get install percona- server- server- 5.6 percona- server- server server- server percona- server- server- 5.6 server- server- 5.6. server- server- 5.6_5.6. 21-70.1- 698.utopic_ amd64.deb ... server- server- 5.6 (5.6.21- 70.1-698. utopic) ... server- server. server- server_ 5.6.21- 70.1-698. utopic_ amd64.deb ... server- server (5.6.21- 70.1-698. utopic) ... server- server- 5.6 (5.6.21- 70.1-698. utopic) ... defaults_ for_timestamp server option (see documentation for more details).
root@desktop:
root
root@desktop:
root@desktop:
root@desktop:
root@desktop:
root@desktop:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
tinyca
The following NEW packages will be installed:
percona-
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/12.0 MB of archives.
After this operation, 94.6 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package percona-
(Reading database ... 206198 files and directories currently installed.)
Preparing to unpack .../percona-
Unpacking percona-
Selecting previously unselected package percona-
Preparing to unpack .../percona-
Unpacking percona-
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.7.0.2-2) ...
Setting up percona-
* Stopping MySQL (Percona Server) mysqld [ OK ]
2015-01-06 13:50:18 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2015-01-06 13:50:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_
* Percona Server is distributed with several useful UDF (User Defined Function) from Percona Toolkit.
* Run the following commands to create these functions:
mysql -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
mysql -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
* See http:// www.percona. com/doc/ percona- server/ 5.6/management/ udf_percona_ toolkit. html for more details
* Starting MySQL (Percona Server) database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing ...