开发者

MySQL asc、desc数据排序的实现

开发者 https://www.devze.com 2020-01-09 20:14 出处:网络 作者: OceanBase
这篇文章主要介绍了MySQL asc、desc数据排序的实现,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习学习吧

一、基础环境

系统:Red Hat Enterprise Linux Server release 6.6

JDK:java version "1.7.0_65"

二、maven安装

2.1 软件版本

Apache Maven 3.5.2

下载地址:http://maven.apache.org/download.cgi

下载链接:http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz

2.2  创建软件安装目录

mkdir /data

cd /data

wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz

tar xzvf apache-maven-3.5.2-bin.tar.gz

2.3 添加环境变量

vi /etc/profile

末尾添加以下信息

export M2_HOME=/data/apache-maven-3.5.2

export PATH=$PATH:$M2_HOME/bin

source /etc/profile

2.4 测试

mvn -v

MySQL asc、desc数据排序的实现

返回如上信息,说明maven安装完成。

三、nexus安装

3.1 软件版本

nexus-2.14.5-02

下载地址:https://www.sonatype.com/download-oss-sonatype

下载链接:https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.5-02-bundle.tar.gz

3.2 下载解压软件

cd /data

wget https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-2.14.5-02-bundle.tar.gz

tar xzvf nexus-2.14.5-02-bundle.tar.gz

3.3 软件配置

cd nexus-2.14.5-02

vim   conf/nexus.properties #编辑配置文件

application-port=8081

application-host=0.0.0.0

nexus-webapp=${bundleBasedir}/nexus

nexus-webapp-context-path=/nexus

application-port端口默认8081,可以不修改,根据自己情况来定

vim bin/nexus         #编辑启动文件

RUN_AS_USER=maven    #  启动用户根据自己情况,我这里使用的maven用户,也可以是root

其他可以使用默认配置

保存退出

3.4启动服务

bin/nexus start   #启动服务

MySQL asc、desc数据排序的实现

3.5  web访问

http://ip:8081

MySQL asc、desc数据排序的实现

点击右上角login,默认管理员账号密码:admin/amdin123

MySQL asc、desc数据排序的实现

 

至此,安装结束

0

精彩评论

暂无评论...
验证码 换一张
取 消