﻿<?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://help.vps12.com/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>https://help.vps12.com</link>
	<description>分享服务器运维及实践解决方案</description>
	<lastBuildDate>Sat, 25 Jan 2025 07:14:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>ubuntu 17 更换apt源</title>
		<link>https://help.vps12.com/2127.html</link>
		<comments>https://help.vps12.com/2127.html#comments</comments>
		<pubDate>Fri, 20 May 2022 04:24:37 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2127</guid>
		<description><![CDATA[有一些生产环境的服务器上的ubuntu 17 18系统很久没搞了。升级的源都太旧了。网上找了几个源，测试了一下更新。希望能对大家有帮助。 ?View Code BASH1 sudo vim /etc/apt/sources.list 清空，更换成以下内容。然后保存退出。 ?View Code BASH1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 deb-src http://archive.ubuntu.com/ubuntu artful main restricted #Added by software-properties deb http://mirrors.aliyun.com/ubuntu/ artful main restricted deb-src http://mirrors.aliyun.com/ubuntu/ artful main restricted multiverse universe #Added by [...]]]></description>
		<wfw:commentRss>https://help.vps12.com/2127.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu18.04配置静态ip</title>
		<link>https://help.vps12.com/2005.html</link>
		<comments>https://help.vps12.com/2005.html#comments</comments>
		<pubDate>Fri, 10 Jul 2020 10:45:59 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[网络产品]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=2005</guid>
		<description><![CDATA[注意： 18.04和16.04不一样了，配置静态ip的方法有很大差异！ 查找netplan目录下默认的网络配置文件，文件后缀为.yaml，我的是叫01-network-manager-all.yaml的文件。如果没有可以使用sudo gedit 01-network-manager-all.yam自己创建。 编辑网络配置文件01-network-manager-all.yaml，内容如下： # Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager ethernets: enp3s0: #配置的网卡名称,使用ifconfig -a查看得到 dhcp4: no #dhcp4关闭 addresses: [192.168.202.36/24] #设置本机IP及掩码 gateway4: 192.168.202.1 #设置网关 nameservers: addresses: [192.168.202.1] #设置DNS 使用命令，使静态ip生效。 $ sudo netplan apply]]></description>
		<wfw:commentRss>https://help.vps12.com/2005.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu14.04找回管理员权限或root密码</title>
		<link>https://help.vps12.com/1723.html</link>
		<comments>https://help.vps12.com/1723.html#comments</comments>
		<pubDate>Mon, 12 Jun 2017 08:27:45 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[解决方案]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://help.vps12.com/?p=1723</guid>
		<description><![CDATA[Ubuntu14.04系统中，因为误操作导致管理员密码丢失或无效，并且忘记root密码，此时无法进行任何root/sudo权限操作。可以通过GRUB重新设置root密码，并恢复管理员账户到正常状态。 启动系统，显示GRUB选择菜单（如果默认系统启动过程不显示GRUB菜单，则在系统启动时需要长按[Shift]键，显示GRUB界面），选择Advanced options for Ubuntu，按下[Enter]进入，选择recovery mode，不要按下回车键。 按下[e]键进入命令编辑状态，到 linux /boot/vmlinuz-&#8230;&#8230;. ro recovery nomodeset 所在行，将“ro recovery nomodeset”替换为“quiet splash rw init=/bin/bash”，按下[F10]或者[Ctrl+x]重启系统。 此时以root身份启动一个可读写的bash，直接使用命令passwd更改root密码，然后按下[Ctrl+Alt+Delete]重启系统。 系统启动后进入字符终端[Ctrl+Alt+F]，使用root账户和密码登录系统，然后进行恢复管理账户状态操作。（图形界面终端为[Ctrl+Alt+F]）]]></description>
		<wfw:commentRss>https://help.vps12.com/1723.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何解决Ubuntu上压缩包乱码问题</title>
		<link>https://help.vps12.com/437.html</link>
		<comments>https://help.vps12.com/437.html#comments</comments>
		<pubDate>Tue, 16 Oct 2012 06:43:10 +0000</pubDate>
		<dc:creator>vps12.com</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[软件使用]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[vps12.com]]></category>

		<guid isPermaLink="false">http://blog.vps12.com/?p=437</guid>
		<description><![CDATA[安装Linux版7zip： ?View Code SHELL1 sudo apt-get install p7zip p7zip-full p7zip-rar 卸载可能安装过的rar相关包(默认是没有安装的)： ?View Code SHELL1 sudo apt-get remove rar unrar 经过这样操作，以后解压rar和zip文件时，file-roller(归档管理器)自动会调用7z来解压， 而7z能识别中文编码，不会出现乱码，解压和压缩都通过图形程序file-roller操作，完全不用涉及命令行。 如果不卸载掉rar，file-roller默认使用rar解压，而rar不能识别中文编码，所以可能会出现乱码。 当然你也就不能在Linux上创建rar文件了，但有必要打包成rar格式吗？ unrar虽然能识别中文编码，但它和rar一样不是自由软件，它们都是WinRAR那家公司的商业软件， 既然7z能解压rar文件，我又何必用它呢？ 总之file-roller默认使用7z解压7z/rar/zip，创建7z/zip包时也是使用7z，所以统一使用7z格式 能保证自己的压缩包不会乱码。在Linux创建7z包时，也可以像Windows版那样加密压缩包目录。]]></description>
		<wfw:commentRss>https://help.vps12.com/437.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
