1. 程式人生 > >在CentOS 7.5系統上安裝RabbitMQ

在CentOS 7.5系統上安裝RabbitMQ

http://www.rabbitmq.com/download.html
http://www.rabbitmq.com/install-rpm.html

[[email protected] ~]# wget http://packages.erlang-solutions.com/erlang-solutions-1.0-1.noarch.rpm
[[email protected] ~]# rpm -Uvh erlang-solutions-1.0-1.noarch.rpm
[[email protected] ~]# yum update
[[email protected]

~]# yum install -y erlang

[[email protected] ~]# cat > hello.erl
-module(hello).
-export([hello_world/0]).
hello_world() -> io:fwrite("hello, world\n").
[[email protected] ~]# erl
Erlang/OTP 21 [erts-10.0.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Eshell V10.0.3  (abort with ^G)
1> c(hello).
{ok,hello}
2> hello:hello_world().
hello, world
ok
3> 

[[email protected] ~]# wget https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.7/rabbitmq-server-3.7.7-1.el7.noarch.rpm
[[email protected] ~]# yum install -y rabbitmq-server-3.7.7-1.el7.noarch.rpm
[[email protected] ~]# systemctl enable rabbitmq-server
[[email protected] ~]# systemctl restart rabbitmq-server

首先看看hostname輸出,注意是contoso.com而不是contoso,所以服務才無法啟動
[[email protected] ~]# hostname
contoso.com

通過以下命令可以進一步證明rabbitmq-server啟動過程需要連線主機名contoso,但是contoso的主機名在此係統上沒有設定
[[email protected] ~]# rabbitmqctl status
Status of node [email protected] ...
Error: unable to perform an operation on node '[email protected]'. Please see diagnostics information and suggestions below.

Most common reasons for this are:

 * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
 * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
 * Target node is not running

In addition to the diagnostics info below:

 * See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node [email protected]

DIAGNOSTICS
===========

attempted to contact: [[email protected]]

[email protected]:
  * unable to connect to epmd (port 4369) on contoso: address (cannot connect to host/port)


Current node details:
 * node name: [email protected]
 * effective user's home directory: /var/lib/rabbitmq
 * Erlang cookie hash: p5tKqEzeEvxH0+WQ75PYkA==

我們可以通過設定以下格式的/etc/hosts檔案對映格式,自己新增2條本來就不存在的對映關係
contoso 127.0.0.1
contoso 192.168.10.13
其中192.168.10.13是本機真實的IP地址,這樣就能解決rabbitmq-server無法啟動的問題啦

[[email protected] ~]# cat /etc/hosts
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 contoso contoso.com
192.168.10.13 contoso contoso.com
[[email protected] ~]# systemctl restart rabbitmq-server
[[email protected] ~]# systemctl status rabbitmq-server
● rabbitmq-server.service - RabbitMQ broker
   Loaded: loaded (/usr/lib/systemd/system/rabbitmq-server.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2018-07-21 15:54:21 CST; 31s ago
  Process: 39174 ExecStop=/usr/sbin/rabbitmqctl shutdown (code=exited, status=69)
 Main PID: 39286 (beam.smp)
   Status: "Initialized"
    Tasks: 90
   CGroup: /system.slice/rabbitmq-server.service
           ├─39286 /usr/lib64/erlang/erts-10.0.3/bin/beam.smp -W w -A 64 -MBas ageffcbf -MHas ageffcbf -MBlmb...
           ├─39596 erl_child_setup 1024
           ├─39617 inet_gethost 4
           └─39618 inet_gethost 4

Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: ##  ##
Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: ##  ##      RabbitMQ 3.7.7. Copyright (C) 2007-2018 Pi...nc.
Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: ##########  Licensed under the MPL.  See http://www.ra...om/
Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: ######  ##
Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: ##########  Logs: /var/log/rabbitmq/[email protected]
Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: /var/log/rabbitmq/[email protected]_upgrade.log
Jul 21 15:54:20 contoso.com rabbitmq-server[39286]: Starting broker...
Jul 21 15:54:21 contoso.com rabbitmq-server[39286]: systemd unit for activation check: "rabbitmq-server.service"
Jul 21 15:54:21 contoso.com systemd[1]: Started RabbitMQ broker.
Jul 21 15:54:21 contoso.com rabbitmq-server[39286]: completed with 0 plugins.
Hint: Some lines were ellipsized, use -l to show in full.
[[email protected] ~]#


[[email protected] ~]# systemctl status rabbitmq-server

[[email protected] ~]# rabbitmqctl status
Status of node [email protected] ...
[{pid,39286},
 {running_applications,
     [{rabbit,"RabbitMQ","3.7.7"},
      {mnesia,"MNESIA  CXC 138 12","4.15.4"},
      {rabbit_common,
          "Modules shared by rabbitmq-server and rabbitmq-erlang-client",
          "3.7.7"},
      {ranch_proxy_protocol,"Ranch Proxy Protocol Transport","1.5.0"},
      {ranch,"Socket acceptor pool for TCP protocols.","1.5.0"},
      {ssl,"Erlang/OTP SSL application","9.0"},
      {public_key,"Public key infrastructure","1.6.1"},
      {crypto,"CRYPTO","4.3"},
      {asn1,"The Erlang ASN1 compiler version 5.0.6","5.0.6"},
      {os_mon,"CPO  CXC 138 46","2.4.5"},
      {jsx,"a streaming, evented json parsing toolkit","2.8.2"},
      {recon,"Diagnostic tools for production use","2.3.2"},
      {inets,"INETS  CXC 138 49","7.0"},
      {xmerl,"XML parser","1.3.17"},
      {lager,"Erlang logging framework","3.6.3"},
      {goldrush,"Erlang event stream processor","0.1.9"},
      {compiler,"ERTS  CXC 138 10","7.2.2"},
      {syntax_tools,"Syntax tools","2.1.5"},
      {syslog,"An RFC 3164 and RFC 5424 compliant logging framework.","3.4.2"},
      {sasl,"SASL  CXC 138 11","3.2"},
      {stdlib,"ERTS  CXC 138 10","3.5.1"},
      {kernel,"ERTS  CXC 138 10","6.0"}]},
 {os,{unix,linux}},
 {erlang_version,
     "Erlang/OTP 21 [erts-10.0.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:64] [hipe]\n"},
 {memory,
     [{connection_readers,0},
      {connection_writers,0},
      {connection_channels,0},
      {connection_other,0},
      {queue_procs,0},
      {queue_slave_procs,0},
      {plugins,5892},
      {other_proc,21085464},
      {metrics,184596},
      {mgmt_db,0},
      {mnesia,73008},
      {other_ets,2421712},
      {binary,80872},
      {msg_index,28720},
      {code,20418905},
      {atom,1082561},
      {other_system,11138350},
      {allocated_unused,5808752},
      {reserved_unallocated,6766592},
      {strategy,rss},
      {total,[{erlang,56520080},{rss,69095424},{allocated,62328832}]}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
 {vm_memory_calculation_strategy,rss},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,1582514176},
 {disk_free_limit,50000000},
 {disk_free,36644401152},
 {file_descriptors,
     [{total_limit,924},{total_used,2},{sockets_limit,829},{sockets_used,0}]},
 {processes,[{limit,1048576},{used,214}]},
 {run_queue,1},
 {uptime,1474},
 {kernel,{net_ticktime,60}}]
[[email protected] ~]# 


[[email protected] ~]# rabbitmq-plugins enable rabbitmq_management

[[email protected] ~]# rabbitmq-plugins enable rabbitmq_management
The following plugins have been configured:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch
Applying plugin configuration to [email protected]
The following plugins have been enabled:
  rabbitmq_management
  rabbitmq_management_agent
  rabbitmq_web_dispatch

started 3 plugins.
[[email protected] ~]#

http://127.0.0.1:15672

一個是環境變數的配置檔案 rabbitmq-env.conf
一個是配置資訊的配置檔案 rabbitmq.config
注意,這兩個檔案預設是沒有的,如果需要必須自己建立。

rabbitmq-env.conf

這個檔案的位置是確定和不能改變的,位於:/etc/rabbitmq目錄下(這個目錄需要自己建立)。
檔案的內容包括了RabbitMQ的一些環境變數,常用的有:
#RABBITMQ_NODE_PORT=                                      //埠號
#HOSTNAME=
RABBITMQ_NODENAME=mq
RABBITMQ_CONFIG_FILE=                                       //配置檔案的路徑
RABBITMQ_MNESIA_BASE=/rabbitmq/data           //需要使用的MNESIA資料庫的路徑
RABBITMQ_LOG_BASE=/rabbitmq/log                    //log的路徑
RABBITMQ_PLUGINS_DIR=/rabbitmq/plugins     //外掛的路徑

rabbitmq 新增遠端訪問功能

[[email protected] ~]# cat > /etc/rabbitmq/rabbitmq.config
[{rabbit, [{loopback_users, []}]}].
[[email protected] ~]# systemctl restart rabbitmq-server
[[email protected] ~]# systemctl status rabbitmq-server

我們現在可以使用一組使用者名稱/密碼 guest/guest 登入啦

http://127.0.0.1:15672/api/


RabbitMQ Management HTTP API
Introduction

Apart from this help page, all URIs will serve only resources of type application/json, and will require HTTP basic authentication (using the standard RabbitMQ user database). The default user is guest/guest.

Many URIs require the name of a virtual host as part of the path, since names only uniquely identify objects within a virtual host. As the default virtual host is called "/", this will need to be encoded as "%2f".

PUTing a resource creates it. The JSON object you upload must have certain mandatory keys (documented below) and may have optional keys. Other keys are ignored. Missing mandatory keys constitute an error.

Since bindings do not have names or IDs in AMQP we synthesise one based on all its properties. Since predicting this name is hard in the general case, you can also create bindings by POSTing to a factory URI. See the example below.

Many URIs return lists. Such URIs can have the query string parameters sort and sort_reverse added. sort allows you to select a primary field to sort by, and sort_reverse will reverse the sort order if set to true. The sort parameter can contain subfields separated by dots. This allows you to sort by a nested component of the listed items; it does not allow you to sort by more than one field. See the example below.

You can also restrict what information is returned per item with the columns parameter. This is a comma-separated list of subfields separated by dots. See the example below.

Most of the GET queries return many fields per object. See the separate stats documentation.
Examples

A few quick examples for Windows and Unix, using the command line tool curl:

    Get a list of vhosts:

    :: Windows
    C:\> curl -i -u guest:guest http://localhost:15672/api/vhosts
    # Unix
    $ curl -i -u guest:guest http://localhost:15672/api/vhosts
    HTTP/1.1 200 OK
    Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
    Date: Mon, 16 Sep 2013 12:00:02 GMT
    Content-Type: application/json
    Content-Length: 30

    [{"name":"/","tracing":false}]

    Get a list of channels, fast publishers first, restricting the info items we get back:

    :: Windows
    C:\> curl -i -u guest:guest "http://localhost:15672/api/channels?sort=message_stats.publish_details.rate&sort_reverse=true&columns=name,message_stats.publish_details.rate,message_stats.deliver_get_details.rate"

    # Unix
    $ curl -i -u guest:guest 'http://localhost:15672/api/channels?sort=message_stats.publish_details.rate&sort_reverse=true&columns=name,message_stats.publish_details.rate,message_stats.deliver_get_details.rate'

    HTTP/1.1 200 OK
    Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
    Date: Mon, 16 Sep 2013 12:01:17 GMT
    Content-Type: application/json
    Content-Length: 219
    Cache-Control: no-cache

    [{"message_stats":{"publish_details":{"rate" ... (remainder elided)

    Create a new vhost:

    :: Windows
    C:\> curl -i -u guest:guest -H "content-type:application/json" ^
          -XPUT http://localhost:15672/api/vhosts/foo


    # Unix
    $ curl -i -u guest:guest -H "content-type:application/json" \
       -XPUT http://localhost:15672/api/vhosts/foo


    HTTP/1.1 204 No Content
    Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
    Date: Mon, 16 Sep 2013 12:03:00 GMT
    Content-Type: application/json
    Content-Length: 0

    Note: you must specify application/json as the mime type.

    Note: the name of the object is not needed in the JSON object uploaded, since it is in the URI. As a virtual host has no properties apart from its name, this means you do not need to specify a body at all!
    Create a new exchange in the default virtual host:

    :: Windows
    C:\> curl -i -u guest:guest -H "content-type:application/json" ^
           -XPUT -d"{""type"":""direct"",""durable"":true}" ^
           http://localhost:15672/api/exchanges/%2f/my-new-exchange


    # Unix
    $ curl -i -u guest:guest -H "content-type:application/json" \
        -XPUT -d'{"type":"direct","durable":true}' \
        http://localhost:15672/api/exchanges/%2f/my-new-exchange


    HTTP/1.1 204 No Content
    Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
    Date: Mon, 16 Sep 2013 12:04:00 GMT
    Content-Type: application/json
    Content-Length: 0

    Note: we never return a body in response to a PUT or DELETE, unless it fails.
    And delete it again:

    :: Windows
    C:\> curl -i -u guest:guest -H "content-type:application/json" ^
           -XDELETE http://localhost:15672/api/exchanges/%2f/my-new-exchange


    # Unix
    $ curl -i -u guest:guest -H "content-type:application/json" \
        -XDELETE http://localhost:15672/api/exchanges/%2f/my-new-exchange


    HTTP/1.1 204 No Content
    Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)
    Date: Mon, 16 Sep 2013 12:05:30 GMT
    Content-Type: application/json
    Content-Length: 0

[[email protected] ~]# python -V
Python 2.7.5

1. 安裝 gcc
首先確保你已經安裝了gcc包在你的系統上,如果你還沒有安裝gcc,可以使用下面的命令來安裝:
[[email protected] ~]# yum install -y gcc openssl-devel bzip2-devel

2. 下載 python 2.7.15
[[email protected] ~]# cd /usr/src
[[email protected] src]# wget https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tgz
[[email protected] src]# ls
debug  kernels  Python-2.7.15.tgz
[[email protected] src]# tar xzf Python-2.7.15.tgz

3. 安裝 python 2.7.15
[[email protected] src]# cd Python-2.7.15
[[email protected] Python-2.7.15]# ./configure --enable-optimizations
make altinstall命令用來防止把預設的2.7.5版本可執行程式/usr/bin/python覆蓋掉,意思是保留預設版本的python

4. 檢視python版本,python-2.7.15和python-2.7.5兩個版本都是全域性命令
[[email protected] ~]# /usr/bin/python -V
Python 2.7.5
[[email protected] ~]# python -V
Python 2.7.5
[[email protected] ~]# /usr/local/bin/python2.7 -V
Python 2.7.15
[[email protected] ~]# python2.7 -V
Python 2.7.15

警告:不要重寫或連結預設版Python二進位制可執行程式/usr/bin/python,這可能會損壞系統,因為預設版已經與CentOS系統深度整合啦。

5. 安裝python-2.7.15版模組管理工具
PIP是安裝和管理python模組的有用工具。讓我們安裝python版的PIP工具。

[[email protected] Python-2.7.15]# curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
[[email protected] Python-2.7.15]# python2.7 get-pip.py

[[email protected] ~]# mv rabbitmqadmin /usr/local/bin/

[[email protected] ~]# chmod 755 /usr/local/bin/rabbitmqadmin

[[email protected] ~]# rabbitmqadmin --help
Usage
=====
  rabbitmqadmin [options] subcommand

Options
=======
--help, -h              show this help message and exit
--config=CONFIG, -c CONFIG
                        configuration file [default: ~/.rabbitmqadmin.conf]
--node=NODE, -N NODE    node described in the configuration file [default:
                        'default' only if configuration file is specified]
--host=HOST, -H HOST    connect to host HOST [default: localhost]
--port=PORT, -P PORT    connect to port PORT [default: 15672]
--path-prefix=PATH_PREFIX
                        use specific URI path prefix for the RabbitMQ HTTP
                        API. /api and operation path will be appended to it.
                        (default: blank string) [default: ]
--vhost=VHOST, -V VHOST
                        connect to vhost VHOST [default: all vhosts for list,
                        '/' for declare]
--username=USERNAME, -u USERNAME
                        connect using username USERNAME [default: guest]
--password=PASSWORD, -p PASSWORD
                        connect using password PASSWORD [default: guest]
--base-uri=URI, -U URI  connect using a base HTTP API URI. /api and operation
                        path will be appended to it. Path will be ignored.
                        --vhost has to be provided separately.
--quiet, -q             suppress status messages [default: True]
--ssl, -s               connect with ssl [default: False]
--ssl-key-file=SSL_KEY_FILE
                        PEM format key file for SSL
--ssl-cert-file=SSL_CERT_FILE
                        PEM format certificate file for SSL
--ssl-ca-cert-file=SSL_CA_CERT_FILE
                        PEM format CA certificate file for SSL
--ssl-disable-hostname-verification
                        Disables peer hostname verification
--ssl-insecure, -k      Disables all SSL validations like curl's '-k' argument
--format=FORMAT, -f FORMAT
                        format for listing commands - one of [raw_json, long,
                        pretty_json, kvp, tsv, table, bash] [default: table]
--sort=SORT, -S SORT    sort key for listing queries
--sort-reverse, -R      reverse the sort order
--depth=DEPTH, -d DEPTH
                        maximum depth to recurse for listing tables [default:
                        1]
--bash-completion       Print bash completion script [default: False]
--version               Display version and exit

More Help
=========

For more help use the help subcommand:

  rabbitmqadmin help subcommands  # For a list of available subcommands
  rabbitmqadmin help config       # For help with the configuration file
[[email protected] ~]#

相關推薦

CentOS 7.5系統安裝RabbitMQ

http://www.rabbitmq.com/download.html http://www.rabbitmq.com/install-rpm.html [[email protected] ~]# wget http://packages.erlang-so

CentOS 6.5系統安裝SVN伺服器

有效地管理原始碼的方式是使用工具去幫助我們管理 , SVN(Subversion)就是目前主流的原始碼管理工具 , 也稱為版本控制工具。本文主要介紹CentOS6.5上安裝SVN伺服器,配置SVN伺服器的資料倉庫,SVN服務的啟動檢視和停止,SVN服務的開機自啟

CentOS 7.5系統安裝

路徑 swa 正常 基本配置 密碼 主機 jpg swap 使用 提前做好系統分區,其中swap的話,若你的內存只有1G或者2G的話Swap是內存的1.5、2倍即可。 用到的工具和軟件: VMware workstation 12 Pro CentOS 7.

centos 7.5最小安裝系統編譯安裝Nginx+PHP 基礎環境全過程

寫在前邊 安裝環境 centos最小安裝,只安裝除錯工具 需要的軟體包在下邊地址 01.安裝依賴庫 檢查系統更新 yum check-update 安裝依賴庫 yum -y install gcc gcc-c++ autoconf libjpeg libjpe

centos 6.5系統安裝ibus及設置開機自啟動

系統環境 tails src home 博客 技術分享 bus 快捷鍵 執行 先說一下系統環境:centos 6.5,然後我是以root身份執行的,沒有權限的用戶參見sudo用法 第1步:查找並安裝ibus安裝包,命令如下: 找到一行: ibus-pinyin.x86_6

CentOS 7不使用RPM安裝RabbitMQ 3.7.8單機版

RabbitMQ是目前非常熱門的訊息中介軟體,憑藉其高可靠、高擴充套件、高可用及豐富的功能特性:TTL、死信佇列、延遲佇列、優先順序佇列、訊息持久化、映象佇列。 訊息中介軟體是指利用高效可靠的訊息傳遞機制進行與平臺無關的資料交流,並基於資料通訊來進行分散式系統的整合,能在不同平臺之間進行通訊,常被用來遮蔽各

CentOS 7.5 使用 yum 安裝 Kubernetes 叢集(二)

一、安裝方式介紹 1、yum 安裝 目前CentOS官方已經把Kubernetes源放入到自己的預設 extras 倉庫裡面,使用 yum 安裝,好處是簡單,壞處也很明顯,需要官方更新 yum 源才能獲得最新版本的軟體,而所有軟體的依賴又不能自己指定,尤其是你的作業系統版本如果低的話,使用 yum 源安裝

裝X時刻!win10/CentOS 7系統成功安裝小白教程

前言 相信愛折騰的朋友一定沒少裝過作業系統,對於windows系統我們是再熟悉不過了,其安裝過程發展到現在越來越傻瓜化,甚至可以一鍵安裝,所以普通使用者大多能掌握安裝過程。隨著linux的發展,這個作業系統也越來越離不開我們的生活,對於有意從事it行業的人

gitlab管理之一---gitlab在Centos 7.5面的安裝

ins add enable fast from semanage trie ras entos 1. 環境及條件: 系統:CentOS Linux release 7.5.1804 (Core) IP地址: 192.168.2.201 內存:建議至少2G

如何在CentOS 7.5安裝VirtualBox

前提條件 在繼續本教程之前,請確保以具有sudo許可權的使用者身份登入。 從Oracle儲存庫安裝VirtualBox 按照以下步驟在CentOS 7計算機上安裝VirtualBox: 首先下載編譯vboxdrv核心模組所需的構建工具: sudo yum install kernel-devel k

CentOS 7.5 rpm 方式安裝mysql 5.7.23

一、準備工作 # rpm -qa|grep mariadb mariadb-libs-5.5.56-2.el7.x86_64 # rpm -e --nodeps mariadb-libs-5.5.56-2.el7.x86_64 二、安裝 #tar xvf mysql-5.7

騰訊雲CentOS 7.5 安裝Nginx

以下安裝步驟需要root許可權。 1. 新增CentOS 7 EPEL 倉庫 sudo yum install epel-release 2. 安裝Nginx sudo yum install nginx 3. 啟動Nginx sudo systemctl start ngi

centos 6.5下編譯安裝php-7.1.6和 php memcached擴展

php 編譯安裝 memcached 0,安裝 php-7.1.6 依賴包# yum groupinstall "Development tools" "Desktop Platform Development" # yum -y install openssl-devel libcurl-dev

CentOS 7 源碼編譯安裝MySQL 5.7.20

centos 7 源碼 mysql5.7一、添加用戶和組1. 進入root:su2. 添加組:groupadd mysql3. 添加用戶:useradd -r -g mysql -s /bin/false mysql二、安裝1. 首先到MySQL官網下載最新版的MySQL 5.7.14,進入http://d

CentOS 6.5通過yum安裝mysql 5.55.6、5.7版本

yum安裝mysql mysql5.5 mysql5.6 mysql5.7 1、安裝mysql的yum源,這個源包括5.5、5.6、5.7版本:備註:如果要專門下載某個版本,可以到http://dev.mysql.com/downloads/repo/yum下載。[root@agile ~]#

CentOS 6.5系統安裝配置圖解教程(詳細圖文)

大於 禁止ip 軟件安裝 sos cloc 必須 for href 語言 轉載文件原地址:https://www.kafan.cn/edu/488101.html 說明: 截止目前CentOS 6.x最新版本為CentOS 6.5,下面介紹CentOS 6.5的具

Linux王子教你安裝CentOS 7.4系統

安裝Cent OS 7.4系統第1章 安裝CentOS 7.41.1安裝方法選擇和相應的準備工作:1)下載Cent OS 7.4光盤鏡像文件到官方鏡像站點下載:http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1708

CentOS 7 源碼編譯安裝PostgreSQL 9.5

con postgresq 下載 arch pre b- yum 通用 運行 下載 在postgresql的官方即可找到源碼文件目錄,地址如下:https://www.postgresql.org/ftp/source/,在下載列表中根據需求選擇版本,進入子目錄後,可以看

linux Centos 7.5 安裝桌面環境GNOME

cfb alt kde works des nag yum ima 感覺 一、查看運行級別,輸入命令:runlevel 二、查看centos7.5系統中沒有是否安裝過桌面環境工具,輸入命令:yum grouplist | more註:此命令還顯示了系統安裝過程中沒有被安裝的

如何在RedHat 7.0系統安裝mysql 5.7.22

分享圖片 comm libs ant 進不去 cal 之前 str 一行 如何在RedHat 7.0系統中安裝mysql 5.7.22 今天給大家介紹一下如何安裝mysql5.7,在安裝之前,首先要查看的是,你的系統中有沒有已經安裝過的情況。鍵入rpm -qa|grep