未解决:unbuntu,centos,redhat 怎样使用软件源下载mysql?

1.unbuntu怎样使用软件源下载mysql?

2.如何查看unbuntu有哪些软件源?

3.sources.list在镜像地址右边的参数 trusty-updates universe 是什么意思?

4.为什么 ubuntu打开网站后,只发现2个gz的包呢?而不是由很多mysql软件,ftp软件呢?

 

 


 

1.unbuntu怎样使用软件源下载mysql?

使用文字方式配置 

不同版本的unbuntu,图形界面是不一样的,然而文字代码基本相同

先备份软件源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.b20151015

修改软件源文件中的镜像地址

sudo gedit /etc/apt/source.list 

ubuntu的vi很不好用,使用gedit好了,这个直接等效于windows的txt,图形界面,能用鼠标操作的

 

 直接使用ftp工具把sources.list拷贝出来是这样子的

#deb cdrom:[Ubuntu-Kylin 14.04.2 LTS _Trusty Tahr_ - Release i386 (20150218.1)]/ trusty main multiverse restricted universe
 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
 
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
 
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
 
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
 
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
 
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main

  

  

不同版本的unbuntu,软件源的名字是不同的,选择匹配的镜像地址

上面的# deb-src http://extras.ubuntu.com/ubuntu trusty main中的trusty是镜像的版本

 一共有如下这些版本号

Hardy(8.04) 
Intrepid(8.10) 
Jaunty(9.04) 
Karmic(9.10) 
Lucid(10.04) 
Maverick(10.10) 
Natty(11.04) 
Oneiric(11.10) 
Precise(12.04) 
Quantal(12.10) 
Raring Ringtail(13.04) 
Saucy Salamander(13.10) 
Trusty Tahr(14.04)
Utopic Unicorn(14.10)  

  

查看unbuntu版本:uname -a ,得到为14

unbuntu中文官网提供软件源

官方中文说明书:http://wiki.ubuntu.org.cn/源列表 

 

注意要选择与自己系统匹配的版本

源列表 
 ◦3.1 Vivid(15.04)版本
 ◦3.2 Utopic(14.10)版本
 ◦3.3 Trusty(14.04)版本
 ◦3.4 Precise(12.04)版本
 ◦3.5 Lucid(10.04) 版本
 ◦3.6 停止维护的版本

  

 

 

把这些镜像地址贴上去以后,得刷新列表,就像mysql的 flush privileges一样

sudo apt-get update

  

 

打开 http://mirrors.163.com/ubuntu/地址,如下

 

 点开一个dists的目录,这个目录是2015年10月15日更新的,看来是有维护的

 

点开以后看到几个大的分类,devel,lucid,precise,trusty,wily,vivid

其实这个就是上面的镜像版本号,适用不同的ubuntu,难怪官网提示如果是版本14,要把vivid替换成trusty

不过里面并没有utopic这个版本,估计会出错的

点开trusty-backports这个目录,如下图

 

3.sources.list在镜像地址右边的参数 trusty-updates universe 是什么意思?

刚好就是上面配置的几个参数,main multiverse restricted universe了

 

1.查看机器安装了mysql没有

dpkg里面d指的是Debian,ubuntu跟Debian是一伙的,pkg的方式,就是centos的rpm方式

当然还有apt-get的方式

第一种方式,dpkg --search mysql,作用是为了查询mysql这个文件属于哪些软件包,搜索出来一大堆不是我想要的

第二种方式,/var/lib/dpkg/available 记录所有已经安装的软件,或者未安装的软件

cat /var/lib/dpkg/available | grep mysql

第三种方式,使用一个软件包管理工具,aptitude

unbuntu@ubuntu:~/Desktop$ sudo apt-cache search aptitude
aptitude - terminal-based package manager
aptitude-common - architecture indepedent files for the aptitude package manager
aptitude-dbg - Debug symbols for the aptitude package manager
aptitude-doc-en - English manual for aptitude, a terminal-based package manager
libcwidget-dev - high-level terminal interface library for C++ (development files)
apt-cacher - Caching proxy for Debian package and source files
apticron - Simple tool to mail about pending package updates
aptitude-doc-cs - Czech manual for aptitude, a terminal-based package manager
aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manager
aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manager
aptitude-doc-fr - French manual for aptitude, a terminal-based package manager
aptitude-doc-it - Italian manual for aptitude, a terminal-based package manager
aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package manager
aptitude-robot - Automate package choice management
cron-apt - automatic update of packages using apt-get
cupt - alternative front-end for dpkg -- console interface
gbrainy - brain teaser game and trainer to have fun and to keep your brain trained
pkgsync - automated package list synchronization
wajig - unified package management front-end for Debian

安装这个aptitude软件

sudo apt-get install aptitude  

这个aptitude做得比apt-get效果更好,它可以查看一个软件的详细信息  aptitude show 软件包

 

