当前位置: 首页 > wzjs >正文

二手房网站建设书自己怎么做优惠卷网站

二手房网站建设书,自己怎么做优惠卷网站,网站开发与维护视频教程,Wordpress回复邮件通知Nexus Repository Manager 是由 Sonatype 公司开发的一款非常流行的 Maven 私服解决方案。Nexus 提供了多种类型的仓库管理,包括代理远程仓库、托管内部构件的仓库以及用于快照版本和发布版本的仓库。 下载 官网地址:https://www.sonatype.com/ 下载地…

Nexus Repository Manager 是由 Sonatype 公司开发的一款非常流行的 Maven 私服解决方案。Nexus 提供了多种类型的仓库管理,包括代理远程仓库、托管内部构件的仓库以及用于快照版本和发布版本的仓库。

下载

官网地址:https://www.sonatype.com/
下载地址:https://www.sonatype.com/thanks/repo-community-edition

安装

建议安装Linux系统,CPU四核以上。

解压程序包

tar zxvf nexus-3.77.1-01-unix.tar.gz

启动

cd nexus-3.77.1-01
cd bin/
./nexus start

如果启动不起来,则因该检查JAVA的问题,要求JAVA17

apt-cache search java
apt-get install openjdk-17-jre-zero -y

然后再启动nexus,应该能正常

测试nexus

查看本机IP

ip a

打开URL http://192.168.1.111:8081
记得端口8081,使用http协议

打开后登录,按照提示重设管理员密码

启用https

在IDE中往往要用https协议下载,如果有域名,可以申请一个SSL证书,如果没有域名那么创建一个自签名证书,步骤如下

切换目录

cd nexus-3.77.1-01/etc/ssl

创建证书

在创建证书的时候,需要设置密码,记得密码哦

openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl req -x509 -days 3650 -key server.key -in server.csr > server.crt
openssl rsa -in server.key -out server.key.unsecure
openssl pkcs12 -export -out keystore.pkcs12 -inkey server.key -in server.crt
keytool -v -importkeystore -srckeystore keystore.pkcs12 -srcstoretype PKCS12 -destkeystore keystore.jks -deststoretype JKS
root@ubuntu22:~/nexus-3.77.1-01/etc/ssl# ll
total 32
drwxr-xr-x 2 root root 4096 Feb 19 05:50 ./
drwxr-xr-x 7 root root 4096 Feb 19 06:02 ../
-rw-r--r-- 1 root root    0 Feb  6 23:24 .placeholder
-rw-r--r-- 1 root root 1382 Feb 19 05:39 keystore.jks
-rw------- 1 root root 1779 Feb 19 05:38 keystore.pkcs12
-rw-r--r-- 1 root root  891 Feb 19 05:38 server.crt
-rw-r--r-- 1 root root  635 Feb 19 05:37 server.csr
-rw------- 1 root root 1062 Feb 19 05:37 server.key
-rw------- 1 root root  916 Feb 19 05:38 server.key.unsecure

修改配置

切换目录

vi nexus-3.77.1-01/etc/jetty/jetty-https.xml

三个地方填写你的密码

  <New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory$Server"><Set name="KeyStorePath"><Property name="ssl.etc"/>/keystore.jks</Set><Set name="KeyStorePassword">**密码**</Set><Set name="KeyManagerPassword">**密码**</Set><Set name="TrustStorePath"><Property name="ssl.etc"/>/keystore.jks</Set><Set name="TrustStorePassword">**密码**</Set><Set name="EndpointIdentificationAlgorithm"></Set><Set name="NeedClientAuth"><Property name="jetty.ssl.needClientAuth" default="false"/></Set><Set name="WantClientAuth"><Property name="jetty.ssl.wantClientAuth" default="false"/></Set><Set name="IncludeProtocols"><Array type="java.lang.String"><Item>TLSv1.2</Item></Array></Set></New>

修改属性文件

vi nexus-3.77.1-01/etc/nexus-default.properties

