<?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>阿里云 &#8211; 科技改变生活-雨落星辰</title>
	<atom:link href="https://p1e.cn/html/tag/%E9%98%BF%E9%87%8C%E4%BA%91/feed" rel="self" type="application/rss+xml" />
	<link>https://p1e.cn</link>
	<description>所有的伟大,都源于一个勇敢的开始</description>
	<lastBuildDate>Fri, 24 Apr 2020 07:38:15 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>一键网络安装最新纯净CentOS7.X(自动分区扩容版)发布</title>
		<link>https://p1e.cn/html/377.html</link>
					<comments>https://p1e.cn/html/377.html#respond</comments>
		
		<dc:creator><![CDATA[Naoki]]></dc:creator>
		<pubDate>Tue, 28 Aug 2018 12:53:09 +0000</pubDate>
				<category><![CDATA[运维笔记]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[阿里云]]></category>
		<guid isPermaLink="false">https://www.815494.com/?p=377</guid>

					<description><![CDATA[我提供两种方式供你采用。（任选其一）。 1. 进入恢复模式（推荐）或在常规模式下，查看要安装的磁盘。（以下命令需要修改到您自己的磁盘） ①如果你是VPS，你应该像这样运行 wget -qO- https://p1e.cn/html/disk/centos/CentOS_7.X_NetInstallation.vhd.gz &#124; gunzip -dc &#124; dd of=/dev/vda ②如果你是一个专用服务器，你应该像这样运行 wget -qO- https://p1e.cn/html/disk/centos/Cent]]></description>
										<content:encoded><![CDATA[<p>我提供两种方式供你采用。（任选其一）。</p>
<p>1. 进入恢复模式（推荐）或在常规模式下，查看要安装的磁盘。（以下命令需要修改到您自己的磁盘）</p>
<p>①如果你是VPS，你应该像这样运行</p>
<pre>wget -qO- https://p1e.cn/html/disk/centos/CentOS_7.X_NetInstallation.vhd.gz | gunzip -dc | dd of=/dev/vda</pre>
<p>②如果你是一个专用服务器，你应该像这样运行</p>
<pre>wget -qO- https://p1e.cn/html/disk/centos/CentOS_7.X_NetInstallation.vhd.gz | gunzip -dc | dd of=/dev/sda</pre>
<p>2. 在正常模式下执行以下命令（通过MoeClub.org提供的脚本）<br />
(你需要注意，下面命令中引号是”英文状态引号”。)</p>
<pre>wget --no-check-certificate -qO InstallNET.sh 'http://www.815494.com/html/shell/reinstall/InstallNET.sh' &amp;&amp; bash InstallNET.sh -dd 'https://p1e.cn/html/disk/centos/CentOS_7.X_NetInstallation.vhd.gz'</pre>
<h3>您得明白</h3>
<p>1. 它将帮助您重新安装最新的CentOS7.X系统。（正式，纯粹，安全，高效）<br />
2. 执行后，您可能需要15-45分钟后才能通过IP:22进行连接。<br />
3. 新安装的系统root密码为<span style="color: #ff0000;">[cxthhhhh.com]</span> 。<br />
4. 系统首次启动后，请等待自动安装完成，系统将自动重启，然后才能使用。（安装过程中的手动干预可能会导致错误）<br />
5. IPV4和IPV6是开启的，并通过DHCP获取网络信息。<br />
6. 系统的DNS将被设置为1.1.1.1和8.8.8.8，用来保护您的隐私。<br />
7. 系统使用官方CentOS镜像，将自动匹配yum信息。拒绝服务提供商劫持。<br />
8. 登录信息标准化，易于管理。您需要在登录后修改它。<br />
9. 完成测试，非常适合Azure，Google Cloud，Vultr，Online，Net，OVH，阿里云，腾讯云中的许多专用服务器和KVM服务器。<br />
10. 对于手动分区版系统模板，默认分配磁盘大小为4.5G。所以你需要扩展磁盘如下（按照你的需求）。<br />
11. 在每次重装前，请保证你已经通过服务商面板重装过一次系统（CentOS/Debian/Ubuntu均可），不可以在已经DD安装过的系统上使用萌咖的自动脚本再次DD本系统，否则会报错，系统无法启动。手动DD不受此问题影响。<br />
12. 在安装过程中，请勿手动进行操作，也许会导致错误。如果您在屏幕（VNC）上看到以下界面，代表正在安装系统，请耐心等待。<br />
<img decoding="async" class="alignnone size-full wp-image-378" title="一键网络安装最新纯净CentOS7.X(自动分区扩容版)发布" src="https://i.p1e.cn/2018/08/CentOS_7.X_NetInstall.png" alt="一键网络安装最新纯净CentOS7.X(自动分区扩容版)发布" /></p>
<h3>开始享受纯净的CentOS7</h3>
<div></div>]]></content:encoded>
					
					<wfw:commentRss>https://p1e.cn/html/377.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>阿里云CentOS 7系统一键净化脚本，可优化并净化阿里云ECS实例</title>
		<link>https://p1e.cn/html/332.html</link>
					<comments>https://p1e.cn/html/332.html#respond</comments>
		
		<dc:creator><![CDATA[Naoki]]></dc:creator>
		<pubDate>Sat, 18 Aug 2018 01:21:14 +0000</pubDate>
				<category><![CDATA[运维笔记]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[阿里云]]></category>
		<guid isPermaLink="false">https://815494.com/?p=332</guid>

					<description><![CDATA[简介 该脚本可以移除阿里云监控程序，并使用防火墙阻止不良IP，以保护您的隐私。切换到其他yum存储库。阿里云镜像缺乏最新的软件包，使用这些旧软件包可能会导致安全漏洞。并保证在已有功能前提下实现真正的一键净化，并适配到所有CentOS 7机器，可以优化并净化所有自带模板的CentOS 7系统。 更新 当然是帮你保持系统是当前最新的，目前最新系统为：CentOS 7.5，阿里还未提供CentOS 7.5的系统模板。 将该系统的DNS永久改为1.1.1.1/8.8.8.8，一个宣称不收集用户隐私，一个备用信仰加成，防止服]]></description>
										<content:encoded><![CDATA[<h2>简介</h2>
<p>该脚本可以移除阿里云监控程序，并使用防火墙阻止不良<code>IP</code>，以保护您的隐私。切换到其他<code>yum</code>存储库。阿里云镜像缺乏最新的软件包，使用这些旧软件包可能会导致安全漏洞。并保证在已有功能前提下实现真正的一键净化，并适配到所有<code>CentOS 7</code>机器，可以优化并净化所有自带模板的<code>CentOS 7</code>系统。</p>
<div data-unique="更新"></div>
<h2>更新</h2>
<ul>
<li>当然是帮你保持系统是当前最新的，目前最新系统为：<code>CentOS 7.5</code>，阿里还未提供<code>CentOS 7.5</code>的系统模板。</li>
<li>将该系统的<code>DNS</code>永久改为<code>1.1.1.1/8.8.8.8</code>，一个宣称不收集用户隐私，一个备用信仰加成，防止服务商对服务器访问内容的监控。</li>
<li><code>Yum Mirror</code>修改为<code>CentOS</code>官方源，自动适配离机房距离较近的源，全球服务器均可通用。</li>
<li>增加对云盾新<code>IP</code>段的屏蔽。</li>
<li>增加对云盾新组件的清除工作。</li>
<li>拓展源<code>epel</code>的更新。</li>
<li><code>MOTD</code>登陆提示的规范化。</li>
<li>净化完可根据提示一键更换内核安装<code>LotServer</code>。</li>
</ul>
<div data-unique="脚本"></div>
<h2>脚本</h2>
<p>使用<code>root</code>运行以下命令：<br />
<span class="hljs-comment">#全新的安装</span></p>
<pre>sudo curl -sSL https://p1e.cn/html/disk/AlibabaCloud-CentOS7-Pure-and-safe-master/download/kill/New_installation.sh | sudo bash</pre>
<p><span class="hljs-comment">#快照/镜像恢复</span></p>
<pre>sudo curl -sSL https://p1e.cn/html/disk/AlibabaCloud-CentOS7-Pure-and-safe-master/download/<span class="hljs-keyword">kill</span>/Snapshot_image.sh | sudo bash</pre>
<p><span class="hljs-comment">#更换内核并安装LotServer</span></p>
<pre>sudo curl -sSL https://p1e.cn/html/disk/AlibabaCloud-CentOS7-Pure-and-safe-master/download/LotServer/install.sh | sudo bash</pre>
<p><strong>说明：</strong><br />
<code class="hljs shell"><span class="hljs-meta">#</span><span class="bash">全新的安装</span><br />
适用于在你的服务器控制面板刚刚安装完的系统。执行这个。<br />
<span class="hljs-meta"><br />
#</span><span class="bash">快照恢复</span><br />
适用使用过全新安装净化脚本的系统，于备份后恢复时执行(即使用了服务商提供的快照/你自建镜像服务恢复了系统恢复系统后，会再次被插入服务商的源和DNS以及阿里会插入云盾等安全加固软件)。<br />
</code><br />
如果全新安装后，外网ip无法访问，则需要关闭防火墙。</p>
<pre>systemctl stop firewalld.service
systemctl disable firewalld.service</pre>
<div></div>]]></content:encoded>
					
					<wfw:commentRss>https://p1e.cn/html/332.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&#038;附带教程</title>
		<link>https://p1e.cn/html/324.html</link>
					<comments>https://p1e.cn/html/324.html#respond</comments>
		
		<dc:creator><![CDATA[Naoki]]></dc:creator>
		<pubDate>Fri, 17 Aug 2018 02:58:53 +0000</pubDate>
				<category><![CDATA[运维笔记]]></category>
		<category><![CDATA[阿里云]]></category>
		<guid isPermaLink="false">https://815494.com/?p=324</guid>

					<description><![CDATA[我们在阿里云购买的云服务器开机后进程里都会自带AliYunDun、aliyun-service、AliYunDunUpdate程序。下面进程是通过宝塔面板截取的。 其实它就是阿里云盾（安骑士），是用来监控咱们的云服务器是购安全，可用以起到自动扫描查杀病毒的作用，同时还可以检测你的服务器是否有违规进程，如SS-(R)等代理相关进程。那么云盾IP又是做什么的？云盾IP是来自阿里云漏洞扫描机，主要是检测你的服务器是否存在已知漏洞。阿里云盾（安骑士）有好处，也有坏处，好处是一定程度保证你的服务器安全（估计作用不大），坏处时]]></description>
										<content:encoded><![CDATA[<p>我们在阿里云购买的云服务器开机后进程里都会自带AliYunDun、aliyun-service、AliYunDunUpdate程序。下面进程是通过宝塔面板截取的。</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-325" title="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" src="https://i.p1e.cn/2018/08/20171126154650-1.png" alt="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" width="600" height="99" /></p>
<p>其实它就是阿里云盾（安骑士），是用来监控咱们的云服务器是购安全，可用以起到自动扫描查杀病毒的作用，同时还可以检测你的服务器是否有违规进程，如SS-(R)等代理相关进程。那么云盾IP又是做什么的？云盾IP是来自阿里云漏洞扫描机，主要是检测你的服务器是否存在已知漏洞。阿里云盾（安骑士）有好处，也有坏处，好处是一定程度保证你的服务器安全（估计作用不大），坏处时时刻刻监控你的云服务器，你完全没有任何隐私而言，不但对病毒起监控作用，还对你存放的内容进行监控，雨辰曾经就遇到过这样的情况。</p>
<p>那么我们是不是可以把自带的阿里云盾（安骑士）卸载了呢？答案是肯定的！卸载方法很简单，执行下面三段命令即可。</p>
<p>1、卸载阿里云盾（安骑士）</p>
<pre class="prettyprint">wget http://update.aegis.aliyun.com/download/uninstall.sh && chmod +x uninstall.sh && ./uninstall.sh</pre>
<pre class="prettyprint">wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh && chmod +x quartz_uninstall.sh && ./quartz_uninstall.sh</pre>
<p>删除残留</p>
<pre class="prettyprint"><span class="pln">pkill aliyun</span><span class="pun">-</span><span class="pln">service
rm </span><span class="pun">-</span><span class="pln">fr </span><span class="pun">/</span><span class="pln">etc</span><span class="pun">/</span><span class="pln">init</span><span class="pun">.</span><span class="pln">d</span><span class="pun">/</span><span class="pln">agentwatch </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">sbin</span><span class="pun">/</span><span class="pln">aliyun</span><span class="pun">-</span><span class="pln">service 
rm </span><span class="pun">-</span><span class="pln">rf </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="kwd">local</span><span class="pun">/</span><span class="pln">aegis</span><span class="pun">*</span></pre>
<p><img decoding="async" class="alignnone size-full wp-image-326" title="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" src="https://i.p1e.cn/2018/08/20171126151743-1.png" alt="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" width="603" height="403" /></p>
<p>卸载后可以查看自己云服务器进程，已经没有了AliYunDun、aliyun-service、AliYunDunUpdate三项。</p>
<p><img decoding="async" class="alignnone size-full wp-image-327" title="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" src="https://i.p1e.cn/2018/08/20171126154939-1.png" alt="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" width="601" height="419" /></p>
<p>2、屏蔽云盾IP。执行下面命令通过“iptables”防火墙来屏蔽云盾IP。</p>
<pre class="prettyprint"><span class="pln">iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">201.0</span><span class="pun">/</span><span class="lit">28</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">201.16</span><span class="pun">/</span><span class="lit">29</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">201.32</span><span class="pun">/</span><span class="lit">28</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.192</span><span class="pun">/</span><span class="lit">29</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.200</span><span class="pun">/</span><span class="lit">30</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.184</span><span class="pun">/</span><span class="lit">29</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.183</span><span class="pun">/</span><span class="lit">32</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.206</span><span class="pun">/</span><span class="lit">32</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.205</span><span class="pun">/</span><span class="lit">32</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.195</span><span class="pun">/</span><span class="lit">32</span> <span class="pun">-</span><span class="pln">j DROP 
iptables </span><span class="pun">-</span><span class="pln">I INPUT </span><span class="pun">-</span><span class="pln">s </span><span class="lit">140.205</span><span class="pun">.</span><span class="lit">225.204</span><span class="pun">/</span><span class="lit">32</span> <span class="pun">-</span><span class="pln">j DROP</span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-328" title="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" src="https://i.p1e.cn/2018/08/20171126153525-1.png" alt="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" width="580" height="178" /></p>
<p>或者直接通过web管理面板来屏蔽这些IP，下面雨辰使用的是宝塔面板。</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-329" title="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" src="https://i.p1e.cn/2018/08/20171126153733-1.png" alt="如何强制卸载阿里云盾（安骑士）监控及屏蔽云盾IP检测&amp;附带教程" width="600" height="329" /></p>
<div></div>]]></content:encoded>
					
					<wfw:commentRss>https://p1e.cn/html/324.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>阿里云Centos7安装LNMP+wordpress</title>
		<link>https://p1e.cn/html/75.html</link>
					<comments>https://p1e.cn/html/75.html#respond</comments>
		
		<dc:creator><![CDATA[Naoki]]></dc:creator>
		<pubDate>Thu, 24 May 2018 15:00:12 +0000</pubDate>
				<category><![CDATA[运维笔记]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[阿里云]]></category>
		<guid isPermaLink="false">https://815494.com/?p=75</guid>

					<description><![CDATA[1. 安装Nginx #yum install nginx #配置文件处于/etc/nginx #systemctl start nginx #启动nginx #systemctl enable nginx.service # 设置为开机启动 #systemctl status firewalld #检查防火墙，如果为active (running)，则 #vim /etc/firewalld/zones/public.xml # 在zone &#60;zone&#62; … &#60;service name=”ngi]]></description>
										<content:encoded><![CDATA[<p><strong>1. 安装Nginx</strong></p>
<pre class="brush:bash;">#yum install nginx      #配置文件处于/etc/nginx
#systemctl start nginx   #启动nginx
#systemctl enable nginx.service  # 设置为开机启动

#systemctl status firewalld  #检查防火墙，如果为active (running)，则
#vim /etc/firewalld/zones/public.xml   # 在zone

&lt;zone&gt;
…
&lt;service name=”nginx”/&gt;
&lt;zone&gt;
#systemctl reload firewalld

</pre>
<p><strong>2. 安装Mysql(not MariaDB)</strong></p>
<pre class="brush:bash;">#rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
#yum repolist enabled | grep “mysql.*-community.*”
#yum -y install mysql-community-server

#yum -y install mysql-community-server   #安装社区版
#systemctl start mysqld                  # 启动mysql
#mysql_secure_installation              # mysql安全安装，输入root密码，一路y

</pre>
<p><strong>3. 安装PHP</strong></p>
<pre class="brush:bash;">#yum install php-fpm php-mysql
#systemctl start php-fpm        # 启动php-fpm
#systemctl enable php-fpm      # 设置开机启动

#mkdir /var/www
#chown -R apache:apache /var/www
</pre>
<p>修改Nginx的配置文件：在 /etc/nginx/conf.d 目录下新建 wordpress.conf</p>
<pre class="brush:plain;">server {
listen 8000;
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000

location ~ .php$ {
root /usr/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}

</pre>
</div>
<pre class="brush:bash;">#systemctl reload nginx
</pre>
<p>在/usr/www 目录中创建 phpinfo.php</p>
<pre class="brush:php;">&lt;?php echo phpinfo(); ?&gt;
</pre>
</div>
<p>外部访问：<a href="http://114.215.172.90:8000/phpinfo.php" rel="nofollow">http://114.215.172.90:8000/phpinfo.php</a></p>
<p><strong>4. 安装wordpress</strong><br />
从<a href="https://cn.wordpress.org/" rel="nofollow">https://cn.wordpress.org/</a>下载 wordpress-4.4.2-zh_CN.tar.gz, 解压到/usr/www<br />
创建wordpress数据库</p>
<pre class="brush:bash;">#mysql -uroot -p
#create database wordpress
</pre>
<p>通过<a href="http://114.215.172.90:8000/wordpress" rel="nofollow">http://114.215.172.90:8000/wordpress</a>访问，并安装提示进行安装，中间需要添加mysql用户名和密码，并制定wordpress相关的用户名和密码，然后创建成功。</p>
<p><a href="http://114.215.172.90:8000/wordpress/" rel="nofollow">http://114.215.172.90:8000/wordpress/</a> 访问既可，也可以点击页面中的登陆进行页面设置等相关管理工作。</p>
<div></div>]]></content:encoded>
					
					<wfw:commentRss>https://p1e.cn/html/75.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
