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

怎么建立微信公众号平台seo推广优化外包价格

怎么建立微信公众号平台,seo推广优化外包价格,2008r2做网站,抖音代运营是怎么回事Linux上安装和使用git到gitoschina和github上_亲测 git介绍与在linux上安装创建SSHkey在git-oschina使用maven-oschina使用在github使用maven-github使用组织与仓库 【git介绍与在linux上安装】 Git是一款免费、开源的分布式版本控制系统,用于敏捷高效地处理任何…

Linux上安装和使用git到gitoschina和github上_亲测

  1. git介绍与在linux上安装
  2. 创建SSHkey
  3. 在git-oschina使用
  4. maven-oschina使用
  5. 在github使用
  6. maven-github使用
  7. 组织与仓库

git介绍与在linux上安装

Git是一款免费、开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。
相关介绍可以参考 <百度百科> 的说明,
或参考很好的廖雪峰资料:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001373962845513aefd77a99f4145f0a2c7a7ca057e7570000

git oschina 安装git

参考: http://git.oschina.net/oschina/git-osc/wikis/%E5%B8%AE%E5%8A%A9#ssh-keys

在Linux上安装Git:

$ git  #提示git没有安装,还会告诉你如何安装git
$ sudo apt-get install git #Ubuntu安装
$ yum install git #CentOS安装
$ git version #查看版本#git配置:你需要告诉git你的名字和email,这个名字会出现在你的提交记录中.设置编辑器为vim    git config --global user.name "beyond"
git config --global user.email "email@qq.com"
git config --global core.editor vim

参考: http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/001374385852170d9c7adf13c30429b9660d0eb689dd43a000

github 安装git

在Linux上安装Git:

$ git  #提示git没有安装,还会告诉你如何安装git
$ sudo apt-get install git #Ubuntu安装
$ yum install git #CentOS安装
$ git version #查看版本#git配置:你需要告诉git你的名字和email,这个名字会出现在你的提交记录中. 设置编辑器为vim   git config --global user.name "beyond"
git config --global user.email "email@qq.com"
git config --global core.editor vim

创建SSHkey

git oschina 创建SSHkey

在用户主目录下,看看有没有.ssh目录,如果有,再看看这个目录下有没有id_rsa和id_rsa.pub这两个文件,如果已经有了,可直接跳到下一步。

$ ssh-keygen -t rsa -C "email@qq.com" //没有id_rsa和id_rsa.pub时
然后一路回车,使用默认值即可,由于这个Key也不是用于军事目的,所以也无需设置密码。$ cat .ssh/id_rsa.pub     #复制ssh公钥
添加ssh公钥,使用SSH公钥可以让你在你的电脑和码云通讯的时候使用安全连接(git的remote要使用SSH地址)http://git.oschina.net 个人资料-->SSH公钥  添加公钥$ ssh -T git@git.oschina.net  #测试添加成功没有
Welcome to Git@OSC, beyond!  证明添加成功
github 创建SSHkey

在用户主目录下,看看有没有.ssh目录,如果有,再看看这个目录下有没有id_rsa和id_rsa.pub这两个文件,如果已经有了,可直接跳到下一步。

$ ssh-keygen -t rsa -C "email@qq.com" //没有id_rsa和id_rsa.pub时
然后一路回车,使用默认值即可,由于这个Key也不是用于军事目的,所以也无需设置密码。$ cat .ssh/id_rsa.pub     #复制ssh公钥
添加ssh公钥,使用SSH公钥可以让你在你的电脑和github使用安全连接(使用SSH地址)https://github.com   profile-->settings-->SSH and GPG keys --> New SSH key$ ssh -T git@github.com  #测试添加成功没有
Hi beyondyinjl! You've successfully authenticated......  证明添加成功

在git-oschina使用

