1. 程式人生 > >Linux下nexus 安裝、使用

Linux下nexus 安裝、使用

搭建nexus服務的意義

  1. 作為內網的統一代理,團隊合作開發時不用每人都去外網下載一次;
  2. 解決部分變態公司內網管制無法訪問外網的問題,選一臺有外網許可權的機器搭建伺服器,其餘人直接內網訪問此服務;
  3. 團隊合作開發時解決maven專案依賴問題;

大家nexus之後使用情形如下圖

1、安裝nexus

在安裝之前 兄弟們要搞清楚是環境的jdk版本,兄弟我2018/8/20直接下了最新的版本,結果悲劇,配置到一半,報錯,如下:

#高版本要求jdk8以上
[[email protected]227 nexus]# ./bin/nexus console
No suitable Java Virtual Machine could be found on
your system. The version of the JVM must be at least 1.8 and at most 1.8. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.

退而求其次nexus-2.11.4-01-bundle.tar.gz

  • 雲下載
[root@227 ~]# wget http://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.11.4-01-bundle.tar.gz
--2018-08-20 15:55
:29-- http://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.11.4-01-bundle.tar.gz Resolving sonatype-download.global.ssl.fastly.net... 151.101.73.194 Connecting to sonatype-download.global.ssl.fastly.net|151.101.73.194|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 70938260 (68
M) [application/x-gzip] Saving to: “nexus-2.11.4-01-bundle.tar.gz100%[============================================================================>] 70,938,260 121K/s in 9m 14s Last-modified header invalid -- time-stamp ignored. 2018-08-20 16:04:44 (125 KB/s) - “nexus-2.11.4-01-bundle.tar.gz” saved [70938260/70938260]
  • 解壓到/usr/local
[root@227 ~]# ll
total 69396
-rw-------. 1 root root     2362 Feb 28 18:39 anaconda-ks.cfg
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Desktop
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Documents
drwxr-xr-x. 2 root root     4096 Aug 20 15:41 Downloads
-rw-r--r--. 1 root root    68509 Feb 28 18:39 install.log
-rw-r--r--. 1 root root    11969 Feb 28 18:37 install.log.syslog
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Music
-rw-r--r--. 1 root root 70938260 Aug 20 16:04 nexus-2.11.4-01-bundle.tar.gz
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Pictures
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Public
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Templates
drwxr-xr-x. 2 root root     4096 Feb 28 10:46 Videos
[root@227 ~]# tar -zxvf nexus-2.11.4-01-bundle.tar.gz -C /usr/local/

注意:

  一定要解壓到這個目錄下,具體原因我也不知道,文件裡是這麼做的,我們也沒必要自己找麻煩。

  • 建立軟連結

  • 檢視/usr/local目錄,結果如下:

[root@227 ~]# cd /usr/local/
[root@227 local]# ln -s nexus-2.11.4-01 nexus
[root@227 local]# ll
total 92
drwxr-xr-x.  2 root root  4096 Sep 23  2011 bin
drwxr-xr-x.  2 root root  4096 Sep 23  2011 etc
drwxr-xr-x.  2 root root  4096 Sep 23  2011 games
drwxr-xr-x.  2 root root  4096 Sep 23  2011 include
drwxr-xr-x.  2 root root  4096 Apr 11 15:43 key
drwxr-xr-x.  2 root root  4096 Sep 23  2011 lib
drwxr-xr-x.  2 root root  4096 Sep 23  2011 lib64
drwxr-xr-x.  2 root root  4096 Sep 23  2011 libexec
drwxr-xr-x.  2 root root 32768 Aug 20 00:10 logs
lrwxrwxrwx.  1 root root    15 Aug 20 16:09 nexus -> nexus-2.11.4-01
drwxr-xr-x.  8 root root  4096 Jul 10  2015 nexus-2.11.4-01
drwxr-xr-x. 11 root root  4096 May 21 17:15 nginx
drwxr-xr-x.  2 root root  4096 Apr  4 16:30 RSA-KeyPair
drwxr-xr-x.  2 root root  4096 Sep 23  2011 sbin
drwxr-xr-x.  5 root root  4096 Feb 28 18:29 share
drwxr-xr-x.  4 root root  4096 Jul 10  2015 sonatype-work
drwxr-xr-x.  2 root root  4096 Sep 23  2011 src
  • 設定環境變數(按官網文件的說法是可選,不過還是配上吧)
