<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>运达&#039;s  blog &#187; liunx</title>
	<atom:link href="https://www.yunda51.com/?feed=rss2&#038;tag=liunx" rel="self" type="application/rss+xml" />
	<link>https://www.yunda51.com</link>
	<description>运达的博客</description>
	<lastBuildDate>Wed, 12 Nov 2025 07:58:26 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.19</generator>
	<item>
		<title>Git 服务器搭建与客户端安装</title>
		<link>https://www.yunda51.com/?p=1721</link>
		<comments>https://www.yunda51.com/?p=1721#comments</comments>
		<pubDate>Thu, 29 Sep 2016 09:33:22 +0000</pubDate>
		<dc:creator><![CDATA[运达]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[liunx]]></category>
		<category><![CDATA[客户端]]></category>

		<guid isPermaLink="false">http://www.yunda51.com/?p=1721</guid>
		<description><![CDATA[一、安装客户端 1.Windows 客户端 1).下载客户端 注，大家到这里下载http://msysgit.<a href="https://www.yunda51.com/?p=1721" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>一、安装客户端<br />
1.Windows 客户端<br />
1).下载客户端<br />
注，大家到这里下载http://msysgit.github.io/。下面简单演示一下安装过程，比较简单：<br />
<a href="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172621.png"><img class="alignnone size-full wp-image-1722" src="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172621.png" alt="20160929172621" width="628" height="430" /></a></p>
<p><a href="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172723.png"><img class="alignnone size-full wp-image-1723" src="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172723.png" alt="20160929172723" width="638" height="434" /></a></p>
<p><a href="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172827.png"><img class="alignnone size-full wp-image-1724" src="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172827.png" alt="20160929172827" width="632" height="427" /></a></p>
<p><a href="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172840.png"><img class="alignnone size-full wp-image-1725" src="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172840.png" alt="20160929172840" width="631" height="430" /></a></p>
<p><a href="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172927.png"><img class="alignnone size-full wp-image-1726" src="http://www.yunda51.com/wp-content/uploads/2016/09/20160929172927.png" alt="20160929172927" width="631" height="424" /></a></p>
<p>好了，到这里就安装完成了，安装好以后会在桌面上有个图标，你双击打开即可。如下图：<br />
<a href="http://www.yunda51.com/wp-content/uploads/2016/09/20160929173022.png"><img class="alignnone size-full wp-image-1727" src="http://www.yunda51.com/wp-content/uploads/2016/09/20160929173022.png" alt="20160929173022" width="866" height="263" /></a></p>
<p>二、Linux 客户端</p>
<p>注，Linux客户端安装就比较简单了，直接用yum安装一下就好！</p>
<pre class="wp-code-highlight prettyprint">[root@test ~]# yum install -y git

到这里git就安装完成了，下面我们查看一下版本：

[root@test ~]# git --version

git version 1.8.2.


下面我们生成公钥并复制到服务器上：

[root@test ~]# ssh-keygen -t rsa

Generating public/private rsa key pair.

Enter file in which to save the key (/root/.ssh/id_rsa):

Created directory &#039;/root/.ssh&#039;.

Enter passphrase (empty for no passphrase):

Enter same passphrase again:

Your identification has been saved in /root/.ssh/id_rsa.

Your public key has been saved in /root/.ssh/id_rsa.pub.

The key fingerprint is:

48:3c:22:76:02:f1:a2:e5:27:22:cb:4f:a7:a0:98:9d root@test.com

[root@test ~]# cat .ssh/id_rsa.pub

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwrmgNAca77BKzXl6BP11fdaclAoWfW+x4kPDZMPj1zFoML9JfOAS7DGY9quLMitwwfg5+U7zP/egPmAhSKCECubmodzMucnRSkJGgKCt1SlctRNDRN3OIvrecAtdZfDcBaWKLjaVzGPmhweLhr6HzfqeZU09Ccis4yK3RMwip2f+K1ZZVIOKUmL4AVFl9dqtxnQ4HlW61PUxvM/ug2M68Z0jQk5DVG8w5+dvGqX1qr5YABD1NX5Jz6aUbVVx7yyoORENxu6SK83GI/V7eOkrvBMDh9nDdwvDhPhuhBDSfE+Xi92hPJPKdNroF1vx8HMvpHME20MmjSwavPrz+B18MQ== root@test.com


下面我们复制id_rsa.pub里的公钥到服务器的authorized_keys文件中。

[root@git ~]# su git

bash-3.2$ cd

