<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>彩色筆小沛的知識庫 - Linux</title>
    <link>https://forum.jdp.tw/forum-60-1.html</link>
    <description>Latest 20 threads of Linux</description>
    <copyright>Copyright(C) 彩色筆小沛的知識庫</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 23 Oct 2026 11:08:22 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://forum.jdp.tw/static/image/common/logo_88_31.gif</url>
      <title>彩色筆小沛的知識庫</title>
      <link>https://forum.jdp.tw/</link>
    </image>
    <item>
      <title>中文介面改英文介面</title>
      <link>https://forum.jdp.tw/thread-60370-1-1.html</link>
      <description><![CDATA[vi /etc/default/locale
[mw_shl_code=bash,false]LANG=\&quot;zh_TW.UTF-8\&quot;
LANGUAGE=\&quot;zh_TW:zh\&quot;[/mw_shl_code]改為[mw_shl_code=bash,false]LANG=\&quot;en_US.UTF-8\&quot;
LANGUAGE=\&quot;en_US:en\&quot;[/mw_shl_code]]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Mon, 27 Dec 2021 03:21:00 +0000</pubDate>
    </item>
    <item>
      <title>常用指令整理</title>
      <link>https://forum.jdp.tw/thread-60360-1-1.html</link>
      <description><![CDATA[find
[Linux&amp;FreeBSD] Find 指令用法教學
https://blog.wu-boy.com/2009/01/linuxfreebsd-find-%E6%8C%87%E4%BB%A4%E7%94%A8%E6%B3%95%E6%95%99%E5%AD%B8/
How to find and delete files older than some particular time period in Linux
https://www.thegeekdiary.co ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Fri, 15 Nov 2019 07:15:21 +0000</pubDate>
    </item>
    <item>
      <title>將 vlmcsd 加成服務</title>
      <link>https://forum.jdp.tw/thread-60355-1-1.html</link>
      <description><![CDATA[#vi /lib/systemd/system/vlmcsd.service
[mw_shl_code=shell,true][Unit]
Description=KMS Server By vlmcsd
After=network.target

[Service]
Type=forking
PIDFile=/var/run/vlmcsd.pid
ExecStart=/usr/bin/vlmcsd -p /var/run/vlmcsd.pid
ExecStop=/bin/kill -H]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Thu, 13 Sep 2018 00:48:09 +0000</pubDate>
    </item>
    <item>
      <title>修改CentOS 7的語系(Locale)</title>
      <link>https://forum.jdp.tw/thread-60353-1-1.html</link>
      <description><![CDATA[#localectl set-locale LANG=en_US.utf8

Reference:How to Set Up System Locale on CentOS 7 | RoseHosting]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Sat, 25 Aug 2018 18:54:45 +0000</pubDate>
    </item>
    <item>
      <title>安裝Python3.6及使用pip</title>
      <link>https://forum.jdp.tw/thread-60346-1-1.html</link>
      <description><![CDATA[#yum install https://centos7.iuscommunity.org/ius-release.rpm
#yum install python36u python36u-pip python36u-devel
#mkdir py36env
#cd py36env
#python3.6 -m venv venv
#. venv/bin/activate
#pip install [package_name]
#pip install -r requirements.txt]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Fri, 01 Jun 2018 00:59:31 +0000</pubDate>
    </item>
    <item>
      <title>檢查 volume 是否已經被 mount 了</title>
      <link>https://forum.jdp.tw/thread-60344-1-1.html</link>
      <description><![CDATA[[mw_shl_code=bash,false]if grep -qs \'/mnt/foo\' /proc/mounts; then
    echo \&quot;It\'s mounted.\&quot;
else
    echo \&quot;It\'s not mounted.\&quot;
fi[/mw_shl_code]
Reference:
https://serverfault.com/questions/50585/whats-the-best-way-to-check-if-a-volume-is-mount]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Fri, 23 Mar 2018 02:00:58 +0000</pubDate>
    </item>
    <item>
      <title>CentOS7 Install OpenVAS8</title>
      <link>https://forum.jdp.tw/thread-1585-1-1.html</link>
      <description><![CDATA[Install OpenVAS
1) Disable SELINUX.
Edit /etc/selinux/config, save and reboot
2) Add required packages
yum install wget bzip2 texlive net-tools alien
3) Add Atomicorp repo
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
4) Install Open]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Mon, 12 Oct 2015 02:48:10 +0000</pubDate>
    </item>
    <item>
      <title>CentOS 7 安裝 XRDP</title>
      <link>https://forum.jdp.tw/thread-1582-1-1.html</link>
      <description><![CDATA[Reference:
Install xrdp on CentOS 7 / RHEL 7
http://www.itzgeek.com/how-tos/linux/centos-how-tos/install-xrdp-on-centos-7-rhel-7.html]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Sun, 13 Sep 2015 08:22:03 +0000</pubDate>
    </item>
    <item>
      <title>CentOS7 Samba Server 安裝與設定</title>
      <link>https://forum.jdp.tw/thread-1578-1-1.html</link>
      <description><![CDATA[Samba Server Installation and Configuration on CentOS 7
https://www.howtoforge.com/samba-server-installation-and-configuration-on-centos-7
[Linux] CentOS 7.0 Samba 4 建置
http://wendell3927.pixnet.net/blog/post/202113199-%5Blinux%5D-centos-7.0-samba- ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Wed, 29 Apr 2015 08:18:48 +0000</pubDate>
    </item>
    <item>
      <title>CentOS 7 設定 NTP 自動對時</title>
      <link>https://forum.jdp.tw/thread-1572-1-1.html</link>
      <description><![CDATA[[mw_shl_code=bash,true]yum -y install ntp
ntpdate pool.ntp.org
systemctl start ntpd
systemctl enable ntpd[/mw_shl_code]
Reference:
[Linux] 在 CentOS 7 上設定 NTP 自動對時
http://ephrain.pixnet.net/blog/post/59506624-%5Blinux%5D-%E5%9C%A8-centos-7-%E4 ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Wed, 25 Feb 2015 03:26:51 +0000</pubDate>
    </item>
    <item>
      <title>安裝 CentOS 7 後必做的七件事</title>
      <link>https://forum.jdp.tw/thread-1568-1-1.html</link>
      <description><![CDATA[安裝 CentOS 7 後必做的七件事
http://www.hkpug.net/2014/09/18/%E5%AE%89%E8%A3%9D-centos-7-%E5%BE%8C%E5%BF%85%E5%81%9A%E7%9A%84%E4%B8%83%E4%BB%B6%E4%BA%8B/]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Mon, 12 Jan 2015 02:24:40 +0000</pubDate>
    </item>
    <item>
      <title>Kali Linux - OpenVAS 修改GSAD允許外部連線</title>
      <link>https://forum.jdp.tw/thread-1551-1-1.html</link>
      <description><![CDATA[#service greenbone-security-assistant stop
#vi /etc/default/greenbone-security-assistant
將 GSA_ADDRESS=127.0.0.1 改為 GSA_ADDRESS=0.0.0.0
#service greenbone-security-assistant start]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Tue, 07 Oct 2014 02:06:33 +0000</pubDate>
    </item>
    <item>
      <title>兩張網路介面卡bonding設定</title>
      <link>https://forum.jdp.tw/thread-1549-1-1.html</link>
      <description><![CDATA[CentOS兩張網路介面卡頻寬合併
http://download.ithome.com.tw/article/index/id/2354]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Wed, 20 Aug 2014 07:02:04 +0000</pubDate>
    </item>
    <item>
      <title>CentOS 6.5 upgrade to 7.0</title>
      <link>https://forum.jdp.tw/thread-1544-1-1.html</link>
      <description><![CDATA[#vi /etc/yum.repos.d/upgradetool.repo
加入以下內容

#yum install redhat-upgrade-tool preupgrade-assistant-contents
#preupg
#rpm --import http://isoredirect.centos.org/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
#/usr/bin/redhat-upgrade-tool-cli --force - ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Sun, 03 Aug 2014 08:55:55 +0000</pubDate>
    </item>
    <item>
      <title>CentOS 7 &quot;ifconfig&quot; command not found</title>
      <link>https://forum.jdp.tw/thread-1542-1-1.html</link>
      <description><![CDATA[剛安裝完CentOS 7會沒有 ifconfig 這個指令可以使用，可以暫時使用 ip addr 看IP設定，如果還是想要使用ifconfig指令，可以用yum安裝net-tools (yum install net-tools)

Reference: 
Centos 7 impressions | WebPlay - And let\'s play
http://webplay.pro/linux/centos ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Sun, 13 Jul 2014 04:11:57 +0000</pubDate>
    </item>
    <item>
      <title>Nikto 警告訊息</title>
      <link>https://forum.jdp.tw/thread-1484-1-1.html</link>
      <description><![CDATA[執行 Nikto 時, 出現:
- ***** RFIURL is not defined in nikto.conf--no RFI tests will run *****
- ***** SSL support not available (see docs for SSL install) *****

(1) 解決 RFIURL is not defined in nikto.conf--no RFI tests will run
#vi /etc/nikto/confi ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Fri, 25 Oct 2013 01:58:47 +0000</pubDate>
    </item>
    <item>
      <title>OpenVAS 安裝上的問題</title>
      <link>https://forum.jdp.tw/thread-1482-1-1.html</link>
      <description><![CDATA[wapiti 2.3 (2013/10/20) 執行時發生以下錯誤: 
Traceback (most recent call last):
  File \&quot;wapiti\&quot;, line 42, in 
    from wapitiCore.net import HTTP, lswww
  File \&quot;/root/inst/wapiti-2.3.0/wapitiCore/net/HTTP.py\&quot;, line 24, in 
    import requests
ImportE ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Mon, 21 Oct 2013 07:38:43 +0000</pubDate>
    </item>
    <item>
      <title>awk 分割字串 執行指令</title>
      <link>https://forum.jdp.tw/thread-1433-1-1.html</link>
      <description><![CDATA[由於RT-N16的nvram不夠用，因此想要把不需要的值unset掉..

Example:
原始內容
ppp2_ac=
ppp2_defgw=1
ppp2_demand=0
ppp2_event=
ppp2_get_ac=
ppp2_get_srv=
ppp2_idle_txonly=1
執行
#nvram show|grep ppp2|awk \'{split($1,a,\&quot;=\&quot;)};{print a[1]}\'
結果
ppp2_ac
ppp2_ ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Sun, 09 Jun 2013 01:17:57 +0000</pubDate>
    </item>
    <item>
      <title>刪除特定日期的檔案與目錄</title>
      <link>https://forum.jdp.tw/thread-1430-1-1.html</link>
      <description><![CDATA[ls -l | grep \&quot;Jun  3\&quot; | awk \'{print $NF}\' | xargs rm -rf]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Mon, 03 Jun 2013 00:44:46 +0000</pubDate>
    </item>
    <item>
      <title>Disable TCP timestamps on Linux</title>
      <link>https://forum.jdp.tw/thread-1413-1-1.html</link>
      <description><![CDATA[暫時關掉
#sysctl -w net.ipv4.tcp_timestamps=0

永久關閉
#vi /etc/sysctl.conf
增加一行
net.ipv4.tcp_timestamps = 0

https://blog.theroux.ca/security/disable-tcp-timestamps-on-linux/
http://mohammednv.wordpress.com/ ... e-tcp-timestamping/
http://www.r ...]]></description>
      <category>Linux</category>
      <author>JDP</author>
      <pubDate>Mon, 15 Apr 2013 05:31:34 +0000</pubDate>
    </item>
  </channel>
</rss>