Ubuntu 13.10에 MariaDB 5.5 설치

간단함... key와 repository를 추가하고 그냥 설치하면 된다.

아래의 명령으로 key와 repository를 추가 함.

첫번째.
ubuntu@ip-172-31-24-62:~$ sudo apt-get install software-properties-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python3-software-properties
The following packages will be upgraded:
  python3-software-properties software-properties-common
2 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Need to get 31.9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ saucy-updates/main software-properties-common all 0.92.28 [9,852 B]
Get:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/ saucy-updates/main python3-software-properties all 0.92.28 [22.1 kB]
Fetched 31.9 kB in 0s (288 kB/s)                  
(Reading database ... 54342 files and directories currently installed.)
Preparing to replace software-properties-common 0.92.27 (using .../software-properties-common_0.92.28_all.deb) ...
Unpacking replacement software-properties-common ...
Preparing to replace python3-software-properties 0.92.27 (using .../python3-software-properties_0.92.28_all.deb) ...
Unpacking replacement python3-software-properties ...
Processing triggers for man-db ...
Setting up python3-software-properties (0.92.28) ...
Setting up software-properties-common (0.92.28) ...

두번째.
ubuntu@ip-172-31-24-62:~$ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.O51vvxHqsZ --trustdb-name /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
gpg: key 1BB943DB: "MariaDB Package Signing Key " not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

마지막
ubuntu@ip-172-31-24-62:~$ sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/5.5/ubuntu saucy main'

이제 설치 시작.

ubuntu@ip-172-31-24-62:~$ sudo apt-get update
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy InRelease
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates InRelease               
Get:1 http://ap-northeast-1.ec2.archive.ubuntu.com saucy Release.gpg [933 B]           
Get:2 http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates Release.gpg [933 B]                               
Hit http://ap-northeast-1.ec2.archive.ubuntu.com saucy Release                                                      
Hit http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates Release                                                               
Get:3 http://ap-northeast-1.ec2.archive.ubuntu.com saucy/main Sources [1,009 kB]                                                    
Get:4 http://ap-northeast-1.ec2.archive.ubuntu.com saucy/universe Sources [6,108 kB]                                  
Ign http://security.ubuntu.com saucy-security InRelease                                                        
Hit http://security.ubuntu.com saucy-security Release.gpg                                                      
Hit http://ftp.kaist.ac.kr saucy InRelease                                                 
Hit http://security.ubuntu.com saucy-security Release                                                     
Hit http://ftp.kaist.ac.kr saucy/main amd64 Packages                                                                                
Get:5 http://ap-northeast-1.ec2.archive.ubuntu.com saucy/main amd64 Packages [1,239 kB]
Hit http://security.ubuntu.com saucy-security/main Sources                                            
Get:6 http://ap-northeast-1.ec2.archive.ubuntu.com saucy/universe amd64 Packages [5,643 kB]           
Hit http://security.ubuntu.com saucy-security/universe Sources                                                                    
Hit http://security.ubuntu.com saucy-security/main amd64 Packages                                                                 
Hit http://security.ubuntu.com saucy-security/universe amd64 Packages                                         
Get:7 http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/main Sources [33.2 kB]     
Get:8 http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/universe Sources [13.0 kB]           
Get:9 http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/main amd64 Packages [82.9 kB]       
Get:10 http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/universe amd64 Packages [37.0 kB]  
Ign http://ftp.kaist.ac.kr saucy/main Translation-en_US                                                
Ign http://ftp.kaist.ac.kr saucy/main Translation-en                                        
Hit http://security.ubuntu.com saucy-security/main Translation-en     
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy/main Translation-en_US
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy/main Translation-en
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy/universe Translation-en_US
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy/universe Translation-en
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/main Translation-en_US
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/main Translation-en
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/universe Translation-en_US
Ign http://ap-northeast-1.ec2.archive.ubuntu.com saucy-updates/universe Translation-en
Hit http://security.ubuntu.com saucy-security/universe Translation-en 
Ign http://security.ubuntu.com saucy-security/main Translation-en_US
Ign http://security.ubuntu.com saucy-security/universe Translation-en_US
Fetched 14.2 MB in 9s (1,544 kB/s)                                                                                                                                              
Reading package lists... Done

업데이트 한 번 해주고. 정말 설치...
ubuntu@ip-172-31-24-62:~$ sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mariadb-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
ubuntu@ip-172-31-24-62:~$ 

이미 설치가 되어 있었네... 언제 했지...?

댓글 없음:

댓글 쓰기