bash-3.2$ vim .ssh/authorized_keys

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwMU4FKB6NRc3XSoIunWsdvVVuSoncbVb5Al6lB3ciswBVd++YmJFhqwkITNGccrO5sycROs9+Fbjgd6oBSzNuaBtCIbwNNsEyM/henTl2euI3XsnJQ/ITr6c/q0P3WoGl4E2QFQ2kZqs+1eDC0CgHcBrqvFv1Jr414sVYK9lfZwIF+jDdtaBOrSJuq1Agx9pGUFUEB4tQfkXxsWm/MvOmKAVvduKDE1eenUEL9zzyeELPcSXLe3NOoTjZhkX6EEXxQR1ZiZRFywLpfM4qopZ10to2KIUyVtzw6hx6V3cg7kn40lYVW0EAMATw9dVldwcRUI+kJzJSKUTKDVSwY3/+Q== root@CHENMINGQIAN

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAsmmJuR+KhRSpdSirCiL30RA8WbfgicY1z7itWVnKHJW6hTuJFhzruY59FilVjJR1hbQBluP9JnK3XPSK9PSg+bwiJ2iQRa39rXck35r+trVOLyNbPyfKVRfOemD8YuykMlyr5JeW8gZjsHEuLnJ8//RiCiYzd3RT/SSUQ4yawDoIIWkz3eUSL09xoCRZFBsAp+S/LD3vx2MN+FNOHwvqcE+yK3oRNIqjWwLoKE0e5TRnqNgrPQ95PJYB3XPUulzaeMwsWPZs7jIUMl/5yEqSgAkioa8SVMOsikYJG/erv99NNVgFmpCBIiWqKEGkNrIpYzLLHDSYQ4g5Gbci/RZ54Q== Administrator@WIN2003X323

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NwUHeNNi+PC6KlrcJrXXDmKxRMmgHIPp79sgX6zqfdSlmNj7rBPQeyEKS9Wg8yI6jd8aG2jsUx99Vjti2VK2vEXKkRHxwID7ri69gE71RfDtv6ekafnzLo14J8hAp0spMk+N3wEAQRYDmcYo1wmnm/jMBedGrHj4NJQ1vYy1hVtJasGMSzjcMrlz9qvaluWnQ5tQjKFQVVwKsRRRzs8qTvzVhLJt4NQ+CAN45tqfsRuf58Uba9QNK7/6xSUiIKXQiILz8PMGJ3MnlV+eN3wx2aeztdevxu9plggtG05SMmd8GNVzXrN1IaxXSvz0UwjQ2kygu7aCqO8AZWH49rouw== leo@LEO-PC

ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwrmgNAca77BKzXl6BP11fdaclAoWfW+x4kPDZMPj1zFoML9JfOAS7DGY9quLMitwwfg5+U7zP/egPmAhSKCECubmodzMucnRSkJGgKCt1SlctRNDRN3OIvrecAtdZfDcBaWKLjaVzGPmhweLhr6HzfqeZU09Ccis4yK3RMwip2f+K1ZZVIOKUmL4AVFl9dqtxnQ4HlW61PUxvM/ug2M68Z0jQk5DVG8w5+dvGqX1qr5YABD1NX5Jz6aUbVVx7yyoORENxu6SK83GI/V7eOkrvBMDh9nDdwvDhPhuhBDSfE+Xi92hPJPKdNroF1vx8HMvpHME20MmjSwavPrz+B18MQ== root@test.com


下面我们clone一个仓库到本地的目录中。

[root@test ~]# cd /data/dev

[root@test dev]# git clone git@git.jjhh.com:/data/git/project.git

Cloning into &#039;project&#039;...

The authenticity of host &#039;git.jjhh.com (114.112.173.150)&#039; can&#039;t be established.

RSA key fingerprint is ca:ec:a2:7e:e6:89:ca:19:d3:93:7f:4b:c3:c0:c7:fd.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added &#039;git.jjhh.com,114.112.173.150&#039; (RSA) to the list of known hosts.

remote: Counting objects: 50, done.

remote: Compressing objects: 100% (42/42), done.

remote: Total 50 (delta 21), reused 0 (delta 0)

Receiving objects: 100% (50/50), 4.02 KiB, done.

Resolving deltas: 100% (21/21), done.

[root@test dev]# ls

project

[root@test dev]# cd project/

[root@test project]# ls

