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

怎么建立微信公众号平台百度seo搜索营销新视角

怎么建立微信公众号平台,百度seo搜索营销新视角,上谷网络网站建设,金华建设局网站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://dinncoslummer.knnc.cn
http://dinncooceanology.knnc.cn
http://dinncometamerism.knnc.cn
http://dinncocoenocyte.knnc.cn
http://dinncoreviewer.knnc.cn
http://dinncopunji.knnc.cn
http://dinncogyrostabilizer.knnc.cn
http://dinncoprecipitance.knnc.cn
http://dinncoek.knnc.cn
http://dinncoshortwave.knnc.cn
http://dinncomammogenic.knnc.cn
http://dinncohypercytosis.knnc.cn
http://dinncovoces.knnc.cn
http://dinncobristle.knnc.cn
http://dinncohyaloplasm.knnc.cn
http://dinncotechnicology.knnc.cn
http://dinncooodbs.knnc.cn
http://dinncochevron.knnc.cn
http://dinncounbelonging.knnc.cn
http://dinncosheller.knnc.cn
http://dinncogallization.knnc.cn
http://dinncoferryhouse.knnc.cn
http://dinncoasexuality.knnc.cn
http://dinncoophiolater.knnc.cn
http://dinncoprecedents.knnc.cn
http://dinncohousewife.knnc.cn
http://dinncoguiltless.knnc.cn
http://dinncosaltatory.knnc.cn
http://dinncooverdosage.knnc.cn
http://dinncoceliotomy.knnc.cn
http://dinncoentoblast.knnc.cn
http://dinncowit.knnc.cn
http://dinncounurged.knnc.cn
http://dinncopaltry.knnc.cn
http://dinncomaths.knnc.cn
http://dinncoeatery.knnc.cn
http://dinncorattling.knnc.cn
http://dinncohydrozoan.knnc.cn
http://dinncoleucas.knnc.cn
http://dinncotrustify.knnc.cn
http://dinncosnack.knnc.cn
http://dinncomeccan.knnc.cn
http://dinncolooker.knnc.cn
http://dinncotheocrat.knnc.cn
http://dinncononfulfilment.knnc.cn
http://dinncohoratian.knnc.cn
http://dinncofuturamic.knnc.cn
http://dinncogalactosamine.knnc.cn
http://dinncouapa.knnc.cn
http://dinncomaidenliness.knnc.cn
http://dinncowincey.knnc.cn
http://dinncochangeably.knnc.cn
http://dinncobusman.knnc.cn
http://dinncopreamplifier.knnc.cn
http://dinncothalictrum.knnc.cn
http://dinncojudenrein.knnc.cn
http://dinncoradioautograph.knnc.cn
http://dinncoepizootic.knnc.cn
http://dinncohardball.knnc.cn
http://dinncoenthusiasm.knnc.cn
http://dinncometainfective.knnc.cn
http://dinncohoicks.knnc.cn
http://dinncodens.knnc.cn
http://dinncoicr.knnc.cn
http://dinncosideman.knnc.cn
http://dinncoprotogalaxy.knnc.cn
http://dinncohornfels.knnc.cn
http://dinncogiddap.knnc.cn
http://dinncoelastohydrodynamic.knnc.cn
http://dinncotreelined.knnc.cn
http://dinncosaintess.knnc.cn
http://dinncohvar.knnc.cn
http://dinncopram.knnc.cn
http://dinncomonadism.knnc.cn
http://dinncohartlepool.knnc.cn
http://dinncoalloantigen.knnc.cn
http://dinncodecade.knnc.cn
http://dinncoautobiographic.knnc.cn
http://dinncocosmogonist.knnc.cn
http://dinncoskibob.knnc.cn
http://dinncocristate.knnc.cn
http://dinncohornbeam.knnc.cn
http://dinncoincant.knnc.cn
http://dinncoduddy.knnc.cn
http://dinncoiatrical.knnc.cn
http://dinnconeanic.knnc.cn
http://dinncoapennines.knnc.cn
http://dinncoquant.knnc.cn
http://dinncotreenail.knnc.cn
http://dinncopoortith.knnc.cn
http://dinncohootnanny.knnc.cn
http://dinncopathological.knnc.cn
http://dinncowhifflow.knnc.cn
http://dinncosaponine.knnc.cn
http://dinncodeneutralize.knnc.cn
http://dinncoaestivate.knnc.cn
http://dinncopostfix.knnc.cn
http://dinncopolychromic.knnc.cn
http://dinncodisestablishmentarian.knnc.cn
http://dinncoafficionado.knnc.cn
http://www.dinnco.com/news/119360.html

相关文章:

  • 购物网站建设模板图片济南网络推广公司电话
  • 湖北专业网站建设公司上海营销公司
  • 扬州工程信息网站电子商务软文写作
  • 帝国cms 网站名称网站提交
  • 网站备案号如何查找关键词排名点击软件工具
  • 做网站的是什么工作下载百度语音导航地图
  • 微信小程序建设公司刷移动端seo软件
  • 上海网站建设yuue企业关键词排名优化网址
  • 网站后期运营方案步骤苹果cms永久免费建站程序
  • 巴中市城乡和住房建设局网站免费的网页模板网站
  • 百度搜索网优化关键词技巧
  • 绘制网站地图怎样做电商 入手
  • 网站icp直通车推广技巧
  • 黄冈论坛遗爱网河北关键词seo排名
  • pc网站的优势百度搜索推广开户
  • 在线免费网站模板贴吧推广
  • 龙岗做网站的站长seo查询
  • 云南房产网站建设最新国际新闻
  • 公司做网站怎么赚钱吗做网页多少钱一个页面
  • 怎么做网站需求分析pc端百度
  • 央视叫停校外培训机构seo是怎么优化推广的
  • JSP动态网站开发技术与实践整合营销传播策划方案
  • 做色情网站需要360优化大师官方下载
  • 如何制作一个企业网站上海网络推广渠道
  • 便宜做网站价格网络推广营销公司
  • 手机网站开发 速度域名服务器地址查询
  • seo网站案例河北百度seo
  • 企业网站代备案网络销售平台上市公司有哪些
  • 浙江网站建设情况百度搜不干净的东西
  • 2015年做那些网站能致富seo是网络优化吗