[[email protected]227 local]# vim /etc/profile

unset i
unset -f pathmunge
JAVA_HOME=/usr/jdk1.7.0_79
JRE_HOME=$JAVA_HOME/jre
CLASSPATH=.:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME JRE_HOME CLASSPATH PATH
export NEXUS_HOME=/usr/local/nexus-2.11.4-01

[[email protected]227 local]# 
[root@227 local]# source /etc/profile
[root@227 local]# echo $NEXUS_HOME
/usr/local/nexus-2.11.4-01

2、啟動nexus

2.1啟動伺服器

  前臺啟動:好了,我們來前臺啟動一下。咦,沒起來,提示:

[[email protected] local]# cd /usr/local/nexus
[[email protected] nexus]# ./bin/nexus console
****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script.
[[email protected] nexus]# vim /etc/profile
#結尾加上 export RUN_AS_USER=root
[[email protected] nexus]# source /etc/profile
[root@227 nexus]# ./bin/nexus console
#執行結果如下
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    | 
jvm 1    | 2018-08-20 16:15:57,678+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jsw.JswLauncher - Starting with arguments: [./conf/jetty.xml, ./conf/jetty-requestlog.xml]
jvm 1    | 2018-08-20 16:15:57,682+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jsw.JswLauncher - JVM ID: 1, JVM PID: 16148, Wrapper PID: 16146, User: root
jvm 1    | 2018-08-20 16:15:57,699+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder - Properties:
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-conf='/usr/local/nexus-2.11.4-01/../sonatype-work/nexus/conf'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-host='0.0.0.0'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   application-port='8081'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   bundleBasedir='/usr/local/nexus-2.11.4-01'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   java.awt.headless='true'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   networkaddress.cache.ttl='3600'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-app='/usr/local/nexus-2.11.4-01/nexus/WEB-INF'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-webapp='/usr/local/nexus-2.11.4-01/nexus'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-webapp-context-path='/nexus'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   nexus-work='/usr/local/sonatype-work/nexus'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   org.eclipse.ecf.provider.filetransfer.retrieve.readTimeout='30000'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   runtime='/usr/local/nexus-2.11.4-01/nexus/WEB-INF'
jvm 1    | 2018-08-20 16:15:57,700+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.ConfigurationBuilder -   security-xml-file='/usr/local/nexus-2.11.4-01/../sonatype-work/nexus/conf/security.xml'
jvm 1    | 2018-08-20 16:15:57,701+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - Java: 1.7.0_79, Java HotSpot(TM) 64-Bit Server VM, Oracle Corporation, 24.79-b02
jvm 1    | 2018-08-20 16:15:57,701+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - OS: Linux, 2.6.32-431.el6.x86_64, amd64
jvm 1    | 2018-08-20 16:15:57,701+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - User: root, en, /root
jvm 1    | 2018-08-20 16:15:57,701+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - CWD: /usr/local/nexus-2.11.4-01
jvm 1    | 2018-08-20 16:15:57,711+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.Launcher - TMP: /usr/local/nexus-2.11.4-01/tmp
jvm 1    | 2018-08-20 16:15:57,713+0800 INFO  [WrapperListener_start_runner] *SYSTEM org.sonatype.nexus.bootstrap.jetty.JettyServer - Starting

2.2以後臺程序啟動:

[root@227 ~]# cd /usr/local/nexus
######################後臺啟動命令################################

[root@227 nexus]# ./bin/nexus start
****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
Starting Nexus OSS...
Started Nexus OSS.

[root@227 nexus]# ./bin/nexus stop
****************************************
WARNING - NOT RECOMMENDED TO RUN AS ROOT
****************************************
Stopping Nexus OSS...
Stopped Nexus OSS.

