Ana içeriğe atla

redhat/oracle linux 5 mysql yüklemek


1.
[root@oel5 ~]# wget --no-check-certificate https://repo.mysql.com//mysql57-community-release-el5-7.noarch.rpm
--2017-02-21 11:16:52--  https://repo.mysql.com//mysql57-community-release-el5-7.noarch.rpm
Resolving repo.mysql.com... 104.122.197.77
Connecting to repo.mysql.com|104.122.197.77|:443... connected.
WARNING: certificate common name `cdn.mysql.com' doesn't match requested host name `repo.mysql.com'.
HTTP request sent, awaiting response... 200 OK
Length: 8392 (8,2K) [application/x-redhat-package-manager]
Saving to: `mysql57-community-release-el5-7.noarch.rpm'

100%[==============================================================================================================================================>] 8.392       --.-K/s   in 0s     

2017-02-21 11:16:52 (965 MB/s) - `mysql57-community-release-el5-7.noarch.rpm' saved [8392/8392]

[root@oel5 ~]#

[root@oel5 ~]# rpm -ivh  mysql57-community-release-el5-7.noarch.rpm
warning: mysql57-community-release-el5-7.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:mysql57-community-relea########################################### [100%]
[root@oel5 ~]#

 yum update
[root@oel5 ~]# yum install mysql mysql-server
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be disabled.
Setting up Install Process
Package mysql-server is obsoleted by mysql-community-server, trying to install mysql-community-server-5.7.17-1.el5.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package mysql.i686 0:5.7.17-1.el5 set to be updated
--> Processing Dependency: mysql-community-libs-compat >= 5.7.9 for package: mysql
--> Processing Dependency: mysql-community-libs >= 5.7.9 for package: mysql
--> Processing Dependency: mysql-community-client >= 5.7.9 for package: mysql
---> Package mysql.x86_64 0:5.7.17-1.el5 set to be updated
---> Package mysql-community-server.x86_64 0:5.7.17-1.el5 set to be updated
--> Processing Dependency: mysql-community-common = 5.7.17-1.el5 for package: mysql-community-server
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.7.17-1.el5 set to be updated
---> Package mysql-community-common.x86_64 0:5.7.17-1.el5 set to be updated
---> Package mysql-community-libs.x86_64 0:5.7.17-1.el5 set to be updated
---> Package mysql-community-libs-compat.x86_64 0:5.7.17-1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================================
 Package                                                Arch                              Version                                    Repository                                    Size
========================================================================================================================================================================================
Installing:
 mysql                                                  i686                              5.7.17-1.el5                               mysql57-community                             40 k
 mysql                                                  x86_64                            5.7.17-1.el5                               mysql57-community                             40 k
 mysql-community-server                                 x86_64                            5.7.17-1.el5                               mysql57-community                            227 M
Installing for dependencies:
 mysql-community-client                                 x86_64                            5.7.17-1.el5                               mysql57-community                             31 M
 mysql-community-common                                 x86_64                            5.7.17-1.el5                               mysql57-community                            813 k
 mysql-community-libs                                   x86_64                            5.7.17-1.el5                               mysql57-community                            2.8 M
 mysql-community-libs-compat                            x86_64                            5.7.17-1.el5                               mysql57-community                            2.1 M

Transaction Summary
========================================================================================================================================================================================
Install       7 Package(s)
Upgrade       0 Package(s)

Total download size: 264 M
Is this ok [y/N]: y


[root@oel5 ~]# /etc/init.d/mysqld
[root@oel5 ~]# service mysqld status
mysqld is stopped
[root@oel5 ~]# service mysqld start
Initializing MySQL database:                               [  OK  ]
Installing validate password plugin:                       [  OK  ]
Starting mysqld:                                           [  OK  ]
[root@oel5 ~]# service mysqld status
mysqld (pid  20536) is running...
[root@oel5 ~]#





2.

wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.17-1.el5.x86_64.rpm-bundle.tar



[root@oel5 ~]# ls
anaconda-ks.cfg  Desktop  install.log  install.log.syslog  mysql-5.7.17-1.el5.x86_64.rpm-bundle.tar
[root@oel5 ~]# tar xvf mysql-5.7.17-1.el5.x86_64.rpm-bundle.tar
mysql-community-devel-5.7.17-1.el5.x86_64.rpm
mysql-community-client-5.7.17-1.el5.x86_64.rpm
mysql-community-server-5.7.17-1.el5.x86_64.rpm
mysql-community-libs-compat-5.7.17-1.el5.x86_64.rpm
mysql-5.7.17-1.el5.x86_64.rpm
mysql-community-libs-5.7.17-1.el5.x86_64.rpm
mysql-community-common-5.7.17-1.el5.x86_64.rpm
mysql-community-embedded-devel-5.7.17-1.el5.x86_64.rpm
mysql-community-test-5.7.17-1.el5.x86_64.rpm
mysql-community-embedded-5.7.17-1.el5.x86_64.rpm
[root@oel5 ~]#


