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

免费的成品网站seo 优化教程

免费的成品网站,seo 优化教程,如何做网站本地服务器,专业网站建设集团先按照https://zhuanlan.zhihu.com/p/494988089说明下载好Gitblit然后复制到tomcat的webapps目录下,如下: 双击"startup.bat"启动tomcat: 然后访问"http://127.0.0.1:8080/gitblit/"即可看到git的界面: 说明git服务器已经能够成功运行了! Vmware虚拟机…

先按照https://zhuanlan.zhihu.com/p/494988089说明下载好Gitblit然后复制到tomcat的webapps目录下,如下:
在这里插入图片描述
双击"startup.bat"启动tomcat:
在这里插入图片描述
在这里插入图片描述
然后访问"http://127.0.0.1:8080/gitblit/"即可看到git的界面:
在这里插入图片描述
说明git服务器已经能够成功运行了!
Vmware虚拟机访问window的git服务器
从这里https://blog.csdn.net/weixin_44033210/article/details/122986997得到灵感,关闭掉:
在这里插入图片描述
在这里插入图片描述
虚拟机这边使用桥接的方式进行联网:
在这里插入图片描述

这时候虚拟机就可以访问window的git服务器:
在这里插入图片描述
提交代码的时候会遇到ssh错误:

root@tina-virtual-machine:/home/workspace/tina-r528-v1.2# git push --set-upstream origin master
Unable to negotiate with 192.168.43.57 port 29418: no matching host key type found. Their offer: ssh-rsa,ssh-dss
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.

后来实在没办法改远程仓库改成http:

root@tina-virtual-machine:/home/workspace/tina-r528-v1.2# git remote show origin
* remote originFetch URL: http://shun@192.168.43.57:8080/gitblit/r/R528_Linux.gitPush  URL: http://shun@192.168.43.57:8080/gitblit/r/R528_Linux.gitHEAD branch: masterRemote branch:master trackedLocal branch configured for 'git pull':master merges with remote masterLocal ref configured for 'git push':master pushes to master (up to date)

这时候提交代码就没有问题了:

root@tina-virtual-machine:/home/workspace/tina-r528-v1.2# git push --set-upstream origin master
Password for 'http://shun@192.168.43.57:8080': 
Enumerating objects: 226298, done.
Counting objects: 100% (226298/226298), done.
Delta compression using up to 4 threads
Compressing objects: 100% (215476/215476), done.
error: RPC failed; curl 7 Couldn't connect to server
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (226298/226298), 5.51 GiB | 14.84 MiB/s, done.
Total 226298 (delta 52759), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
root@tina-virtual-machine:/home/workspace/tina-r528-v1.2# git push --set-upstream origin master
Password for 'http://shun@192.168.43.57:8080': 
Enumerating objects: 226298, done.
Counting objects: 100% (226298/226298), done.
Delta compression using up to 4 threads
Compressing objects: 100% (162714/162714), done.
Writing objects: 100% (226298/226298), 5.51 GiB | 43.50 MiB/s, done.
Total 226298 (delta 52762), reused 226298 (delta 52762), pack-reused 0
remote: Resolving deltas: 100% (52762/52762)
remote: Updating references: 100% (1/1)
To http://192.168.43.57:8080/gitblit/r/R528_Linux.git* [new branch]          master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.

注意:因为使用的是桥接模式,这时候必须保证网络是连接的,否则虚拟机没有IP了!
推送成功后可以在git服务器看到代码:
在这里插入图片描述
在git的服务器文件夹里面也看到有占用空间了:
在这里插入图片描述
说明整个git是正常的!

http://www.mnyf.cn/news/14758.html

相关文章:

  • wordpress博客置顶seo一个关键词多少钱
  • 做网站公司深圳今天时政新闻热点是什么
  • 滕州营销型网站建设外贸网站推广
  • 做门户网站用什么系统好站内关键词排名软件
  • 东莞做网站企业铭关键词挖掘长尾词工具
  • 织梦做音乐网站百度收录提交入口网址
  • 太仓网站建设网站推广中国人民银行网站
  • 广州企业网站开发员工培训课程
  • 做3d模型的叫什么牛的网站武汉关键词包年推广
  • 做购物网站能赚钱吗发广告去哪个平台
  • 镇江高端网站建设工作室以营销推广为主题的方案
  • 微信公众号上微做网站好的推广平台
  • 网站开发公司地址外贸网站seo教程
  • 常州建设局官方网站长沙百度推广排名优化
  • 网站seo关键字优化互联网推广项目
  • 高校网站建设需求单成都网站制作费用
  • wordpress去掉导航栏seo营销
  • 做www网站需要多少钱网站发布与推广
  • 精神文明建设网站微信做单30元一单
  • 深圳建企业网站公司成免费的crm
  • 克拉玛依住房和建设局网站市场调研方法有哪几种
  • 沧州商城网站建设写软文用什么软件
  • 青岛seo网站建设网站如何才能被百度收录
  • 本地网站服务器搭建太原seo推广
  • 佛山网站建设电话seo网络推广培训
  • 做网站项目的心得微信公众号营销
  • wap网站搭建网络营销渠道有哪三类
  • 中山网站建设找阿江百度推广代运营
  • 网站设计与应用方向论文sem竞价
  • 石家庄高端网站建设seo技巧是什么意思