######################檢視日誌################################
[root@227 nexus]# tail -f logs/wrapper.log
jvm 1    | 2018-08-21 09:10:12,782+0800 INFO  [RepositoryStatusChecker-central] *SYSTEM org.sonatype.nexus.proxy.maven.maven2.M2Repository-central - Next attempt to auto-unblock the "Central" (id=central) repository by checking its remote peer health will occur in 40 seconds.
jvm 1    | 2018-08-21 09:10:18,206+0800 INFO  [qtp1235955620-81] *SYSTEM org.apache.shiro.nexus5727.FixedDefaultWebSessionManager - Global session timeout: 1800000 ms
jvm 1    | 2018-08-21 09:10:18,207+0800 INFO  [qtp1235955620-81] *SYSTEM org.apache.shiro.session.mgt.AbstractValidatingSessionManager - Enabling session validation scheduler...
jvm 1    | 2018-08-21 09:10:18,208+0800 INFO  [qtp1235955620-81] *SYSTEM org.apache.shiro.cache.ehcache.EhCacheManager - Using existing EHCache named [shiro-activeSessionCache]
jvm 1    | 2018-08-21 09:10:18,264+0800 INFO  [qtp1235955620-81] admin org.sonatype.nexus.velocity.VelocityEngineProvider - Creating Nexus VelocityEngine
jvm 1    | 2018-08-21 09:10:18,869+0800 INFO  [qtp1235955620-81] admin /nexus - nexus: [Noelios Restlet Engine] - Attaching application: org.sonatype.nexus.rest.NexusApplication@228da80f to URI: /nexus/service/local
jvm 1    | 2018-08-21 09:10:18,894+0800 INFO  [qtp1235955620-87] admin org.sonatype.security.model.source.FileModelConfigurationSource - Loading security configuration from: /usr/local/nexus-2.11.4-01/../sonatype-work/nexus/conf/security.xml
jvm 1    | 2018-08-21 09:10:19,243+0800 INFO  [proxy-3-thread-1] admin org.sonatype.nexus.proxy.storage.remote.httpclient.HttpClientRemoteStorage - Initializing remote transport for proxy repository "Apache Snapshots" [id=apache-snapshots]...
jvm 1    | 2018-08-21 09:10:52,665+0800 INFO  [RepositoryStatusChecker-codehaus-snapshots] *SYSTEM org.sonatype.nexus.proxy.maven.maven2.M2Repository-codehaus-snapshots - Next attempt to auto-unblock the "Codehaus Snapshots" (id=codehaus-snapshots) repository by checking its remote peer health will occur in 1 minute 20 seconds.
jvm 1    | 2018-08-21 09:10:52,783+0800 INFO  [RepositoryStatusChecker-central] *SYSTEM org.sonatype.nexus.proxy.maven.maven2.M2Repository-central - Next attempt to auto-unblock the "Central" (id=central) repository by checking its remote peer health will occur in 1 minute 20 seconds.

2.3web訪問

好了,我們在瀏覽器上看看能不能訪問吧,路徑:

結果如圖所示:

img

點選右上角登入:

預設使用者名稱為admin,密碼admin123

3.搭建私服

3.1 介面元素介紹

img

登入後,點選左側Repositories,介面如上圖所示。

右側的列表中,可以看到nexus預設的幾個倉庫。

第一個public Repositories,型別為group,這個簡單理解為倉庫的集合,下面的倉庫就是可以加入到這個集合的元素。

大部分的終端使用者,只需要配置上面這一個單獨的聚合後的url,而不用單獨配置多個倉庫。使用者也不需要知道某個jar包具體來源於maven 中央倉庫,或者是Apache Snapshots,或者是我們自己新增的其他倉庫。

這樣的好處在於:如果我們要新增某個倉庫(如開源中國、阿里雲),客戶端不需要做任何更改,只需要在nexus上將要新增的倉庫加入到對外提供服務的倉庫 group中就可以。

第二個3rd party,與倒數第一個和第二個倉庫,Releases和Snapshots一樣,型別為hosted,意思是由nexus本機管理的倉庫。該倉庫用於商業化的,第三方提供的非開源的依賴倉庫,如oracle jdbc driver。

倒數第二個Releases,用於存放開發團隊內部用的正式版的依賴。

倒數第一個Snapshots,用於存放開發團隊內部日常構建的頻率更新較快的依賴包。

Apache Snapshots和Central型別都是proxy,意思是遠端倉庫的代理。前者包含了Apache Software Foundation 釋出的快照版本(這麼翻譯不知道對不對),後者為Maven中央倉庫,我們平時maven預設就是連線該倉庫。

Central M1 Shadow型別為virtual,按官方文件的意思是,只是已有倉庫的一個不同呈現方式的對映。有需要可以參考官方手冊6.2.3節。

3.2 倉庫集合的介面

img

點選Configuration,可以看到當前新增到該集合的倉庫列表及順序(優先順序高的在上面,可用滑鼠拖拽),當我們新增了倉庫,將會出現在右側的available Repository,新增到左邊即可。

如果有哪個倉庫不想加入到該集合,也可以拖拽到右邊來。