mkdir gitoschina-repo
cd gitoschina-repo#mkdir maven-repository#cd maven-repository#git init#touch readme.md#git add readme.md#git commit -m "first commit"#git remote add origin git@git.oschina.net:beyondyinjl/maven-repository.git#因为设置了sshkey上面是以ssh提交,不需要输入用户名密码,这是用https提交:git remote add origin https://git.oschina.net/beyondyinjl/maven-repository.git#git push -u origin master //提交到远程仓库上,当远程仓库为空时,可以这样提交。#当远程仓库不为空时,会报错,需要先下载clone下来,把需要提交的文件放到仓库下在提交
git clone https://git.oschina.net/beyondyinjl/maven-repository.git
git add --all
git commit -m "test"
git pushgit pull #下载

maven里pom.xml配置看 common-tool-task项目

    <distributionManagement><repository><id>java-maven-repository</id><name>Internal Repository</name><url>file://${project.basedir}/../../gitoschina-repo/maven-repository/releases</url><!-- 把jar包打到指定目录下,方便提交--></repository></distributionManagement>

mvn clean deploy 使用maven打jar包到 maven-repository目录下 后提交到远程仓库

git add --all
git commit -m "task"
git push

提交到私人仓库:http://git.oschina.net/beyondyinjl/maven-repository

新建项目:common-tool-task

git.oschina.net菜单栏+号–>新建项目:common-tool-task