它应该是以grep的方式搜索软件包的,所以不一定要打完整个名字,它会自动匹配的

 

2.接着我们要查询,软件管家有什么软件可以让我们下载

apt-cache search mysql

找到与mysql相关的很多软件

bacula-common-mysql - network backup service - MySQL common files
bacula-common-mysql-dbg - network backup service - MySQL common files (debugging)
bacula-director-mysql - network backup service - MySQL storage for Director
bacula-director-mysql-dbg - network backup service - MySQL storage for Director (debugging)
bacula-sd-mysql - network backup service - MySQL SD tools
bacula-sd-mysql-dbg - network backup service - MySQL SD tools (debugging)
dbconfig-common - common framework for packaging database applications
exim4-daemon-heavy - Exim MTA (v4) daemon with extended features, including exiscan-acl
libapache2-mod-auth-mysql - Apache 2 module for MySQL authentication
libdatetime-format-mysql-perl - Parse and format MySQL dates and times
libdbd-mysql - MySQL database server driver for libdbi
libdbd-mysql-perl - Perl5 database interface to the MySQL database
libdbd-sqlite3-perl - Perl DBI driver with a self-contained RDBMS
libdbi-perl - Perl Database Interface (DBI)
libmysqlclient-dev - MySQL database development files
libmysqlclient18 - MySQL database client library
libmysqlcppconn-dev - MySQL Connector for C++ (development files)
libmysqlcppconn7 - MySQL Connector for C++ (library)
libmysqld-dev - MySQL embedded database development files
libqt4-sql-mysql - Qt 4 MySQL database driver
librdf0 - Redland Resource Description Framework (RDF) library
libreoffice-base-drivers - Database connectvity drivers for LibreOffice
libsasl2-modules-sql - Cyrus SASL - pluggable authentication modules (SQL)
mysql-client - MySQL database client (metapackage depending on the latest version)
mysql-client-5.5 - MySQL database client binaries
mysql-client-core-5.5 - MySQL database core client binaries
mysql-common - MySQL database common files, e.g. /etc/mysql/my.cnf
mysql-server - MySQL database server (metapackage depending on the latest version)
mysql-server-5.5 - MySQL database server binaries and system database setup
mysql-server-core-5.5 - MySQL database server binaries
nagios-plugins-standard - Plugins for nagios compatible monitoring systems
nova-api - OpenStack Compute - API frontend
nova-cert - OpenStack Compute - certificate management
nova-common - OpenStack Compute - common files
nova-compute - OpenStack Compute - compute node base
nova-compute-kvm - OpenStack Compute - compute node (KVM)
nova-compute-libvirt - OpenStack Compute - compute node libvirt support
nova-compute-lxc - OpenStack Compute - compute node (LXC)
nova-doc - OpenStack Compute - documentation
nova-network - OpenStack Compute - Network manager
nova-objectstore - OpenStack Compute - object store
nova-scheduler - OpenStack Compute - virtual machine scheduler
nova-volume - OpenStack Compute - storage
php5-mysql - MySQL module for php5
php5-sqlite - SQLite module for php5
postfix-mysql - MySQL map support for Postfix
python-logilab-common - useful miscellaneous modules used by Logilab projects
python-migrate - Database schema migration for SQLAlchemy
python-mysqldb - Python interface to MySQL
python-mysqldb-dbg - Python interface to MySQL (debug extension)
python-nova - OpenStack Compute Python libraries
python3-logilab-common - useful miscellaneous modules used by Logilab projects (Python3)
rsyslog - reliable system and kernel logging daemon
strongswan-plugin-mysql - strongSwan plugin for MySQL
strongswan-plugin-sql - strongSwan plugin for SQL configuration and credentials
mythtv-database - Personal video recorder application (database)
akonadi-backend-mysql - MySQL storage backend for Akonadi
ampache - web-based audio file management system
ampache-common - web-based audio file management system common files
ampache-themes - Themes for Ampache
aolserver4-nsmysql - AOLserver 4 module: module for accessing MySQL databases
asterisk-mysql - MySQL database protocol support for the Asterisk PBX
audiolink - makes managing and searching for music easier
auth2db - Powerful and eye-candy IDS logger, log viewer and alert generator
auth2db-common - Common configuration files for Auth2db backend and web frontend
auth2db-filters - Auth2db defaults filters pack
auth2db-frontend - Web frontend view for auth2DB log engine
automysqlbackup - daily, weekly and monthly backup for your MySQL database
autopostgresqlbackup - Automated tool to make periodic backups of PostgreSQL databases
backup-manager - command-line backup tool
backupninja - lightweight, extensible meta-backup system
bibus - bibliographic database
cacti - web interface for graphing of monitoring systems
cedar-backup2 - local and remote backups to CD or DVD media
cedar-backup2-doc - local and remote backups to CD or DVD media (documentation)
cl-sql-mysql - CLSQL database backend, MySQL
cl-sql-tests - Testing suite for CLSQL
collectd-core - statistics collection and monitoring daemon (core system)
courier-authlib-mysql - MySQL support for the Courier authentication library
courier-webadmin - Courier mail server - web-based administration frontend
cqrlog - Advanced logging program for hamradio operators
cvm-mysql - Credential Validation Modules (MySQL)
dbf2mysql - xBase <--> MySQL
dish - diligence/distributed shell for parallel sysadmin
dovecot-mysql - secure POP3/IMAP server - MySQL support
dpm-copy-server-mysql - DPM copy server with MySQL database backend
dpm-name-server-mysql - DPM nameserver server with MySQL database backend
dpm-server-mysql - Disk Pool Manager (DPM) server with MySQL database backend
dpm-srm-server-mysql - DPM SRM server with MySQL database backend
dpsyco-mysql - Automate administration of access to mysql
drizzle - Server binaries for Drizzle Database
drizzle-client - Client binaries for Drizzle Database
drizzle-dbg - Debugging symbols for Drizzle
drizzle-dev-doc - API Documentation for drizzle
drizzle-doc - Documentation for Drizzle
drizzle-plugin-auth-file - File-based authentication for Drizzle
drizzle-plugin-auth-http - HTTP authentication for Drizzle
drizzle-plugin-auth-ldap - LDAP authentication for Drizzle
drizzle-plugin-auth-pam - PAM authentication for Drizzle
drizzle-plugin-auth-schema - Schema authentication for Drizzle
drizzle-plugin-debug - Plugin that facilitates debugging Drizzle
drizzle-plugin-dev - Development files for Drizzle plugin development
drizzle-plugin-gearman-udf - Gearman User Defined Functions for Drizzle
drizzle-plugin-http-functions - HTTP Functions for Drizzle
drizzle-plugin-js - Javascript plugin for Drizzle
drizzle-plugin-json-server - JSON HTTP (NoSQL) interface for Drizzle
drizzle-plugin-logging-gearman - Gearman Logging for Drizzle
drizzle-plugin-logging-query - Query Logging for Drizzle
drizzle-plugin-perf-dictionary - Performance Dictionary for Drizzle
drizzle-plugin-query-log - Query logging for Drizzle
drizzle-plugin-rabbitmq - RabbitMQ Transaction Log for Drizzle
drizzle-plugin-regex-policy - Regex based authorization rules for Drizzle
drizzle-plugin-simple-user-policy - Simple User Policy for Drizzle
drizzle-plugin-slave - Replication Slave Plugin for Drizzle
dspam-webfrontend - Webfrontend for DSPAM anti-spam filter
dsyslog-module-mysql - advanced modular syslog daemon - MySQL support
emma - extendable MySQL managing assistant
falconpl-dbi-mysql - MySQL database abstraction layer for Falcon P.L
ferret - CASE tool for data model editing
fp-units-db - Free Pascal - database-library units dependency package
fp-units-db-2.6.2 - Free Pascal - database-library units
freeradius-mysql - MySQL module for FreeRADIUS server
fsgateway - FUSE module to browse database's metadata, sugar datastores and xml files
gambas3 - Complete visual development environment for Gambas
gambas3-gb-db-mysql - MySQL driver for the Gambas database component
gambas3-gb-mysql - Gambas MySQL component
gbirthday - birthday reminder applet
gmysqlcc - graphical client for managing MySQL databases
gnash-ext-mysql - GNU Shockwave Flash (SWF) player - MySQL extension
gnokii-smsd-mysql - SMSD plugin for MySQL storage backend
gsql-mysql-engine - MySQL engine for GSQL
handlersocket-doc - HandlerSocket command line client
handlersocket-mysql-5.5 - HandlerSocket plugin for MySQL 5.5
hoteldruid - web-based property management system for hotels or B&Bs
htcheck - Utility for checking web site for dead/external links
htcheck-php - Simple php interface to database generated by ht://Check
hydra - very fast network logon cracker
hydra-gtk - very fast network logon cracker - GTK+ based GUI
ilohamail - Light weight yet full featured multilingual web-based IMAP/POP3 client
irssi-scripts - collection of scripts for irssi
jffnms - PHP Network Management System
kamailio - very fast and configurable SIP proxy
kamailio-mysql-modules - MySQL database connectivity module for Kamailio
kannel - WAP and SMS gateway
kbtin - tintin++ style text-based MUD client
kexi-mysql-driver - MySQL support for kexi
lcmaps-plugins-jobrep-admin - Jobrepository database setup tools
letodms - document management system based on PHP and MySQL
lfc-server-mysql - LCG File Catalog (LFC) server with MySQL database backend
libapache2-mod-log-slow - Apache module for logging of slow requests handling
libapache2-mod-log-sql - Use SQL to store/write your Apache queries logs - Base
libapache2-mod-log-sql-dbi - Use SQL to store/write your Apache queries logs - DBI interface
libapache2-mod-log-sql-mysql - Use SQL to store/write your Apache queries logs - MySQL interface
libapq3.2.0 - Pluggable Ada 95 Binding to various database systems (library)
libapq3.2.0-dbg - Pluggable Ada 95 Binding to various database systems (debug)
libapq3.2.0-dev - Pluggable Ada 95 Binding to various database systems (development)
libaprutil1-dbd-mysql - Apache Portable Runtime Utility Library - MySQL Driver
libcgi-application-plugin-ratelimit-perl - Perl module for limiting the runmode call rate per user
libcgi-session-expiresessions-perl - automatic deletion of expired CGI sessions
libclass-dbi-loader-perl - Perl module for dynamic definition of Class::DBI sub classes
libclass-dbi-mysql-perl - extensions to Class::DBI for MySQL
libclass-dbi-perl - convenient abstraction layer to a database
libcrypt-mysql-perl - Perl module to emulate the MySQL PASSWORD() function
libdatetime-format-dbi-perl - abstraction layer for DateTime over some database vendors
libdbd-mock-perl - Mock database driver for testing
libdbd-mysql-ruby - Transitional package for ruby-dbd-mysql
libdbd-mysql-ruby1.8 - Transitional package for ruby-dbd-mysql
libdbd-mysql-ruby1.9.1 - Transitional package for ruby-dbd-mysql
libdbd-sqlite2-perl - Perl DBI driver with a self-contained RDBMS (SQLite2 version)
libdbix-class-perl - extensible and flexible object <-> relational mapper
libdbix-class-schema-loader-perl - module to automate definition of a DBIx::Class::Schema
libdbix-datasource-perl - database-independent module to create and drop functions
libdbix-dbschema-perl - Perl module to manipulate schemas independently of databases
libdbix-easy-perl - Easy to Use DBI Interface
libdbix-fulltextsearch-perl - Indexing documents with MySQL as storage
libdbix-introspector-perl - module to detect what database code is connected to
libdrizzle-dbg - library for the Drizzle and MySQL protocols, debug symbols
libdrizzle-dev - library for the Drizzle and MySQL protocols, development files
libdrizzle4 - library for the Drizzle and MySQL protocols
libdrizzledmessage-dev - Devel library containing serialized messages used with Drizzle
libdrizzledmessage0 - Library containing serialized messages used with Drizzle
libdspam7-drv-mysql - MySQL backend for DSPAM anti-spam filter
libeigenbase-farrago-java - Java framework for constructing RDBMS services
libgda-5.0-mysql - MySQL provider for libgda database abstraction library
libghc-hdbc-dev - Haskell Database Connectivity, GHC package
libghc-hdbc-doc - Haskell Database Connectivity, Documentation
libghc-hdbc-odbc-dev - unixODBC HDBC (Haskell Database Connectivity) Driver for GHC
libghc-hdbc-odbc-doc - unixODBC HDBC (Haskell Database Connectivity) Documentation
libghc-hdbc-odbc-prof - unixODBC Haskell Database Connectivity Driver; profiling libraries
libghc-hdbc-sqlite3-dev - Sqlite v3 HDBC (Haskell Database Connectivity) Driver for GHC
libghc-hdbc-sqlite3-doc - Sqlite v3 HDBC (Haskell Database Connectivity) Documentation
libghc-hdbc-sqlite3-prof - Sqlite v3 HDBC Driver for GHC; profiling libraries
libghc-highlighting-kate-dev - syntax highlighting library based on Kate syntax descriptions
libghc-highlighting-kate-doc - library documentation for highlighting-kate; documentation
libghc-highlighting-kate-prof - highlighting-kate library with profiling enabled; profiling libraries
libghc-hsql-dev - Multi-Database Interface System library for GHC
libghc-hsql-doc - API documentation of the HSQL library for Haskell
libghc-hsql-mysql-dev - MySQL driver of the HSQL library for GHC
libghc-hsql-mysql-doc - API documentation of the hsql-mysql library for Haskell
libghc-hsql-mysql-prof - MySQL driver of the HSQL library for GHC; profiling libraries
libghc-hsql-odbc-dev - UnixODBC driver of the HSQL library for GHC
libghc-hsql-odbc-doc - API documentation of the hsql-odbc library for Haskell
libghc-hsql-odbc-prof - UnixODBC driver of the HSQL profiling library for GHC
libghc-hsql-prof - Multi-Database Interface System profiling library for GHC
libghc-hsql-sqlite3-dev - SQLite driver of the HSQL library for GHC
libghc-hsql-sqlite3-doc - API documentation of the hsql-sqlite3 library for Haskell
libghc-hsql-sqlite3-prof - SQLite driver of the HSQL profiling library for GHC
libglpk36 - linear programming kit with integer (MIP) support
libhsclient-dev - HandlerSocket client library
libinnodb-dbg - Embedded InnoDB Library (debug files)
libinnodb-dev - Embedded InnoDB Library (dev files)
libinnodb3 - Embedded InnoDB Library
libkaya-mysql-dev - MySQL binding for kaya
libkiokudb-backend-dbi-perl - DBI backend for KiokuDB
libmariadbclient-dev - MariaDB database development files
libmariadbd-dev - MariaDB embedded database development files
libmyodbc - the MySQL ODBC driver
libmysql++-dev - MySQL C++ library bindings (development)
libmysql++-doc - MySQL C++ library bindings (documentation and examples)
libmysql++3 - MySQL C++ library bindings (runtime)
libmysql-cil-dev - MySQL database connector for CLI
libmysql-diff-perl - module for comparing the table structure of two MySQL databases
libmysql-java - Java database (JDBC) driver for MySQL
libmysql-ocaml - OCaml bindings for MySql (runtime package)
libmysql-ocaml-dev - OCaml bindings for MySql (development package)
libmysql6.4-cil - MySQL database connector for CLI
libmysqld-pic - PIC version of MySQL embedded server development files
libnet-google-safebrowsing2-perl - Perl extension for the Google Safe Browsing v2 API
libnet-handlersocket-perl - HandlerSocket perl client library.
libnss-mysql-bg - NSS module for using MySQL as a naming service
libopendbx1-mysql - MySQL backend for OpenDBX
libpam-mysql - PAM module allowing authentication from a MySQL server
libphp-adodb - ADOdb database abstraction layer for PHP
libpoco-doc - Documentation for POCO - The C++ Portable Components
libpocomysql9 - C++ Portable Components (POCO) MySQL library
libpocomysql9-dbg - C++ Portable Components (POCO) MySQL library (debug version)
libqt5sql5-mysql - Qt 5 MySQL database driver
librdf-storage-mysql - RDF library, MySQL backend
librdf-trine-perl - RDF Framework for Perl
libreoffice-mysql-connector - MariaDB/MySQL Connector extension for LibreOffice
libsemweb1.0-cil - Semantic Web/RDF library
libsphinx-ruby - Fast standalone full-text SQL search engine - Client library
libsphinxclient-0.0.1 - Fast standalone full-text SQL search engine - Client library
libsphinxclient-dev - Fast standalone full-text SQL search engine - Client library
libsql-reservedwords-perl - Perl extension that indicates if words are reserved by SQL
libsqlite3-mod-impexp - SQLite3 extension module for SQL script, XML, JSON and CSV import/export
libtango8 - TANGO distributed control system - shared library
libtango8-dbg - TANGO distributed control system - debug library
libtango8-dev - TANGO distributed control system - development library
libtango8-doc - TANGO distributed control system - documentation
libterralib - C++ library for Geographical Information Systems
libterralib-dev - C++ library for Geographical Information Systems -- development package
libterralib-doc - C++ library for Geographical Information Systems -- documentation package
libtext-tabulardisplay-perl - Perl module to display text as a formatted table
libtime-piece-mysql-perl - module adding MySQL-specific methods to Time::Piece
libtntdb-dev - Development headers for tntdb
libtntdb4 - C++ class library for easy database access
libur-perl - object/relation mapper library
libuser-simple-perl - module for simple user sessions management
libwtdbomysql-dev - MySQL/MariaDB backend for Wt::Dbo [development]
libwtdbomysql35 - MySQL/MariaDB backend for Wt::Dbo [runtime]
libzdb-dev - Zild Database Library
libzdb9 - Zild Database Library
lighttpd-mod-mysql-vhost - MySQL-based virtual host configuration for lighttpd
lua-dbi-mysql - DBI library for the Lua language, MySQL backend
lua-dbi-mysql-dbg - DBI library for the Lua language, MySQL backend debug symbols
lua-dbi-mysql-dev - DBI library for the Lua language, MySQL development files
lua-sql-mysql - luasql library for the Lua language
lua-sql-mysql-dev - luasql development files for the Lua language
mariadb-client-5.5 - MariaDB database client binaries
mariadb-client-core-5.5 - MariaDB database core client binaries
mariadb-server-5.5 - MariaDB database server binaries
mariadb-server-core-5.5 - MariaDB database core server files
mariadb-test-5.5 - MariaDB database regression test suite
mha4mysql-manager - Master High Availability Manager and Tools for MySQL, Manager Package
mha4mysql-node - Master High Availability Manager and Tools for MySQL, Node Package
monodevelop-database - Database plugin for MonoDevelop
monodoc-mysql-manual - compiled XML documentation for the MySql.Data library
monodoc-semweb-manual - compiled XML documentation for SemWeb
muddleftpd - A flexible and efficient FTP daemon
mydumper - High-performance MySQL backup tool
mylvmbackup - quickly creating backups of MySQL server's data files
mysql-client-5.6 - MySQL database client binaries
mysql-client-core-5.6 - MySQL database core client binaries
mysql-common-5.6 - MySQL 5.6 specific common files, e.g. /etc/mysql/conf.d/my-5.6.cnf
mysql-mmm-agent - Multi-Master Replication Manager for MySQL - agent daemon
mysql-mmm-common - Multi-Master Replication Manager for MySQL - common files
mysql-mmm-monitor - Multi-Master Replication Manager for MySQL - monitoring daemon
mysql-mmm-tools - Multi-Master Replication Manager for MySQL - tools
mysql-proxy - high availability, load balancing and query modification for mysql
mysql-server-5.6 - MySQL database server binaries and system database setup
mysql-server-core-5.6 - MySQL database server binaries
mysql-source-5.5 - MySQL source
mysql-source-5.6 - MySQL source
mysql-testsuite - MySQL testsuite
mysql-testsuite-5.5 - MySQL testsuite
mysql-testsuite-5.6 - MySQL 5.6 testsuite
mysql-utilities - collection of scripts for managing MySQL servers
mysql-workbench - MySQL Workbench - a visual database modeling, administration and queuing tool
mysql-workbench-data - MySQL Workbench -- architecture independent data
mysqltcl - interface to the MySQL database for the Tcl language
mysqltuner - high-performance MySQL tuning script
mysqmail - real-time logging system in MySQL
mysqmail-courier-logger - real-time logging system in MySQL - Courier traffic-logger
mysqmail-dovecot-logger - real-time logging system in MySQL - Dovecot traffic-logger
mysqmail-postfix-logger - real-time logging system in MySQL - Postfix traffic-logger
mysqmail-pure-ftpd-logger - real-time logging system in MySQL - Pure-FTPd traffic-logger
mythexport - Export MythTV recording to portable media players
mytop - top like query monitor for MySQL
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
nanoweb - HTTP server written in PHP
ndoutils-nagios3-mysql - This provides the NDOUtils for Nagios with MySQL support
node-mysql - MySQL client implementation for Node.js
note - small program managing notes from commandline
nova-ajax-console-proxy - OpenStack Compute - AJAX console proxy - transitional package
nova-api-ec2 - OpenStack Compute - EC2 API frontend
nova-baremetal - Openstack Compute - baremetal virt
nova-cells - Openstack Compute - cells
nova-compute-qemu - OpenStack Compute - compute node (QEmu)
nova-compute-vmware - OpenStack Compute - compute node (VMware)
nova-compute-xen - OpenStack Compute - compute node (Xen)
nova-conductor - OpenStack Compute - conductor service
nova-console - OpenStack Compute - Console
nova-consoleauth - OpenStack Compute - Console Authenticator
nova-novncproxy - OpenStack Compute - NoVNC proxy
nova-spiceproxy - OpenStack Compute - spice html5 proxy
nova-xvpvncproxy - OpenStack Compute - XVP VNC proxy
nuauth-extra - The authenticating firewall [extra modules]
nuauth-log-mysql - The authenticating firewall [MySQL log module]
oar-server-mysql - OAR batch scheduler MySQL server backend package
oar-user-mysql - OAR batch scheduler MySQL user backend package
opendnssec-dbg-mysql - Debug symbols for OpenDNSSEC (Enforcer with MySQL support)
opendnssec-enforcer - tool to prepare DNSSEC keys (common package)
opendnssec-enforcer-mysql - tool to prepare DNSSEC keys (mysql backend)
papercut - simple and extensible NNTP server
parser3-mysql - MySQL driver for Parser 3
pdns-backend-mysql - generic MySQL backend for PowerDNS
pennmush-mysql - text-based multi-user virtual world server with MySQL support
percona-toolkit - Command-line tools for MySQL and system tasks
percona-xtrabackup - Open source backup tool for InnoDB and XtraDB
percona-xtradb-cluster-client-5.5 - Percona Server database client binaries
percona-xtradb-cluster-common-5.5 - Percona Server database common files
percona-xtradb-cluster-server-5.5 - Percona Server database server binaries
percona-xtradb-cluster-testsuite-5.5 - Percona Server database test suite
perdition - POP3 and IMAP4 Proxy server
perdition-mysql - Library to allow perdition to access MySQL based popmaps
pgloader - loads flat data files into PostgreSQL
php-db - PHP PEAR Database Abstraction Layer
php-mdb2-driver-mysql - PHP PEAR module to provide a MySQL driver for MDB2
php5-adodb - Extension optimising the ADOdb database abstraction library
php5-mysqlnd - MySQL module for php5 (Native Driver)
php5-mysqlnd-ms - MySQL replication and load balancing module for PHP
php5-pinba - Pinba module for PHP 5
phpmyadmin - MySQL web administration tool
pike7.8-core - Powerful interpreted programming language
pike7.8-mysql - MySQL modules for Pike
pinba-engine-mysql-5.5 - realtime statistics server for PHP using MySQL as a read-only interface
pnopaste - Pastebin with syntax highlighting
pnopaste-cli - Pastebin with syntax highlighting (cli tool)
postfix-cluebringer-mysql - metapackage for mysql support in postfix-cluebringer
postfix-gld - greylisting daemon for postfix, written in C, uses MySQL
proftpd-mod-mysql - Versatile, virtual-hosting FTP daemon - MySQL module
puppet-module-puppetlabs-mysql - Puppet module for mysql
pure-ftpd-mysql - Secure and efficient FTP server with MySQL user authentication
pysieved - managesieve server
python-mysql.connector - pure Python implementation of MySQL Client/Server protocol
python-pysqlite2 - Python interface to SQLite 3
python-sphinxapi - Fast standalone full-text SQL search engine - Client library
python-storm - object-relational mapper (ORM) for Python
python-storm-dbg - object-relational mapper (ORM) for Python - debugging files
python3-mysql.connector - pure Python implementation of MySQL Client/Server protocol (Python3)
r-cran-dbi - GNU R package providing a generic database interface
r-cran-rmysql - GNU R package providing a DBI-compliant interface to MySQL
r-cran-rodbc - GNU R package for ODBC database access
ratbox-services-mysql - IRC services for use with ircd-ratbox with the mysql backend
rddmarc - DMARC report processing scripts collection
redmine - flexible project management web application
redmine-mysql - metapackage providing MySQL dependencies for Redmine
refdb-server - Reference database and bibliography tool - sql server
request-tracker4 - extensible trouble-ticket tracking system
rfc5766-turn-server - TURN and STUN server for VoIP
rhythmbox-ampache - play audio streams from an Ampache server
robojournal - cross-platform journal/diary tool
robojournal-doc - cross-platform journal/diary tool - documentation
root-plugin-sql-mysql - MySQL client plugin for ROOT
roundcube-mysql - metapackage providing MySQL dependencies for RoundCube
rsyslog-mysql - MySQL output plugin for rsyslog
rt4-db-mysql - MySQL database backend for request-tracker4
rt4-db-sqlite - SQLite database backend for request-tracker4
ruby-amazon-ec2 - Ruby library for accessing Amazon EC2
ruby-dataobjects - Unified interface to various databases for Ruby
ruby-dataobjects-mysql - MySQL adapter for ruby-dataobjects
ruby-dbd-mysql - Ruby/DBI MySQL driver
ruby-foreigner - Foreign Keys for Rails
ruby-mysql - MySQL module for Ruby
ruby-mysql2 - simple, fast MySQL library for Ruby
ruby-sequel - Simple, flexible, and powerful SQL database access toolkit for Ruby
ruby-yaml-db - library to export/import of database into/from yaml files
sagan - Real-time System & Event Log Monitoring System
sagan-rules - Real-time System & Event Log Monitoring System [rules]
sbnc-dbg - IRC proxy for multiple users (debugging symbols)
solr-common - Enterprise search server based on Lucene3 - common files
sphinxsearch - Fast standalone full-text SQL search engine
spl-core - SPL Programming Language
spl-mysql - SPL Programming Language -- MySQL adapter
sputnik - Extensible wiki
sqlgrey - Postfix Greylisting Policy Server
sqlline - JDBC command-line utility for issuing SQL
sympa - Modern mailing list manager
sysbench - Cross-platform and multi-threaded benchmark tool
syslog-ng-mod-sql - Enhanced system logging daemon (SQL plugin)
tango-db - TANGO distributed control system - database server
tarantool-mysql-plugin - Tarantool in-memory database - MySQL connector
tcl8.6-tdbc-mysql - Tcl Database Connectivity
tntdb-mysql4 - MySQL backend for tntdb database access library
tora - graphical toolkit for database developers and administrators
tora-dbg - graphical toolkit for database developers and administrators - debugging symbols
torrentflux - web based, feature-rich BitTorrent download manager
tsung - distributed multi-protocol load testing tool
ukolovnik - Simple todo manager using PHP and MySQL
ulogd-mysql - transitional dummy package for ulogd2-mysql
ulogd2 - Netfilter Userspace Logging Daemon
ulogd2-mysql - MySQL extension to ulogd
vbackup - modular backup utility
viewvc-query - utility to query CVS and Subversion commit database
voms-mysql-plugin - VOMS server plugin for MySQL
voms-mysql-plugin-dbg - VOMS server plugin for MySQL - Debug Symbols
webgui - Content management platform to maintain complex web sites
webgui-l10n-de - German localization for WebGUI CMS
webgui-l10n-es - Spanish localization for WebGUI CMS
webgui-l10n-nl - Dutch localization for WebGUI CMS
yasat - simple stupid audit tool
yate-mysql - MySQL support module for yate
zabbix-proxy-mysql - network monitoring solution - proxy (using MySQL)
zabbix-server-mysql - network monitoring solution - server (using MySQL)
owncloud - empty package

  

