<?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; Ubuntu</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu服务器突然断电后无法启动故障解决办法</title>
		<link>https://www.osyunwei.com/archives/17070.html</link>
		<comments>https://www.osyunwei.com/archives/17070.html#comments</comments>
		<pubDate>Tue, 31 Mar 2026 03:27:35 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=17070</guid>
		<description><![CDATA[故障描述： 一台Ubuntu 24.04.03 LTS服务器，突然断电后无法正常启动，卡在如下界面： 原因分析： 断电造成了系统内核文件丢失，导致 /boot 分区的文件系统损坏，GRUB引导配置无法正确指向内核文件 修复过程： 重启系统到内核选择界面 带*的是当前启动的内核，就是这个内核出现故障，无法正常启动， 后面带(recovery mode)的是对应内核的“恢复模式”， 现在我们选择另外一个内核，这个是第三个选项，回车。 现在应该就能正常启动系统了，登录系统之后查看系统内核 uname -r #查看系统当前启动的内核版本 dpkg --list &#124; grep linux-image &#124; grep -v 'linux-image-extra' #列出当前系统中所有内核 rc：已删除但配置文件仍保留（可以安全清理） ii：已安装（正常状态） 当前运行的内核：6.14.0-37-generic 状态为 ii（已安装），说明它是系统当前使用的有效内核。 其他内核版本： 大量 6.11.x 和 6.14.x 版本存在，多数为 rc 状态，说明这些是旧内核，已被卸载但残留配置。 6.17.0-19-generic 状态为 ii，说明它也是当前安装的内核之一，就是它出现故障，导致系统无法启动，需要清理掉 6.8.0-41-generic 状态为 iF，表示该包安装不完整或失败，可能是断电导致的残留问题。 #执行自动清理（清除所有 rc 状态的残留） sudo apt autoremove --purge sudo [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/17070.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/17070.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 24.04.1 LTS安装配置图解教程</title>
		<link>https://www.osyunwei.com/archives/15045.html</link>
		<comments>https://www.osyunwei.com/archives/15045.html#comments</comments>
		<pubDate>Thu, 23 Jan 2025 02:59:27 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=15045</guid>
		<description><![CDATA[一、Ubuntu Server 24.04.1 LTS系统安装 Ubuntu Linux发型版本目前有两种：Ubuntu桌面版和Ubuntu Server服务器版本，服务器系统建议选择Ubuntu Server服务器版本。 目前最新的服务器LTS版本是：Ubuntu Server 20.04.1 LTS（长期支持版本，5年技术支持） 安装镜像是：ubuntu-24.04.1-live-server-amd64.iso live代表默认安装过程中需要网络，会自动下载更新，安装时间会很久，甚至会卡在安装界面导致安装失败，因此建议安装前先断网，不让自动下载更新，安装就会很快。 Ubuntu Server 默认没有中文语言，我们使用默认的英文即可。 Ubuntu Linux发型版下载： http://cdimage.ubuntu.com/ubuntu/releases/ 系统镜像下载： https://mirrors.163.com/ubuntu-releases/24.04.1/ubuntu-24.04.1-live-server-amd64.iso 成功引导系统后进入下面的安装界面 选择第一项安装系统 选择安装语言  English continue without updating 继续而不更新    #选择此项，不更新 Done默认 默认选择第一项，安装Ubuntu Server 网络设置界面，默认即可，系统安装完成之后在设置 不使用代理，Done 默认是从官方源安装，会比较慢，可以改为国内源， 比如：163的源： http://mirrors.163.com/ubuntu/ 这里默认Done 选择Continue继续 磁盘分区，选择Custom storage layout    #自定义分区 我们使用lvm分区 lvm分区需要创建一个/boot分区 先创建/boot 分区，容量设置为1g Create创建分区 把剩余容量再创建一个分区 Format选择：Leave unformatted [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/15045.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/15045.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 20.04.x LTS使用systemd创建自定义开机启动服务</title>
		<link>https://www.osyunwei.com/archives/11198.html</link>
		<comments>https://www.osyunwei.com/archives/11198.html#comments</comments>
		<pubDate>Wed, 05 May 2021 03:48:49 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=11198</guid>
		<description><![CDATA[Ubuntu Server 20.04.x LTS系统中需要开机启动某个服务、开机备份文件等都可以通过systemd实现 1、创建配置文件 nano /lib/systemd/system/autostart.service #创建文件 [Unit] Description=autostart [Service] Type=forking PIDFile=/run/autostart.pid #EnvironmentFile=/etc/systemd/autostart.conf ExecStart=/home/autostart.conf ExecReload=/bin/kill -SIGHUP $MAINPID ExecStop=/bin/kill -SIGINT $MAINPID [Install] WantedBy=multi-user.target graphical.target Alias=autostart.service ctrl+o #保存配置 ctrl+x #退出 systemctl daemon-reload  #重新加载配置 说明： [Unit] 段: 启动顺序与依赖关系 [Service] 段: 如何启动、启动类型 [Install] 段: 如何实现开机启动 2、添加启动脚本 nano /home/autostart.conf #编辑启动脚本 #!/bin/bash echo `date`,"ok" &#62;&#62;/home/autostart.log ctrl+o #保存配置 ctrl+x #退出 chmod [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/11198.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/11198.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 20.04.1 LTS安装配置图解教程</title>
		<link>https://www.osyunwei.com/archives/10727.html</link>
		<comments>https://www.osyunwei.com/archives/10727.html#comments</comments>
		<pubDate>Mon, 11 Jan 2021 09:03:28 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=10727</guid>
		<description><![CDATA[一、Ubuntu Server 20.04.1 LTS系统安装 Ubuntu Linux发型版本目前有两种：Ubuntu桌面版和Ubuntu Server服务器版本，服务器系统建议选择Ubuntu Server服务器版本。 目前最新的服务器版本是：Ubuntu Server 20.04.1 LTS（长期支持版本，5年技术支持） ubuntu-20.04.1目前为止没有离线安装镜像，只有ubuntu-20.04.1-live-server-amd64.iso（多了个live） live代表安装过程中需要网络。 如果需要离线安装，可以使用ubuntu-18.04.5，此版本目前有离线安装镜像。 下载地址：http://cdimage.ubuntu.com/ubuntu/releases/18.04.5/release/ubuntu-18.04.5-server-amd64.iso Ubuntu Linux发型版下载： http://cdimage.ubuntu.com/ubuntu/releases/ 本次教程我们使用最新版本的Ubuntu Server 20.04.1 LTS，系统镜像使用在线安装镜像ubuntu-20.04.1-live-server-amd64.iso 系统镜像下载：https://releases.ubuntu.com/20.04/ubuntu-20.04.2-live-server-amd64.iso 选择安装语言  English Update to the new installer 更新到新安装程序 continue without updating 继续而不更新    #选择此项，不更新。 Done默认 网络设置，Done默认即可，#启用DHCP，安装过程需要网络，安装完成之后，我们在修改IP地址等信息 不使用代理，Done 默认是从官方源安装，会比较慢，可以改为国内源， 比如：163的源：http://mirrors.163.com/ubuntu/ 这里默认Done 磁盘分区，选择Custom storage layout    #自定义分区 Done 选择磁盘，这里是/dev/sda 选择Add GPT Partition  #添加分区 选择创建一个swap分区 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/10727.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/10727.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 18.04.5 LTS安装配置图解教程</title>
		<link>https://www.osyunwei.com/archives/10706.html</link>
		<comments>https://www.osyunwei.com/archives/10706.html#comments</comments>
		<pubDate>Wed, 23 Dec 2020 07:48:55 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=10706</guid>
		<description><![CDATA[一、Ubuntu Server 18.04.5 LTS系统安装 Ubuntu分为桌面版（desktop）和服务器版（Server），下面为大家介绍服务器版本Ubuntu Server 18.04.5 LTS的详细安装过程。 Ubuntu Server 18.04.5 LTS离线安装镜像下载地址： http://cdimage.ubuntu.com/ubuntu/releases/18.04.5/release/ubuntu-18.04.5-server-amd64.iso 选择安装语言  English 选择第一项，安装Ubuntu服务器版 选择安装过程中使用的语言，也是系统安装完后使用的默认语言 English 选择地区，other 再选择Asia 选择China 配置键盘，选择 United States 选择“No”默认键盘模式 确认使用美式键盘 设置主机名字，设置为ubuntu或者webserver都可以，此处设置的名称在系统登录界面显示。 创建新用户：输入新用户全名（注意：不是登录账号，相当于描述） 创建登录用户名（用此账号来登录系统） #系统安装过程中创建的这个用户属于管理员用户，并非普通用户 设置密码 再次输入密码 密码复杂性验证，选择Yes，也可以选No重新设置复杂的密码。 确认时区，选择Yes 选择磁盘分区的方法，这里选Manual手动分区 分区向导，选择需要安装的磁盘 Yes 可以看到上面所选磁盘的容量信息，点击磁盘空闲空间，我这里磁盘大小是21.5G 创建新分区 创建一个swap分区，容量4GB 类型选择主分区 开始 选择“EXT4日志文件系统” 挂载点：选择swap area交换分区 分区设定结束 继续选择空闲空间， 创建新分区 创建新分区 分区大小：17.5GB 主分区 选择“EXT4日志文件系统” 挂载点：选择/根分区 分区设定结束 选择Yes 将修改写入磁盘 是否使用代理，默认继续 是否自动更新，这里选择第一项，不自动更新。 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/10706.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/10706.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 13.04系统安装图解教程</title>
		<link>https://www.osyunwei.com/archives/6180.html</link>
		<comments>https://www.osyunwei.com/archives/6180.html#comments</comments>
		<pubDate>Sun, 05 May 2013 09:41:24 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 13.04]]></category>
		<category><![CDATA[Ubuntu 系统安装]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=6180</guid>
		<description><![CDATA[Ubuntu分为桌面版（desktop）和服务器版（Server） 下面为大家介绍服务器版本Ubuntu Server 13.04的详细安装过程。 附Ubuntu Server 13.04系统镜像下载地址： 32位：http://mirrors.163.com/ubuntu-releases/13.04/ubuntu-13.04-server-i386.iso 64位：http://mirrors.163.com/ubuntu-releases/13.04/ubuntu-13.04-server-amd64.iso 用启动盘成功引导之后，出现下面的界面 选择语言：中文（简体）   默认第一项：安装Ubuntu服务器版   询问是否继续安装所选择的语言版本，选择“yes”   选择“否”默认键盘模式    系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 配置键盘：汉语   键盘布局：汉语   设置主机名字   创建新用户：输入新用户全名（注意：不是登录账号，相当于描述）   输入：账号的用户名（这个是登录账号）   设置密码   再次输入密码   密码复杂性验证，选择是，也可以选否，重新设置复杂的密码   选择否 选择手动分区，进入下面的界面  分区向导，选择需要安装的磁盘 是   可以看到上面所选磁盘的容量信息，点击磁盘空闲空间，我这里磁盘大小是5.4G   创建新分区 大小：1GB 主分区 开始 选择交换空间    系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 点分区设定结束，这样就设置好了swap分区（一般为内存大小的2倍），继续重复上面的步骤，在划分一个根分区   [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/6180.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/6180.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 12.10安装配置</title>
		<link>https://www.osyunwei.com/archives/6112.html</link>
		<comments>https://www.osyunwei.com/archives/6112.html#comments</comments>
		<pubDate>Sun, 28 Apr 2013 08:53:50 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Server]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=6112</guid>
		<description><![CDATA[一、Ubuntu Server 12.10系统安装 Ubuntu分为桌面版（desktop）和服务器版（Server），下面为大家介绍服务器版本Ubuntu Server 12.10的详细安装过程。 附Ubuntu Server 12.10系统镜像下载地址： 32位：http://mirrors.163.com/ubuntu-releases/12.10/ubuntu-12.10-server-i386.iso 64位：http://mirrors.163.com/ubuntu-releases/12.10/ubuntu-12.10-server-amd64.iso 用启动盘成功引导之后，出现下面的界面 选择语言：中文（简体） 默认第一项：安装Ubuntu服务器版 询问是否继续安装所选择的语言版本，选择“yes” 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 选择“否”默认键盘模式 配置键盘：汉语 键盘布局：汉语 设置主机名字 创建新用户：输入新用户全名（注意：不是登录账号，相当于描述） 输入：账号的用户名（这个是登录账号） 设置密码 再次输入密码 密码复杂性验证，选择是，也可以选否，重新设置复杂的密码 选择否 选择手动 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 分区向导，选择需要安装的磁盘 是 可以看到上面所选磁盘的容量信息，点击磁盘空闲空间，我这里磁盘大小是5G 创建新分区 输入分区大小，先创建/boot分区，一般建议为200MB 主分区 开始 选择“EXT3日志文件系统” 挂载点：选择/boot 点分区设定结束 继续选择空闲空间， 创建新分区 分区大小：1GB 逻辑分区 开始 选择交换空间 点分区设定结束，这样就设置好了swap分区（一般为内存大小的2倍），继续重复上面的步骤，在划分一个根分区 选择空闲空间 创建新分区 分区大小，这里默认显示剩余空间（分区之前先要规划好，我这里只分/boot，swap和跟分区"/"）, 所以剩余空间全部给“/”分区，点继续 逻辑分区 挂载点：/ 点分区设定结束 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/6112.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/6112.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 12.10配置本地apt-get源</title>
		<link>https://www.osyunwei.com/archives/5653.html</link>
		<comments>https://www.osyunwei.com/archives/5653.html#comments</comments>
		<pubDate>Thu, 27 Dec 2012 12:38:36 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[本地源]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=5653</guid>
		<description><![CDATA[说明： 服务器操作系统：Ubuntu Servwr 12.10 服务器IP地址：192.168.21.152 1、挂载系统光盘（需要先准备好系统安装盘放入光驱） 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 /dev/cdrom  /media/cdrom  #把光盘挂载到/media/cdrom目录下 扩展阅读：服务器如果没有光驱，可以把系统镜像文件上传到服务器，然后通过下面的命令挂载镜像文件 mount -o loop -t iso9660  /home/ubuntu-12.10-server-i386.iso  /media/cdrom #把系统镜像文件/home/ubuntu-12.10-server-i386.iso挂载到/media/cdrom目录下 2、配置源文件 cp /etc/apt/sources.list /etc/apt/sources.listbak #备份原文件 nano /etc/apt/sources.list  #编辑，删除全部内容，添加下面一行 deb file:///media/cdrom quantal main  系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 ctrl+o  #保存配置 ctrl+x  #退出 参数说明： #/media/cdrom为挂载的目录（可以自己创建） #quantal为Ubuntu Server 12.10 的版本名称，main为系统安装文件中pool目录下的文件夹名字 #umount /media/cdrom 命令可以卸载 3、测试apt-get源是否设置成功 apt-get install ssh  #安装ssh 至此，Ubuntu [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/5653.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/5653.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 11.10安装snmp</title>
		<link>https://www.osyunwei.com/archives/3783.html</link>
		<comments>https://www.osyunwei.com/archives/3783.html#comments</comments>
		<pubDate>Wed, 09 May 2012 09:52:15 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3783</guid>
		<description><![CDATA[操作系统：Ubuntu Server 11.10 1、安装配置snmp apt-get install snmp snmpd   #安装，根据提示输入y即可 mv /etc/snmp/snmpd.conf  /etc/snmp/snmpd.confbak  #备份原有配置文件 nano /etc/snmp/snmpd.conf  #新建配置文件，添加以下内容 com2sec notConfigUser default public        group notConfigGroup v1 notConfigUser        group notConfigGroup v2c notConfigUser        view systemview included .1        access notConfigGroup "" any noauth exact systemview none none        syslocation www.osyunwei.com        syscontact Root osyunwei@osyunwei.com        pass .1.3.6.1.4.1.4413.4.1 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3783.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3783.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 12.04安装图解教程</title>
		<link>https://www.osyunwei.com/archives/3708.html</link>
		<comments>https://www.osyunwei.com/archives/3708.html#comments</comments>
		<pubDate>Thu, 26 Apr 2012 17:32:46 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Server 12.04]]></category>
		<category><![CDATA[Ubuntu Server 安装]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3708</guid>
		<description><![CDATA[一、说明： Ubuntu分为桌面版（desktop）和服务器版（Server），下面为大家介绍服务器版本Ubuntu Server 12.04的详细安装过程。 附Ubuntu Server 12.04系统镜像下载地址： 32位：http://gb.releases.ubuntu.com//precise/ubuntu-12.04-server-i386.iso 64位：http://mirror.ox.ac.uk/sites/releases.ubuntu.com/releases//precise/ubuntu-12.04-server-amd64.iso 二、安装系统：用启动盘成功引导之后，出现下面的界面 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接   选择语言：中文（简体） 默认第一项：安装Ubuntu服务器版 询问是否继续安装所选择的语言版本，选择“yes” 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 选择“否”默认键盘模式 配置键盘：汉语 键盘布局：汉语 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 设置主机名字 创建新用户：输入新用户全名（注意：不是登录账号，相当于描述） 输入：账号的用户名（这个是登录账号） 设置密码 再次输入密码 密码复杂性验证，选择是，也可以选否，重新设置复杂的密码 选择否 设置时钟 询问当前的时区是否设置正确，这里是Asia/Shanghai（亚洲/上海）,设置正确，选择是 分区向导，选择需要安装的磁盘 是 可以看到上面所选磁盘的容量信息，点击磁盘空闲空间，我这里磁盘大小是5G 创建新分区 输入分区大小，根据自己需要输入 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 类型：主分区 开始 点用于：选择“交换空间” 点分区设定结束，这样就设置好了swap分区（一般为内存大小的2倍），继续重复上面的步骤，在划分一个根分区 选择空闲空间 创建新分区 分区大小，这里默认显示剩余空间（分区之前先要规划好，我这里只分swap和跟分区"/"）, 所以剩余空间全部给“/”分区，点继续 主分区 挂载点：/  点分区设定结束 分区设定结束并将修改写入磁盘 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3708.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3708.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Ubuntu下取消MySQL数据库本机绑定限制</title>
		<link>https://www.osyunwei.com/archives/3479.html</link>
		<comments>https://www.osyunwei.com/archives/3479.html#comments</comments>
		<pubDate>Fri, 13 Apr 2012 08:57:32 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3479</guid>
		<description><![CDATA[出现问题：在Ubuntu系统中，添加了MySQL账户，赋予了数据库完全操作权限，并且允许数据库从外部链接 但是，还是无法远程访问MySQL数据库。 原因：Ubuntu系统中，默认安装的MySQL限制了只有本机才能访问数据库 解决办法：取消MySQL数据库的本机绑定限制 nano /etc/mysql/my.cnf    #编辑配置文件 找到bind-address = 127.0.0.1 改为 #bind-address = 127.0.0.1 ctrl+o   #保存配置 ctrl+x   #退出 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 /etc/init.d/mysql restart  #重启数据库 现在已经可以远程连接MySQL数据库了 &#160;&#160;&#160;&#160;&#160;» 本文链接：https://www.osyunwei.com/archives/3479.html» 订阅本站：https://www.osyunwei.com/feed» 转载请注明来源：系统运维 » Ubuntu下取消MySQL数据库本机绑定限制<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3479.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3479.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server下MySql数据库备份脚本</title>
		<link>https://www.osyunwei.com/archives/3436.html</link>
		<comments>https://www.osyunwei.com/archives/3436.html#comments</comments>
		<pubDate>Wed, 11 Apr 2012 14:55:19 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql备份]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=3436</guid>
		<description><![CDATA[说明: 我这里要把MySql数据库存放目录/var/lib/mysql下面的pw85数据库备份到/home/mysql_data里面，并且保存为mysqldata_bak_2012_04_11.tar.gz的压缩文件格式（2012_04_11是指备份执行时当天的日期）， 最后只保留最近7天的备份。 实现步骤： 1、创建保存备份文件的目录：/home/mysql_data    cd /home  #进入目录    mkdir mysql_data   #创建目录 2、创建备份脚本文件:/home/mysql_data/mysql_databak.sh    cd /home/mysql_data     #进入目录    touch mysql_databak.sh  #创建文件    nano  mysql_databak.sh  #编辑文件，输入以下内容 ####################################################################################################### #!/bin/sh DUMP=/usr/bin/mysqldump    #mysqldump备份程序执行路径 OUT_DIR=/home/mysql_data   #备份文件存放路径 LINUX_USER=root            #系统用户名 DB_NAME=pw85              #要备份的数据库名字 DB_USER=root               #数据库账号 注意：非root用户要用备份参数 --skip-lock-tables，否则可能会报错 DB_PASS=123456             #数据库密码 DAYS=7                     #DAYS=7代表删除7天前的备份，即只保留最近7天的备份 cd $OUT_DIR                #进入备份存放目录 DATE=`date +%Y_%m_%d`      #获取当前系统时间 OUT_SQL="$DATE.sql"        #备份数据库的文件名 TAR_SQL="mysqldata_bak_$DATE.tar.gz"  #最终保存的数据库备份文件名 $DUMP -u$DB_USER [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/3436.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/3436.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 11.10安装配置lnmp（Nginx+MySQL+PHP）第二版</title>
		<link>https://www.osyunwei.com/archives/2571.html</link>
		<comments>https://www.osyunwei.com/archives/2571.html#comments</comments>
		<pubDate>Mon, 20 Feb 2012 14:16:01 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LNMP]]></category>
		<category><![CDATA[lnmp]]></category>
		<category><![CDATA[Nginx+MySQL+PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[Ubuntu安装配置lnmp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2571</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口 说明：Ubuntu默认安装是没有开启任何防火墙的，为了服务器的安全，建议大家安装启用防火墙设置，这里推荐使用iptables防火墙。 whereis iptables #查看系统是否安装防火墙 iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables apt-get install iptables #如果默认没有安装，请运行此命令安装防火墙 iptables -L #查看防火墙配置信息，显示如下： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 ##################################################### Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ##################################################### nano /etc/iptables.default.rules #添加以下内容################################################################################################## *filter # [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2571.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2571.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 11.10安装配置lnmp（Nginx+MySQL+PHP）第一版</title>
		<link>https://www.osyunwei.com/archives/2543.html</link>
		<comments>https://www.osyunwei.com/archives/2543.html#comments</comments>
		<pubDate>Mon, 20 Feb 2012 04:52:00 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LNMP]]></category>
		<category><![CDATA[lnmp]]></category>
		<category><![CDATA[Nginx+MySQL+PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu Server 11.10]]></category>
		<category><![CDATA[Ubuntu安装配置lnmp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2543</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口 说明：Ubuntu默认安装是没有开启任何防火墙的，为了服务器的安全，建议大家安装启用防火墙设置，这里推荐使用iptables防火墙。 whereis iptables #查看系统是否安装防火墙 iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables apt-get install iptables #如果默认没有安装，请运行此命令安装防火墙 iptables -L #查看防火墙配置信息，显示如下： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容版权所有,转载请注明出处及原文链接 ##################################################### Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ##################################################### nano /etc/iptables.default.rules #添加以下内容 ################################################################################################## *filter [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2543.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2543.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server 11.10安装配置lamp（Apache+MySQL+PHP）</title>
		<link>https://www.osyunwei.com/archives/2527.html</link>
		<comments>https://www.osyunwei.com/archives/2527.html#comments</comments>
		<pubDate>Sat, 18 Feb 2012 12:08:20 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Apache+MySQL+PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu lamp]]></category>
		<category><![CDATA[Ubuntu Server]]></category>
		<category><![CDATA[Ubuntu安装配置lamp]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=2527</guid>
		<description><![CDATA[准备篇： 1、配置防火墙，开启80端口、3306端口 说明：Ubuntu默认安装是没有开启任何防火墙的，为了服务器的安全，建议大家安装启用防火墙设置，这里推荐使用iptables防火墙。 whereis iptables #查看系统是否安装防火墙 iptables: /sbin/iptables /usr/share/iptables /usr/share/man/man8/iptables.8.gz #表示已经安装iptables apt-get install iptables #如果默认没有安装，请运行此命令安装防火墙 iptables -L #查看防火墙配置信息，显示如下： 系统运维 www.osyunwei.com 温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接 ##################################################### Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ##################################################### nano /etc/iptables.default.rules #添加以下内容 ################################################################################################## *filter [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/2527.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/2527.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
