126 lines
7.6 KiB
XML
126 lines
7.6 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||
<channel>
|
||
<title>疑难解答 on 星火文档中心</title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/</link>
|
||
<description>Recent content in 疑难解答 on 星火文档中心</description>
|
||
<generator>Hugo -- gohugo.io</generator>
|
||
<language>en-us</language>
|
||
<lastBuildDate>Mon, 18 Oct 2021 16:58:57 +0800</lastBuildDate><atom:link href="http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/index.xml" rel="self" type="application/rss+xml" />
|
||
<item>
|
||
<title>bbr加速</title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/bbr%E5%8A%A0%E9%80%9F/</link>
|
||
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/bbr%E5%8A%A0%E9%80%9F/</guid>
|
||
<description>wget -N &ndash;no-check-certificate &ldquo;https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh&quot; &amp;&amp; chmod +x tcp.sh &amp;&amp; ./tcp.sh</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>Deepin启动 关闭 桌面环境/图形界面</title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E5%90%AF%E5%8A%A8/</link>
|
||
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E5%90%AF%E5%8A%A8/</guid>
|
||
<description>查看桌面环境状态:sudo service lightdm status
|
||
启动桌面环境:sudo service lightdm start
|
||
停止桌面环境:sudo service lightdm stop
|
||
重启桌面环境:sudo service lightdm restart</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>deepin添加ppa</title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/deepin%E6%B7%BB%E5%8A%A0ppa/</link>
|
||
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/deepin%E6%B7%BB%E5%8A%A0ppa/</guid>
|
||
<description>sudo apt-get install python-software-properties sudo apt-get install software-properties-common sudo apt-get update </description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>linux 查看进程</title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9F%A5%E7%9C%8B%E8%BF%9B%E7%A8%8B/</link>
|
||
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9F%A5%E7%9C%8B%E8%BF%9B%E7%A8%8B/</guid>
|
||
<description>ps aux | less </description>
|
||
</item>
|
||
|
||
<item>
|
||
<title>打deb包</title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%89%93%E5%8C%85/</link>
|
||
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%89%93%E5%8C%85/</guid>
|
||
<description>打包 by:shenmo
|
||
解包:dpkg -x ./xxx.deb ./x/ 解出来文件
|
||
dpkg -e ./xxx.deb ./x/ 解出来debian
|
||
应用程序放在 /opt
|
||
快捷方式 .desktop 放 /usr/share/applications
|
||
卸载脚本 删除 /opt/程序目录 (/usr/share/applications自动删)
|
||
修改快捷方式模板对应到 /opt/应用/可执行文件
|
||
修改快捷方式模板使其正确读取图标
|
||
创建卸载脚本
|
||
打包目录当/目录
|
||
DEBIAN 放包描述信息和卸载脚本
|
||
opt 放应用程序
|
||
/usr/share/applications 放desktop
|
||
DEBIN 下control放信息 postrm放删除信息
|
||
StartupWMClass=mentohust
|
||
如果这个应用有多个窗口,在dock栏和进程管理里面会统一显示为mentohust</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title></title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/linux%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F/</link>
|
||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/linux%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F/</guid>
|
||
<description></description>
|
||
</item>
|
||
|
||
<item>
|
||
<title></title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/rpm%E8%BD%ACdeb/</link>
|
||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/rpm%E8%BD%ACdeb/</guid>
|
||
<description>nohup
|
||
nohup可以把东西挂后台</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title></title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/sed%E5%91%BD%E4%BB%A4/</link>
|
||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/sed%E5%91%BD%E4%BB%A4/</guid>
|
||
<description>sed命令</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title></title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9B%B4%E6%94%B9ip%E5%9C%B0%E5%9D%80/</link>
|
||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E6%9B%B4%E6%94%B9ip%E5%9C%B0%E5%9D%80/</guid>
|
||
<description>更改ip地址
|
||
cd /etc/sysconfig/network-scripts/ vi ifcfg-*** 注意:ifcfg打头的文件可能有多个,建议逐个排查
|
||
以我的为例,我的叫ifcfg-eno16780032,打开后是以下内容
|
||
TYPE=&#34;Ethernet&#34; BOOTPROTO=&#34;none&#34; DEFROUTE=&#34;yes&#34; IPV4_FAILURE_FATAL=&#34;no&#34; IPV6INIT=&#34;yes&#34; IPV6_AUTOCONF=&#34;yes&#34; IPV6_DEFROUTE=&#34;yes&#34; IPV6_FAILURE_FATAL=&#34;no&#34; NAME=&#34;eno16780032&#34; UUID=&#34;71d75a18-06fc-4fbd-be98-d76ddb1a7cde&#34; DEVICE=&#34;eno16780032&#34; ONBOOT=&#34;yes&#34; IPADDR=&#34;192.168.51.199&#34; PREFIX=&#34;24&#34; GATEWAY=&#34;192.168.51.254&#34; DNS1=&#34;119.29.29.29&#34; IPV6_PEERDNS=&#34;yes&#34; IPV6_PEERROUTES=&#34;yes&#34; IPV6_PRIVACY=&#34;no&#34; 按“a”编写,按“esc”完成编写
|
||
编写完成后按“:” 如果保存就用“w”(代表write)如果不保存就按“q!&ldquo;强制退出(q代表quit,!代表强制)</description>
|
||
</item>
|
||
|
||
<item>
|
||
<title></title>
|
||
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BD%BF%E7%94%A8%E5%90%AF%E7%94%A8%E7%BD%91%E5%8D%A1/</link>
|
||
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
|
||
|
||
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%96%91%E9%9A%BE%E8%A7%A3%E7%AD%94/%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BD%BF%E7%94%A8%E5%90%AF%E7%94%A8%E7%BD%91%E5%8D%A1/</guid>
|
||
<description>第一次使用启用网卡(主要针对centos)
|
||
cd /etc/sysconfig/network-scripts ls vi ifcfg-*** service network restart </description>
|
||
</item>
|
||
|
||
</channel>
|
||
</rss>
|