实际上要安装的是两个东西,server和client

mysql-server-5.6 - MySQL database server binaries and system database setup

mysql-client-5.6 - MySQL database client binaries

 

 

3.接着就安装着两个二进制包了

sudo apt-get mysql-server

不需要些5.5这些,dpkg自动帮你分析依赖关系

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  diffstat gettext hardening-includes intltool-debian libapt-pkg-perl
  libarchive-zip-perl libasprintf-dev libauthen-sasl-perl libautodie-perl
  libclass-accessor-perl libdigest-hmac-perl libdpkg-perl libemail-valid-perl
  libfile-fcntllock-perl libgettextpo-dev libio-pty-perl
  libio-socket-inet6-perl libio-socket-ssl-perl libio-string-perl
  libipc-run-perl libipc-system-simple-perl liblist-moreutils-perl
  libmailtools-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl
  libnet-libidn-perl libnet-smtp-ssl-perl libnet-ssleay-perl
  libparse-debianchangelog-perl libperlio-gzip-perl libsocket6-perl
  libsub-identify-perl libsub-name-perl libtext-levenshtein-perl
  libtimedate-perl liburi-perl patchutils t1utils
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
  libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
  mysql-server-5.5 mysql-server-core-5.5
Suggested packages:
  libmldbm-perl libnet-daemon-perl libplrpc-perl libsql-statement-perl
  libipc-sharedcache-perl tinyca mailx