3.3使用本地maven客戶端測試nexus是否成功部署

首先複製倉庫集合的repository url,客戶端配置需要用到。

img

配置maven客戶端:

img

開啟settings.xml,按照如下步驟修改:

<mirrors>
    <mirror>
    <!--This sends everything else to /public -->
    <id>nexus</id>
    <mirrorOf>*</mirrorOf>
    <url>http://192.168.1.227:8081/nexus/content/groups/public</url>
    </mirror>
</mirrors>
<profiles>
    <profile>
      <id>nexus</id>
      <!--Enable snapshots for the built in central repo to direct -->
      <!--all requests to nexus via the mirror -->
      <repositories>
        <repository>
          <id>central</id>
          <url>http://central</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>http://central</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>nexus</activeProfile>
  </activeProfiles>

接下來在ide中測試下(我個人用maven命令列不多,不熟悉,還是用intelj idea演示吧)

在idea中依次開啟File–Settings–搜尋Maven–出現如下介面:

img

保證上述幾項指向正在用的maven目錄和配置檔案即可。點選ok,退出。

開啟Maven Projects視窗,勾選Profiles中的nexus。

img

隨便新建一個maven工程,在pom中新增一項本地倉庫中沒有的依賴,應該出現如下圖示:(下圖可以看出,正在去我們配置的私服下載maven依賴)

img

至此。大體配置完成。

3.3 通過網頁方式將jar包上傳到nexus

在使用Maven管理專案時,如何將jar包上傳到私有倉庫,下面簡單介紹一下上傳方法。

環境:nexus私有庫
步驟如下:

1.登陸已經安裝好的nexus私有倉庫,如圖:

1

2.點選左邊選單“Repositories”,選擇右邊列表“3rd party“

2

3.點選“3rd party”,選擇artifact Upload,如下圖:

3

4.在artifact Upload介面顯示的有GAV Parameter,groupId,artifactId,Version,Packaging等等引數,介面如圖:

5

5.將以上引數填之後,選擇要上傳的jar包,點選”add artifact“,最後點選”save“儲存按鈕即可,如下圖所示:

5

7

8

說:這種方法只是上傳了jar包。通過maven引用當前jar,不能取得jar的依賴

img

通過 from pom的方式,選擇pom檔案,以及jar。通過maven引入jar時,會自動載入jar的依賴

相關推薦

Linuxnexus 安裝使用

搭建nexus服務的意義 作為內網的統一代理,團隊合作開發時不用每人都去外網下載一次; 解決部分變態公司內網管制無法訪問外網的問題,選一臺有外網許可權的機器搭建伺服器,其餘人直接內網訪問此服務; 團隊合作開發時解決maven專案依賴問題; 大家

LinuxMongoDB安裝簡介以及adminMongo的使用

MongoDB、Linux、視覺化工具adminMongo MongoDB簡介 基本概念 簡單操作 Linux下MongoDB的安裝 視覺化工具adminMongo的使用 MongoDB簡介 簡介

linuxredis安裝啟動與停止,redis做成服務

如果的linux可以連結網路,那麼可以直接聯網下載。直接輸入程式碼:wget http://download.redis.io/releases/redis-3.0.2.tar.gztar zxvf redis-3.0.2.tar.gz 我們會看到在該目錄下多了一個檔案,re

Elasticsearch簡單入門--elasticsearch 在Linux安裝執行停止

1.首先對Elasticsearch進行簡短的介紹 Elasticsearch是一個高度可伸縮的開源全文搜尋和分析引擎。它允許您快速、實時地儲存、搜尋和分析大量資料。它通常用作底層引擎/技術,為具有複雜搜尋特性和需求的應用程式提供支援。 核心概念:NRT、Cluster、Node、Ind

Redis在Linux安裝啟動和關閉

安裝 使用apt命令安裝       安裝命令 sudo apt install redis-server 使用make編譯安裝     安裝命令 wget http://download.redis.io/releases/redis-4.0.10.tar.gz

linuxelasticsearch 安裝配置及示例

簡介 開始學es,我習慣邊學邊記,總結出現的問題和解決方法。本文是在兩臺linux虛擬機器下,安裝了三個節點。本次搭建es同時實踐了兩種模式——單機模式和分散式模式。條件允許的話,可以在多臺機器上配置es節點,如果你機器效能有限,那麼可以在一臺虛擬機器上完成多

LinuxSSH安裝更新及XShell連線

