<?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>深蓝的blog &#187; CentOS</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=centos" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 07 Feb 2026 10:59:52 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>CentOS 7x安装Mysql8.0.x</title>
		<link>http://www.lanxinbase.com/?p=2493</link>
		<comments>http://www.lanxinbase.com/?p=2493#comments</comments>
		<pubDate>Fri, 03 Jan 2020 11:44:24 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[3.数据库相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[MySQL8.0]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=2493</guid>
		<description><![CDATA[其实官网有教程的，我这里记录下来，是因为要写一个自动化安装脚本，虽然不经常用到，但是还是写出来比较好。 Mys [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=2493</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos安装redis</title>
		<link>http://www.lanxinbase.com/?p=1790</link>
		<comments>http://www.lanxinbase.com/?p=1790#comments</comments>
		<pubDate>Sun, 03 Dec 2017 08:10:56 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[redis]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1790</guid>
		<description><![CDATA[官网下载的安装包 redis-4.0.2.tar.gz 1.解压文件tar -zxvf redis-4.0.2 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1790</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux、CentOS使用fdisk进行分区扩展</title>
		<link>http://www.lanxinbase.com/?p=894</link>
		<comments>http://www.lanxinbase.com/?p=894#comments</comments>
		<pubDate>Wed, 02 Mar 2016 03:53:27 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[分区]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=894</guid>
		<description><![CDATA[1、什么是分区？
    分区是将一个硬盘驱动器分成若干个逻辑驱动器，分区是把硬盘连续的区块当做一个独立的磁硬使用。分区表是一个硬盘分区的索引,分区的信息都会写进分区表。
2、为什么要有多个分区？

防止数据丢失：如果系统只有一个分区，那么这个分区损坏，用户将会丢失所的有数据。
增加磁盘空间使用效率：可以用不同的区块大小来格式化分区，如果有很多1K的文件，而硬盘分区区块大小为4K，那么每存储一个文件将会浪费3K空间。这时我们需要取这些文件大小的平均值进行区块大小的划分。
数据激增到极限不会引起系统挂起：将用户数据和系统数据分开，可以避免用户数据填满整个硬盘，引起的系挂起。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=894</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决&#8221;mysql-bin.000001&#8243;占用超大空间的问题</title>
		<link>http://www.lanxinbase.com/?p=698</link>
		<comments>http://www.lanxinbase.com/?p=698#comments</comments>
		<pubDate>Thu, 27 Aug 2015 02:01:04 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[3.数据库相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[mysql-bin]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=698</guid>
		<description><![CDATA[用ports安装了mysql以后，过一段时间发现/var空间不足了，查一下，会发现是mysql-bin.000001、mysql-bin.000002等文件占用了空间，那么这些文件是干吗的？这是数据库的操作日志，例如UPDATE一个表，或者DELETE一些数据，即使该语句没有匹配的数据，这个命令也会存储到日志文件中，还包括每个语句执行的时间，也会记录进去的。]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=698</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos 内存占满 释放内存</title>
		<link>http://www.lanxinbase.com/?p=628</link>
		<comments>http://www.lanxinbase.com/?p=628#comments</comments>
		<pubDate>Thu, 27 Aug 2015 01:32:39 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[内存]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=628</guid>
		<description><![CDATA[再 top，然后按下shift+m，也就是按内存占用百分比排序，发现排在第一的进程，才占用0.9%，那是什么占用的呢？谷歌了一下，据说是centos为了提高效率，把部分使用过的文件缓存到了内存里。如果是这样的话，我又不需要这样的文件性能，那就可以释放。如下两个命令就可以：]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=628</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS下开启mysql远程连接，远程管理数据库</title>
		<link>http://www.lanxinbase.com/?p=621</link>
		<comments>http://www.lanxinbase.com/?p=621#comments</comments>
		<pubDate>Thu, 27 Aug 2015 01:29:01 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[3.数据库相关]]></category>
		<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[8.易语言]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[远程连接]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=621</guid>
		<description><![CDATA[当服务器没有运行php、没装phpmyadmin的时候，远程管理mysql就显得有必要了。因为在CentOS下设置的，所以标题加上了CentOS，以下的命令在debian等系统下应该也OK。

mysql -u root -p mysql # 第1个mysql是执行命令，第2个mysql是系统数据名称]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=621</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>centos FTP服务器的架设和配置</title>
		<link>http://www.lanxinbase.com/?p=609</link>
		<comments>http://www.lanxinbase.com/?p=609#comments</comments>
		<pubDate>Thu, 27 Aug 2015 01:23:53 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[FTP]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=609</guid>
		<description><![CDATA[1.安装vsftpd

yum install vsftpd

2.启动/重启/关闭vsftpd服务器
[root@localhost ftp]# /sbin/service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ] 
OK表示重启成功了.
启动和关闭分别把restart改为start/stop即可.
如果是源码安装的,到安装文件夹下找到start.sh和shutdown.sh文件,执行它们就可以了.]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=609</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>配置完成vsftp，无法上传文件和建立文件夹 解决方法</title>
		<link>http://www.lanxinbase.com/?p=607</link>
		<comments>http://www.lanxinbase.com/?p=607#comments</comments>
		<pubDate>Thu, 27 Aug 2015 01:22:55 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vsftp]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=607</guid>
		<description><![CDATA[在centOs（linux）上用vsftp配置的ftp服务，用户权限等设置完成之后，发现从客户端无法上传文件及 [&#8230;]]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=607</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yum搭建lnmp环境（CentOS6.4)</title>
		<link>http://www.lanxinbase.com/?p=605</link>
		<comments>http://www.lanxinbase.com/?p=605#comments</comments>
		<pubDate>Thu, 27 Aug 2015 01:22:10 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[lnmp]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[环境搭建]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=605</guid>
		<description><![CDATA[在CentOS6.3下实践通过。

1.关闭防火墙

[root@CentOS ~]# chkconfig iptables off


2.关闭selinux
vi /etc/sysconfig/selinux 
//将SELINUX=enforcing修改为disabled然后重启生效]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=605</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决centos yum安装&#8221;No package nginx available.&#8221;问题</title>
		<link>http://www.lanxinbase.com/?p=603</link>
		<comments>http://www.lanxinbase.com/?p=603#comments</comments>
		<pubDate>Thu, 27 Aug 2015 01:20:58 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[2.运维相关]]></category>
		<category><![CDATA[5.互联网应用开发]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[安装]]></category>

		<guid isPermaLink="false">http://blog.lanxinbase.com/?p=603</guid>
		<description><![CDATA[问题描述：

[root@Centos ~]# yum install nginx
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * addons: mirror.bit.edu.cn
 * base: mirrors.btte.net
 * extras: mirrors.btte.net
 * updates: mirror.bit.edu.cn
Setting up Install Process
No package nginx available.
Nothing to do]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=603</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