The following NEW packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
  libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
  mysql-server mysql-server-5.5 mysql-server-core-5.5
0 upgraded, 12 newly installed, 0 to remove and 399 not upgraded.
Need to get 9,398 kB of archives.
After this operation, 93.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libaio1 i386 0.3.109-4 [6,578 B]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.44-0ubuntu0.14.04.1 [13.9 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 i386 5.5.44-0ubuntu0.14.04.1 [592 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main libdbi-perl i386 1.630-1 [881 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libdbd-mysql-perl i386 4.025-1 [99.6 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/main libterm-readkey-perl i386 2.31-1 [27.2 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-core-5.5 i386 5.5.44-0ubuntu0.14.04.1 [701 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-client-5.5 i386 5.5.44-0ubuntu0.14.04.1 [1,557 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-core-5.5 i386 5.5.44-0ubuntu0.14.04.1 [3,481 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server-5.5 i386 5.5.44-0ubuntu0.14.04.1 [1,962 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty/main libhtml-template-perl all 2.95-1 [65.5 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-server all 5.5.44-0ubuntu0.14.04.1 [12.2 kB]
Fetched 9,398 kB in 1min 49s (85.5 kB/s) 
Preconfiguring packages ...
Selecting previously unselected package libaio1:i386.
(Reading database ... 144858 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.109-4_i386.deb ...
Unpacking libaio1:i386 (0.3.109-4) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.44-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.44-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:i386.
Preparing to unpack .../libmysqlclient18_5.5.44-0ubuntu0.14.04.1_i386.deb ...
Unpacking libmysqlclient18:i386 (5.5.44-0ubuntu0.14.04.1) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.630-1_i386.deb ...
Unpacking libdbi-perl (1.630-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.025-1_i386.deb ...
Unpacking libdbd-mysql-perl (4.025-1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.31-1_i386.deb ...
Unpacking libterm-readkey-perl (2.31-1) ...
Selecting previously unselected package mysql-client-core-5.5.
Preparing to unpack .../mysql-client-core-5.5_5.5.44-0ubuntu0.14.04.1_i386.deb ...
Unpacking mysql-client-core-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-client-5.5.
Preparing to unpack .../mysql-client-5.5_5.5.44-0ubuntu0.14.04.1_i386.deb ...
Unpacking mysql-client-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.44-0ubuntu0.14.04.1_i386.deb ...
Unpacking mysql-server-core-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mysql-common (5.5.44-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 145221 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.5_5.5.44-0ubuntu0.14.04.1_i386.deb ...
Unpacking mysql-server-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
Unpacking libhtml-template-perl (2.95-1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.5.44-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-server (5.5.44-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libaio1:i386 (0.3.109-4) ...
Setting up libmysqlclient18:i386 (5.5.44-0ubuntu0.14.04.1) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libdbd-mysql-perl (4.025-1) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.5 (5.5.44-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.5 (5.5.44-0ubuntu0.14.04.1) ...
mysql start/running, process 7374
Setting up libhtml-template-perl (2.95-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up mysql-server (5.5.44-0ubuntu0.14.04.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...   

自动帮你处理依赖关系,不用担心安装的时候提示缺包什么的

以前在suse安装mysql是5.1版本,那是因为软件源并不是最新的

 

2.如何测试镜像地址的速度?

 

 

  

 

转载于:https://www.cnblogs.com/hellotracy/articles/4881287.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值