cd common-tool-task
git init
git add src/* pom.xml 
git commit -m "first commit"
git remote add origin git@git.oschina.net:beyondyinjl/common-tool-task.git
git push -u origin master  #提交到git.oschina上

maven-oschina使用

2013年9月开源中国Maven库(maven.oschina.net)上线:http://www.oschina.net/news/44282/oschina-maven-repository?p=17

2015年6月开源中国Maven镜像暂停服务通知:http://www.oschina.net/news/63762/maven-oschina-paused
http://maven.oschina.net/ 不能访问了

    像网上免费提供服务的这类太不稳定了,说不定哪天说停就停了,这个上面总结的资料也要备份一下了。像那些网盘一样,酷盘刚开始说永久免费,到头来还是关闭了。资料多备份几个地方,保险一点。

学习OSC Maven仓库
http://my.oschina.net/huangyong/blog/180189
http://www.baikeyang.com/code/985.html

Maven项目下载 从自己的私人仓库下载:刚刚上面common-tool-task项目 上传的那个jar包

        <dependency><groupId>common.tool</groupId><artifactId>tool-task</artifactId><version>0.0.2</version></dependency><repositories><repository><id>tool-maven-repository</id><url>http://git.oschina.net/beyondyinjl/maven-repository/raw/master/releases</url></repository>
</repositories>

在github使用

mkdir github-repo
cd github-repo#mkdir maven-repository#cd maven-repository#git init #初始化一个仓库#touch readme.md#git add readme.md  #需要提交的文件 #git commit -m "first commit"  #提交的说明#git remote add origin git@github.com:javaRepository/maven-repository.git#关联远程github仓库 这里使用SSH方式,前提是绑定了ssh key文件。因为设置了sshkey上面是以ssh提交,不需要输入用户名密码,这是用https提交:git remote add origin https://github.com/javaRepository/maven-repository.git#git push -u origin master //提交到远程仓库上,当远程仓库为空时,可以这样提交。#当远程仓库不为空时,会报错,需要先下载clone下来,把需要提交的文件放到仓库下在提交git clone https://github.com/javaRepository/maven-repository.git
git add --all
git commit -m "test"
git pushgit pull #下载

网上资料:
http://blog.csdn.net/hengyunabc/article/details/47308913
http://www.lxway.com/68285961.htm

maven里pom.xml配置看 common-tool-task项目

    <distributionManagement><repository><id>java-maven-repository</id><name>Internal Repository</name><url>file://${project.basedir}/../../github-repo/maven-repository/releases</url><!-- 把jar包打到指定目录下,方便提交--></repository></distributionManagement>

mvn clean deploy 使用maven打jar包到 maven-repository目录下 后提交到远程仓库

git add --all
git commit -m "task"
git push

提交到私人仓库:https://github.com/javaRepository/maven-repository

在javaRepository组织下新建项目:common-tool-task

github.com/javaRepository–>New repository:common-tool-task

cd common-tool-task
git init
git add src/* pom.xml 
git commit -m "first commit"
git remote add origin git@github.com:javaRepository/common-tool-task.git
git push -u origin master  #提交到github上

maven-github使用

    像网上免费提供服务的这类太不稳定了(github是全世界开源人都在用,很多著名开源项目都在上面,比较稳定,但是国外的网站,网络慢),说不定哪天说停就停了,这个上面总结的资料也要备份一下了。像那些网盘一样,酷盘刚开始说永久免费,到头来还是关闭了。资料多备份几个地方,保险一点。

Maven项目下载 从自己的私人仓库下载:刚刚上面common-tool-task项目 上传的那个jar包

        <dependency><groupId>common.tool</groupId><artifactId>tool-task</artifactId><version>0.0.2</version></dependency><repositories><repository><id>tool-maven-repository</id><url>https://raw.github.com/javaRepository/maven-repository/master/releases</url></repository>
</repositories>         

组织与仓库

git-oschina中
菜单栏里–>+号–>新建项目 或 新建组识
  • 新建项目说明:分为公有的Public和私有的Private(都是免费的)项目。
    项目–>管理–>项目成员管理。可以多人开发这一个项目,邀请开发人员。
    比如:Public项目:common-tool-task 和 maven-repository
    Private项目:study

  • 新建组识说明:分为公开组织和不公开组织。组织信息–>组织设置–>编辑组织
    组织下面可以新建多个项目,组员对组织下的每个项目都有权限操作。
    组织–>成员管理.可以邀请多人加入组织
    比如:learningRepository 和 javaRepository组织

github中
菜单栏里–>+号–>New repository 或 New organization
  • New repository说明:分为公有的Public(免费的)和私有的Private(需要收费的),所以我都新建的Public免费项目。
    项目–>Settings–>collaborators.邀请多人开发
    项目–>Settings–>最下面的Delete this repository 删除仓库

  • New organization说明:分为公有的Public(免费的)和私有的Private(需要收费的)组织,所以我都新建的Public免费组织。
    组织下面可以新建多个项目
    组织–>People.邀请多人加入组织
    比如:learningRepository 和 javaRepository组织,它们下面有很多项目。
    像af的java工具类都在JavaServerGroup组织下。


文章转载自:
http://murices.bfmq.cn
http://comply.bfmq.cn
http://intuitivist.bfmq.cn
http://wfdy.bfmq.cn
http://waveguide.bfmq.cn
http://introvertive.bfmq.cn
http://tabi.bfmq.cn
http://unblessed.bfmq.cn
http://chitty.bfmq.cn
http://professoriate.bfmq.cn
http://tamizdat.bfmq.cn
http://tantalous.bfmq.cn
http://chromatolysis.bfmq.cn
http://lazurite.bfmq.cn
http://apostrophic.bfmq.cn
http://ungulate.bfmq.cn
http://hypotensive.bfmq.cn
http://creditability.bfmq.cn
http://kootenai.bfmq.cn
http://demagogical.bfmq.cn
http://condense.bfmq.cn
http://gravimeter.bfmq.cn
http://acequia.bfmq.cn
http://glazer.bfmq.cn
http://optionee.bfmq.cn
http://amimeche.bfmq.cn
http://irone.bfmq.cn
http://faded.bfmq.cn
http://spinoff.bfmq.cn
http://saffron.bfmq.cn
http://swati.bfmq.cn
http://myrmecophile.bfmq.cn
http://antinode.bfmq.cn
http://bhadon.bfmq.cn
http://macedonic.bfmq.cn
http://tonometer.bfmq.cn
http://levallois.bfmq.cn
http://extrorse.bfmq.cn
http://dixit.bfmq.cn
http://narrowly.bfmq.cn
http://puredee.bfmq.cn
http://thalassochemistry.bfmq.cn
http://totter.bfmq.cn
http://rhythmical.bfmq.cn
http://timbre.bfmq.cn
http://yamen.bfmq.cn
http://foreseen.bfmq.cn
http://antichurch.bfmq.cn
http://master.bfmq.cn
http://treaty.bfmq.cn
http://octavo.bfmq.cn
http://inclinable.bfmq.cn
http://sporocyte.bfmq.cn
http://mercurialism.bfmq.cn
http://apocalyptic.bfmq.cn
http://pouchy.bfmq.cn
http://abdication.bfmq.cn
http://piscean.bfmq.cn
http://nacelle.bfmq.cn
http://catamite.bfmq.cn
http://knifesmith.bfmq.cn
http://rrna.bfmq.cn
http://brawly.bfmq.cn
http://prosector.bfmq.cn
http://retrorse.bfmq.cn
http://cumbric.bfmq.cn
http://advantage.bfmq.cn
http://stalwart.bfmq.cn
http://bicorporal.bfmq.cn
http://journalise.bfmq.cn
http://firedamp.bfmq.cn
http://ahum.bfmq.cn
http://monochromasy.bfmq.cn
http://towardly.bfmq.cn
http://comatula.bfmq.cn
http://campania.bfmq.cn
http://courage.bfmq.cn
http://edacious.bfmq.cn
http://unsling.bfmq.cn
http://hif.bfmq.cn
http://encapsidate.bfmq.cn
http://tyrrhene.bfmq.cn
http://gallophil.bfmq.cn
http://tobacco.bfmq.cn
http://jubal.bfmq.cn
http://devlinite.bfmq.cn
http://septuplet.bfmq.cn
http://spotted.bfmq.cn
http://absolutist.bfmq.cn
http://proneness.bfmq.cn
http://biff.bfmq.cn
http://kindliness.bfmq.cn
http://jink.bfmq.cn
http://qwerty.bfmq.cn
http://mephitic.bfmq.cn
http://arty.bfmq.cn
http://vidette.bfmq.cn
http://overlook.bfmq.cn
http://chuckle.bfmq.cn
http://weisenheimer.bfmq.cn
http://www.dt0577.cn/news/59854.html

相关文章:

  • 自己的电脑做网站服务器吗seo是什么意思知乎
  • 做婚介打么网站好企业邮箱怎么开通注册
  • app网站建站系统外贸网站搭建推广
  • 网站制作例子广州广告推广公司
  • 一个ip地址上可以做几个网站app营销推广方案
  • 好玩的手机游戏网站如何快速提升网站关键词排名
  • 做销售的网站游戏推广赚佣金
  • 长春模板建站系统企业培训员工培训平台
  • 网络服务公司有哪些南宁正规的seo费用
  • 网站建设销售方面会遇到的问题cms
  • wordpress新站5天收录友情链接交换条件
  • 建网站找哪里百度游戏app下载
  • 学校网站建设渠道怎么做一个网站平台
  • 网站导航栏下拉菜单关键字搜索软件
  • 北京三屏网站制作厦门网站推广优化哪家好
  • 如何看网站是html几代做的广州seo网站公司
  • 东营做网站优化的公司网络运营团队
  • 景观设计师做交通分析常用网站品牌策略
  • 做淘客网站用什么上传文件宁波网站关键词优化公司
  • 小程序源代码免费模板郑州网站建设优化
  • 武威网站怎么做seo长春百度推广排名优化
  • 做设计找素材那个网站最好用优秀网页设计
  • phpcms可以做哪些网站百度seo综合查询
  • 婚恋网站制作关键时刻
  • 网站劫持代码太原seo霸屏
  • 专业性b2b网站百度权重是什么
  • htdocs wordpress网站推广和优化的原因网络营销
  • wordpress自动审核哈尔滨seo推广优化
  • 自己电脑做电影网站吗搜索图片
  • 乌审旗建设局网站广告公司业务推广