<?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>服务器安全维护工作室 &#187; 安装AWS s3cmd命令</title>
	<atom:link href="https://www.fuwuqiok.com/tag/%e5%ae%89%e8%a3%85aws-s3cmd%e5%91%bd%e4%bb%a4/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fuwuqiok.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Mar 2020 07:28:40 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.26</generator>
	<item>
		<title>安装AWS s3cmd命令</title>
		<link>https://www.fuwuqiok.com/%e5%ae%89%e8%a3%85aws-s3cmd%e5%91%bd%e4%bb%a4/</link>
		<comments>https://www.fuwuqiok.com/%e5%ae%89%e8%a3%85aws-s3cmd%e5%91%bd%e4%bb%a4/#comments</comments>
		<pubDate>Fri, 31 Jul 2015 15:31:44 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[aws服务器代维]]></category>
		<category><![CDATA[s3cmd]]></category>
		<category><![CDATA[安装AWS s3cmd命令]]></category>
		<category><![CDATA[安装s3cmd]]></category>

		<guid isPermaLink="false">https://www.fuwuqiok.com/?p=2318</guid>
		<description><![CDATA[<p>在CentOS下安装s3cmd命令 s3cmd命令是可以操作AWS S3的非常强大的工具，不仅可以下载和上传文 [&#8230;]</p>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/%e5%ae%89%e8%a3%85aws-s3cmd%e5%91%bd%e4%bb%a4/">安装AWS s3cmd命令</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></description>
				<content:encoded><![CDATA[<p>在CentOS下安装s3cmd命令</p>
<p>s3cmd命令是可以操作AWS S3的非常强大的工具，不仅可以下载和上传文件，还有创建目录等功能。</p>
<p>s3cmd的使用场景是非常丰富的，比如把本地的日志文件备份到S3时，就可以使用s3cmd和cron的组合，进行定期的备份。 比如日志文件的保存期间是365天时，使用s3cmd从S3删除指定的目录等等。</p>
<p>在这里介绍一下CentOS下安装s3cmd命令的步骤。</p>
<h2>安装步骤</h2>
<h3>1. 确认python的版本</h3>
<pre># python -V
Python 2.6.6
</pre>
<p>在CentOS下使用s3cmd，需要python。AWS提供的CentOS6.5默认的Python版本是2.6.6。</p>
<h3>2. 下载及安装s3cmd命令</h3>
<pre># cd /tmp
# wget http://downloads.sourceforge.net/project/s3tools/s3cmd/1.5.0-alpha3/s3cmd-1.5.0-alpha3.tar.gz
#
# tar zxvf s3cmd-1.5.0-alpha3.tar.gz
#
# cd s3cmd-1.5.0-alpha3
#
# python setup.py install
#
# which s3cmd
/usr/bin/s3cmd
</pre>
<p><a rel="nofollow" href="https://www.fuwuqiok.com/%e5%ae%89%e8%a3%85aws-s3cmd%e5%91%bd%e4%bb%a4/">安装AWS s3cmd命令</a>，首发于<a rel="nofollow" href="https://www.fuwuqiok.com">服务器安全维护工作室</a>。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fuwuqiok.com/%e5%ae%89%e8%a3%85aws-s3cmd%e5%91%bd%e4%bb%a4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