本文以Ubuntu為例進行說明 ssh程式分為有客戶端程式openssh-client和服務端程式openssh-server。如果需要ssh登陸到別的電腦,需要安裝openssh-client,該程式ubuntu是預設安裝的。而如果需要從遠端連線到本機,則需要安裝ope

Linux環境 Redis 安裝啟動連線主從複製哨兵機制

安裝步驟 Linux 版本號 CentOS-6.4-x86_64 Redis 版本號 redis-3.0.6.tar.gz 1、usr資料夾中,建立redis資料夾 2、解壓 redis-3.0.6.tar.gz 3、解壓後進入到資料夾 redis-3.0.6 4、編譯 ma

LinuxNexus Repository3安裝和maven,npm配置

Nexus Repository下載 根據作業系統選擇指定版本,本文針對Linux安裝,其他的安裝過程可能有所差異。 https://help.sonatype.com/repomanager3/download/download-archives---repository-manager-3 安裝

基礎教程:5圖解LinuxJDK安裝與環境變數配置

5.1 下載JDK8 (1)百度搜索“jdk8”第一條結果就是JDK下載地址 (2)接受協議,單擊下載 (3)JDK的上傳到Linux伺服器 首先,通過XShell連線遠端伺服器; 然後,單擊工具欄中的xftp圖示,如下圖所示; 最後,將已經下載的Linux版的JDK8軟體包檔案

Linux靜默安裝 oracle參考連結(for單例項for RAC叢集)

1. http://www.dbdream.com.cn/2012/03/03/linux%e7%8e%af%e5%a2%83%e4%b8%8b%e9%9d%99%e9%bb%98%e5%bb%ba%e5%ba%93oracle11gr2/ 2.http://www.dbd

LinuxVirtualBox安裝XP,U盤U盾無法識別解決辦法

Linux為主機,Virtualbox安裝了XP系統,插入U盤、U盾,Linux可以識別,但是虛擬機器中不能識別U盤、U盾。 第一步,需要安裝Oracle VM VirtualBox Extension Pack,去官網下載後,在Virtualbox“管理”-“全域性設定”

Linux製作binrun等安裝

製作簡單的安裝包的時候可以簡單的用cat命令連線兩個檔案,  然後頭部是指令碼檔案,執行的時候把下面的檔案分解出來就行了。  一般這個後部分的檔案是個壓縮包,那樣,就能夠打包很多檔案了,在指令碼中解壓出來即可。  這就是Linux那些bin啊run啊等安裝指令碼的簡單製作

010 Linux 通過yumaptdnf方式安裝和配置Nginx伺服器

一、安裝 Centos系統 1、安裝Nginx源。 Centos7下:#rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm

LinuxMySQL安裝和解除安裝圖文教程詳解

       處女作,第一次寫部落格,做了兩年的開發,工作之餘給自己找點有意義的事做,分享一下在開發過程當中的一些經驗總結,同時也當是自己的筆記吧,有時候有些東西長時間不用自己也記不住,好了,廢話就說

linux導入導出mysql數據庫命令

數據庫 選擇 sql數據庫 用戶 目錄 sql文件 utf linux下 eat 一、導出數據庫用mysqldump命令(註意mysql的安裝路徑,即此命令的路徑):1、導出數據和表結構:mysqldump -u用戶名 -p密碼 數據庫名 > 數據庫名.sql#/us

linux yum安裝

下載 ges mage ima 雲服務 url install 公司 服務器 背景:   公司的阿裏雲服務器上總是報這個錯 網上百度無果後 打算重裝一下yum 1.下載 wget http://yum.baseurl.org/download/3.2/yum-3.2.

linuxjenkins安裝

結果 style content 下載地址 文件夾 csdn get clas http 在安裝jenkins之前。首先確認jdk和tomcat,maven已經配置好 詳細配置方法,請看的我博客。 jdk:jdk的安裝與配置 tomcat:tomcat的安裝與配置 ma

linuxmemcached安裝以及啟動

啟動參數 actor 是否 設置 查看 解決 bsp rem 內存 1.下載memcached服務器端安裝文件 版本: memcached-1.4.2.tar.gz 下載地址:http://www.danga.com/memcached/download.

Linux MySQL 安裝與卸載

word stat client int etc dpkg init net 是否 參考博客:http://www.cnblogs.com/steven_oyj/archive/2010/05/24/1742808.html http://www.linuxidc.com/