[root@oel5 ~]# rpm -ivh  mysql-5.7.17-1.el5.x86_64.rpm mysql-community-libs-* mysql-community-common* mysql-community-client* mysql-community-server-5.7.17-1.el5.x86_64.rpm
warning: mysql-5.7.17-1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
   1:mysql-community-libs   ########################################### [ 17%]
   2:mysql-community-client ########################################### [ 33%]
   3:mysql-community-common ########################################### [ 50%]
   4:mysql-community-libs-co########################################### [ 67%]
   5:mysql                  ########################################### [ 83%]
   6:mysql-community-server ########################################### [100%]
[root@oel5 ~]#


[root@oel5 ~]# /etc/init.d/mysqld
[root@oel5 ~]# service mysqld status
mysqld is stopped
[root@oel5 ~]# service mysqld start
Initializing MySQL database:                               [  OK  ]
Installing validate password plugin:                       [  OK  ]
Starting mysqld:                                           [  OK  ]
[root@oel5 ~]# service mysqld status
mysqld (pid  20536) is running...
[root@oel5 ~]#
[root@oel5 ~]# grep "A temporary password is generated for root@localhost:" /var/log/mysqld.log
2017-02-21T08:07:25.723596Z 1 [Note] A temporary password is generated for root@localhost: NRLRJWgnB5/F
[root@oel5 ~]# mysql -pNRLRJWgnB5/F
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.17

Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>





Yorumlar

Bu blogdaki popüler yayınlar

ttnet tilgin hg1332 modem(router) kablosuz özelliğini güçlendirmek

Bu gün ttnetin hediyesi olan tilgin yönlendiriciyle biraz oynayayım dedim Matkap, ve rg316-rp-sma kablo alıp cihazın kapağını tekrar açtım. Matkapla usb çıkışın yanına bir delik açarak kaployu taktım. Sonra elimdeki antenlerden ikiti tanesini takıp test ettim. . Bu iki antenin, gözle farkedilir derecede sinyalleri kuvvetlendirdiğini fark ettim.. Normalde bu cihaz ile evin iki en uc noktaları arasında haberleşme olmaz iken şimdi en kör iki uç arasında sorun olmadan kablosuz kullanılabildiğini gördüm. Arada 4 tane kuvvetli beton duvar mevcut. Deneme bitti, tilgin rafa kalktı yine. Her nekadar ben bu cihazı kaldırsamda, kullanmak zorunda olan arkadaşlar, bir kablo ve ikitane anten takarak her herde kullanabilirler. İyi eğlenceler.

docker servisi proxy ayarı

  /etc/systemd/system/docker.service.d/http-proxy.conf   [Service] Environment="HTTP_PROXY= http://10.27.152.40:8080" Environment="HTTPS_PROXY= http://10.27.152.40:8080" # systemctl daemon-reload # systemctl restart docker # systemctl show --property=Environment docker

İstanbul'da günlük hayat çok hızlı !

Bu hafta bir kaç gün iett otobüsleriyle istanbul içinde bir yerden bir başka yere gideyim dedim. Otobüslerde klima çalışmaz, pencereler açılır ve  bedeva sauna hizmetinden yararlanılır. Bu hizmet için teşekkür etmezsek olmaz, malum saunaya gidecek olsak kaç para veririz.  :). Sabah ve akşam şaatlerindeki ulaşım süre ve hızı; Taksim-Kayeşehir 79T otobüsü Mesafe : 30.81 Km Süre  : 2.04:56 saat Ortalama hız: 14.79Km Enyüksek hız: 69.74Km/Saat Çift katlı, klimalı fakat sauna hizmeti verilmesi için klimalar çalıştırılmıyor, malum iki hizmet bir arada olmuyormuş... Kayaşehir - Taksim 79T otobüsü; Mesafe : 35.01 KM Süre: 1.59:33  (Biraz hızlı gitti, 2 saatin altına düştük.) Ortalama hız: 17.57Km/Saat En yüksek hız: 70.22 Km/Saat 79M Kayaşehir-Mecidiyeköy yine 2 saat. 79E Kayaşehir-Eminönü ~1.30  saat Umarım bu hızlı hayatımız bir an önce yavaşlar ve hayattan kopmayız.