index.html
</pre>
<p>好了，到这里我们的git客户端到这里就全部安装完成了。<br />
转载于liunx公社 原文地址：<a href="http://www.linuxidc.com/Linux/2014-05/101830p2.htm">http://www.linuxidc.com/Linux/2014-05/101830p2.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.yunda51.com/?feed=rss2&#038;p=1721</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos7下Mqtt 安装步骤</title>
		<link>https://www.yunda51.com/?p=1705</link>
		<comments>https://www.yunda51.com/?p=1705#comments</comments>
		<pubDate>Thu, 07 Jul 2016 03:36:30 +0000</pubDate>
		<dc:creator><![CDATA[运达]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[liunx]]></category>
		<category><![CDATA[Mqtt]]></category>

		<guid isPermaLink="false">http://www.yunda51.com/?p=1705</guid>
		<description><![CDATA[最近跟路由器研发之间传输数据，思来想去最后选择了Mqtt（Message Queuing Telemetry <a href="https://www.yunda51.com/?p=1705" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>最近跟路由器研发之间传输数据，思来想去最后选择了Mqtt（Message Queuing Telemetry Transport，消息队列遥测传输）是IBM开发的一个即时通讯协议！消息队列遥测传输协议，轻量级的发布/订阅协议，适用于一些条件比较苛刻的环境，进行低带宽、不可靠或间歇性的通信。目前已经是物联网消息通信事实上的标准协议了。<br />
废话不多说了，安装步骤如下：<br />
安装：(参考官网 http://mosquitto.org/download/)<br />
<strong>第一步：先加入yum源：</strong><br />
在/etc/yum.repos.d/ 目录中新建一个mosquitto.repo文件，里面写入：<br />
repo 写道</p>
<pre class="wp-code-highlight prettyprint">[home_oojah_mqtt]
name=mqtt (CentOS_CentOS-7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-7/repodata/repomd.xml.key
enabled=1
</pre>
<p><strong>第二步：开始安装</strong><br />
Bash代码</p>
<pre class="wp-code-highlight prettyprint">sudo yum search all mosquitto 
sudo yum install mosquitto mosquitto-clients libmosquitto-devel libmosquittopp-devel python-mosquitto 
</pre>
<p><strong>第三步：配置 </strong>如果不加密码 可以不进行下面的配置<br />
安装完成之后，所有配置文件会被放置于/etc/mosquitto/目录下，其中最重要的就是Mosquitto的配置文件，即mosquitto.conf<br />
vim /etc/mosquitto/conf.d/myconf.conf<br />
添加：</p>
<pre class="wp-code-highlight prettyprint">password_file /etc/mosquitto/passwd
allow_anonymous false
</pre>
<p>设置用户名：sudo mosquitto_passwd -c passwd st_mqtt （st_mqtt表示用户名）根据设置来进行密码设置！<br />
然后查看一下：cat /etc/mosquitto/passwd<br />
<strong><br />
最后：设置自动启动</strong><br />
chkconfig mosquitto on<br />
至此已经安装完成，开启你的Mqtt之旅吧！</p>
<p>转载请注明转自:<a href="http://www.yunda51.com">运达's blog</a> 原文地址：<a href="http://www.yunda51.com/1705.html">http://www.yunda51.com/1705.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.yunda51.com/?feed=rss2&#038;p=1705</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Navicat远程连接虚拟机Mysql的时候报错mysql 1130的解决方法</title>
		<link>https://www.yunda51.com/?p=1642</link>
		<comments>https://www.yunda51.com/?p=1642#comments</comments>
		<pubDate>Tue, 01 Sep 2015 07:06:43 +0000</pubDate>
		<dc:creator><![CDATA[运达]]></dc:creator>
				<category><![CDATA[Mysql]]></category>
		<category><![CDATA[liunx]]></category>
		<category><![CDATA[navicta]]></category>

		<guid isPermaLink="false">http://www.yunda51.com/?p=1642</guid>
		<description><![CDATA[闲来无事，在自己笔记本上安装了虚拟机并且配置了nginx+php+mysql，这些东西都已顺利搭建，唯一的一点<a href="https://www.yunda51.com/?p=1642" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>闲来无事，在自己笔记本上安装了虚拟机并且配置了nginx+php+mysql，这些东西都已顺利搭建，唯一的一点就见表的时候不方便，所以用navicta工具连接自己虚拟机的mysql，结果出现了如下问题：<strong>ERROR 1130: Host '192.168.116.128' is not allowed to connect to this MySQL server（不允许连接到MySQL服务器，也就是没有给用户授权）</strong></p>
<p>经过研究找到了解决方法：</p>
<p>1、首先给用户授权，</p>
<p>我用的用户是root 密码123456</p>
<p>然后进入到mysql里面：mysql -uroot -p123456</p>
<p>进入之后，首选语法为:<br />
Sql代码 ：<br />
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;</p>
<p>执行代码。如图：</p>
<p><a href="http://www.yunda51.com/wp-content/uploads/2015/09/nav6.png"><img class="alignnone size-full wp-image-1645" src="http://www.yunda51.com/wp-content/uploads/2015/09/nav6.png" alt="nav6" width="834" height="76" /></a></p>
<p>示例: Sql代码<br />
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;</p>
<p>执行完后,再<br />
flush privileges;</p>
<p>如图：<a href="http://www.yunda51.com/wp-content/uploads/2015/09/push6.png"><img class="alignnone size-full wp-image-1646" src="http://www.yunda51.com/wp-content/uploads/2015/09/push6.png" alt="push6" width="371" height="64" /></a></p>
<p>&nbsp;</p>
<p>刷新一下权限就可以了,不用重启。</p>
<p>现在你在用navicta工具连接你虚拟机的mysql已经ok了！</p>
<p>转载请注明转自:<a href="http://www.yunda51.com">运达's blog</a> 原文地址：<a href="http://www.yunda51.com/1470.html">http://www.yunda51.com/1642.html</a></p>
]]></content:encoded>
			<wfw:commentRss>https://www.yunda51.com/?feed=rss2&#038;p=1642</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