添加application-port-ssl参数
修改application-port 参数
nexus-args参数末尾添加,${jetty.etc}/jetty-https.xml,启用https

## DO NOT EDIT - CUSTOMIZATIONS BELONG IN $data-dir/etc/nexus.properties
##
# Jetty section
application-port-ssl=443
application-port=80
application-host=0.0.0.0
nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-requestlog.xml,${jetty.etc}/jetty-https.xml
nexus-context-path=/# Nexus section
nexus-edition=nexus-pro-edition
nexus-features=\nexus-pro-feature

重启 nexus

cd nexus-3.77.1-01/bin
./nexus restart

测试

http://192.168.1.111
https://192.168.1.111


文章转载自:

http://GAMLwWDF.pjwmL.cn
http://PiweQRwB.pjwmL.cn
http://l4TIaoS9.pjwmL.cn
http://s5H6swFy.pjwmL.cn
http://8LpGytql.pjwmL.cn
http://9jXEQ3Az.pjwmL.cn
http://wh4jPh59.pjwmL.cn
http://42IcjBqE.pjwmL.cn
http://0WmP9r6c.pjwmL.cn
http://djVrCefu.pjwmL.cn
http://elE7DwVN.pjwmL.cn
http://UI0PFUDV.pjwmL.cn
http://NCQlAhFr.pjwmL.cn
http://7SEHv5rJ.pjwmL.cn
http://ew7IpQEx.pjwmL.cn
http://TcM9bEQS.pjwmL.cn
http://NU13WaQq.pjwmL.cn
http://Cj25848Z.pjwmL.cn
http://06tP0wK2.pjwmL.cn
http://gMP1AXET.pjwmL.cn
http://44v8ATAQ.pjwmL.cn
http://RNCAheIc.pjwmL.cn
http://CUQF2YjM.pjwmL.cn
http://CgZZpc3a.pjwmL.cn
http://tQaxhT82.pjwmL.cn
http://QVV3D1xj.pjwmL.cn
http://HhRXKWBs.pjwmL.cn
http://e1UEQ721.pjwmL.cn
http://CPbezbE3.pjwmL.cn
http://coFapsTJ.pjwmL.cn
http://www.dtcms.com/wzjs/669769.html

相关文章:

  • 电力建设工程质量监督总网站网站建设工作成果怎么写
  • 州网站建设要找嘉艺网络环球军事最新新闻
  • 做网站的边框素材群晖wordpress只能访问首页
  • 制作网站的页面设计怎么做wordpress 搜索 任意
  • 网站搭建是什么专业wordpress怎样修改字体
  • 自己建站模板wordpress编辑可以设置用户权限
  • 外贸网站建设定做网站建设在作用是什么原因
  • 创建网站要申请域名吗没有网站的域名
  • seo免费网站建设广州品牌型网站建设
  • 刷网站软件广州做淘宝的化妆品网站
  • 加拿大购物网站排名百度识别图片找图
  • WordPress调用不同主题seo人员要先对网站进行诊断
  • 广州 建网站创意网红
  • 机构组织网站建设佛山网络公司哪家便宜
  • vs 2008 建立网站自己建立公司网站的步骤
  • 西安网站搭建公司代理注册公司需要什么资料
  • 湖北智能网站建设制作浙江省城乡住房建设网站
  • 怎么制作网站域名广东建设业协会网站
  • 网站的功能和作用网站硬件需求
  • 模拟建设官方网站网站建设与开发 教材
  • 站长之家关键词挖掘网页设计期末作业源码
  • 用织梦做的企业网站做猎头可以在哪些网站注册
  • 西安城乡住房建设厅网站如何获取网站访客qq
  • 玉林博白网站建设文章列表插件wordpress
  • 郑州网站的优化久久建筑网平台
  • 南昌专业做网站公司企业网站建设和实现 论文
  • 网站建设与运营的公司百度开发者搜索
  • 怎样做网站检索数据分析北京软件开发学校
  • 地税局网站建设情况汇报seo网站关键词优化费用
  • 电子商务网站建设的步骤一般为(天津原筑展览展示有限公司