PIXNET Logo登入

Mint Fans

跳到主文

歡迎光臨 Mint Fans 的小天地

部落格全站分類:不設分類

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 1月 29 週三 202016:02
  • Kali Linux 2020.2

undefined
live-boot 參數添 locale 可修改 Live 系統語言:
日文 locale=ja_JP.UTF-8
英文 locale=en_US.UTF-8
繁中 locale=zh_TW.UTF-8
簡中 locale=zh_CN.UTF-8
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(323)

  • 個人分類:KALI
▲top
  • 10月 19 週六 201911:23
  • NVIDIA LTS Driver

硬體支援詳細資料
390.132
https://www.nvidia.com/Download/driverResults.aspx/153832/en-us
340.108
https://www.nvidia.com/Download/driverResults.aspx/156163/en-us
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(37)

  • 個人分類:ALL
▲top
  • 10月 17 週四 201915:26
  • Fedora 31 Mint Style

undefined
XFCE X86_64
* 添加新指令替代安裝移除套件
$ inst <packages> = sudo dnf install <packages>
$ del <packages> = sudo dnf remove <packages>
$ upd = sudo dnf makecache
$ upd pkg = sudo dnf update
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(8)

  • 個人分類:XFCE
▲top
  • 3月 19 週一 201806:27
  • openSUSE Tumbleweed / Fedora 27 Mint Style

undefined
XFCE X86_64
添加新指令替代安裝移除套件
$ inst <packages> = sudo zypper in <packages> / sudo dnf install <packages>
$ del <packages> = sudo zypper rm <packages> / sudo dnf remove <packages>
$ upd = sudo zypper refresh / sudo dnf makecache
$ upd pkg = sudo zypper up / sudo dnf update
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(46)

  • 個人分類:
▲top
  • 1月 02 週二 201807:15
  • Kali Linux 2016.2 / 2018.2 (2020 重製版)

undefined
live-boot 參數添 locale 可修改 Live 系統語言:
日文 locale=ja_JP.UTF-8
英文 locale=en_US.UTF-8
繁中 locale=zh_TW.UTF-8
簡中 locale=zh_CN.UTF-8
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(149)

  • 個人分類:Ubuntu/Debian
▲top
  • 7月 03 週日 201606:54
  • Debian / LMDE 安裝 compiz

undefined
Ubuntu 的安裝方法
# apt-get install compiz compizconfig-settings-manager compiz-plugins
分析依賴:
===============================
compiz
===============================
........compiz-core
........compiz-plugins-default
................libpng12-0
................compiz-core
................libdecoration0
........compiz-gnome
................libdecoration0
................libcompizconfig0
........................libprotobuf9v5
................compiz-plugins-default
........................libpng12-0
........................compiz-core
........................libdecoration0
................gnome-settings-daemon-schemas
................libmetacity-private3a
........................metacity-common
................session-migration
===============================
compizconfig-settings-manager
===============================
........python-compizconfig
................libcompizconfig0
........................libprotobuf9v5
===============================
compiz-plugins
===============================
........compiz-core
........compiz-plugins-default
................libdecoration0
................compiz-core
........libdecoration0
Debian / LMDE 安裝順序「以基於sid為例」:
# compiz-core
wget http://mirrors.kernel.org/ubuntu/pool/main/c/compiz/compiz-core_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i compiz-core_*.deb
# libdecoration0
wget http://mirrors.kernel.org/ubuntu/pool/main/c/compiz/libdecoration0_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i libdecoration0_*.deb
# libpng12-0
wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
dpkg -i libpng12-0_*.deb
# compiz-plugins-default
wget http://mirrors.kernel.org/ubuntu/pool/main/c/compiz/compiz-plugins-default_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i compiz-plugins-default_*.deb
# libprotobuf9v5
# wget http://mirrors.kernel.org/ubuntu/pool/main/p/protobuf/libprotobuf9v5_2.6.1-1.3_amd64.deb
# dpkg -i libprotobuf9v5_*.deb
apt-get install libprotobuf9v5
# libcompizconfig0
wget http://mirrors.kernel.org/ubuntu/pool/main/c/compiz/libcompizconfig0_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i libcompizconfig0_*.deb
# metacity-common
wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/m/metacity/metacity-common_3.18.4-3_all.deb
dpkg -i metacity-common_*.deb
apt-get -f install -y
# libmetacity-private3a
wget http://ftp.gnome.org/mirror/cdimage/snapshot/Debian/pool/main/m/metacity/libmetacity-private3a_3.18.4-3_amd64.deb
dpkg -i libmetacity-private3a_*.deb
# session-migration
wget http://mirrors.kernel.org/ubuntu/pool/main/s/session-migration/session-migration_0.2.3_amd64.deb
dpkg -i session-migration_*.deb
# gnome-settings-daemon-schemas
wget http://mirrors.kernel.org/ubuntu/pool/main/g/gnome-settings-daemon/gnome-settings-daemon-schemas_3.18.2-0ubuntu3_all.deb
dpkg -i gnome-settings-daemon-schemas_*.deb
# compiz-gnome
wget http://mirrors.kernel.org/ubuntu/pool/main/c/compiz/compiz-gnome_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i compiz-gnome_*.deb
apt-get -f install -y
# compiz
wget http://mirrors.kernel.org/ubuntu/pool/main/c/compiz/compiz_0.9.12.2+16.04.20160415-0ubuntu1_all.deb
dpkg -i compiz_*.deb
# python-compizconfig
wget http://mirrors.kernel.org/ubuntu/pool/universe/c/compiz/python-compizconfig_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i python-compizconfig_*.deb
# compizconfig-settings-manager
wget http://mirrors.kernel.org/ubuntu/pool/universe/c/compiz/compizconfig-settings-manager_0.9.12.2+16.04.20160415-0ubuntu1_all.deb
dpkg -i compizconfig-settings-manager_*.deb
# compiz-plugins
wget http://mirrors.kernel.org/ubuntu/pool/universe/c/compiz/compiz-plugins_0.9.12.2+16.04.20160415-0ubuntu1_amd64.deb
dpkg -i compiz-plugins_*.deb
### LMDE 設定腳本
wget https://github.com/Mint-Fans/linux-package/raw/debian/compiz-settings.tar.gz
tar -zxvf compiz-settings.tar.gz
./compiz-settings
###################################
Compiz 自動安裝腳本
###################################
$ sudo su
# wget https://github.com/Mint-Fans/linux-package/raw/debian/compiz-install
# chmod +x
# ./compiz-install
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(30)

  • 個人分類:Ubuntu/Debian
▲top
  • 7月 03 週日 201606:47
  • 「Adobe Flash Player 官方版」更新腳本

支援 Linux Mint (ubuntu) LMDE (debian) LMAE (archlinux) 64/32-bit 版本
安裝更新腳本
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(62)

  • 個人分類:ALL
▲top
  • 7月 03 週日 201606:41
  • 「Mozilla Firefox 官方版」更新腳本

不喜歡特定發行版加料的Firefox可以參考改用官方版. 已去除firefox自動更新.
僅在 Ubuntu / Debian (sid) / Arch Linux 上測試
必須已安裝發行版的firfox套件
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(30)

  • 個人分類:ALL
▲top
  • 5月 22 週日 201620:47
  • Debian / Ubuntu 編譯官方版核心

====================
編譯 Ubuntu 官方版核心
====================
Linux Mint 18 (Ubuntu xenial)
編譯Linux核心安裝所需的套件
$ sudo apt-get install git fakeroot build-essential libncurses5-dev xz-utils kernel-package libssl-dev zlib1g-dev debhelper kernel-wedge gawk
下載原始碼與補丁
$ wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_4.4.0.orig.tar.gz
$ wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux_4.4.0-21.37.diff.gz
解壓縮
$ tar xvf linux_4.4.0.orig.tar.gz
$ gunzip linux_4.4.0-21.37.diff.gz
Ubuntu 官方版原始碼補丁
$ mv linux-4.4 linux-4.4.0
$ patch -p0 -i linux_4.4.0-21.37.diff
設定檔案權限
$ cd linux-4.4.0
$ chmod a+x debian/rules
$ chmod a+x debian/scripts/*
$ chmod a+x debian/scripts/misc/*
設定核心功能與驅動程式
設定方法同前
$ fakeroot debian/rules clean
$ fakeroot debian/rules editconfigs
編譯核心
$ fakeroot debian/rules clean
$ fakeroot debian/rules binary-headers binary-generic
只須保留 linux-image-4.4.0-21-generic 和 linux-image-extra-4.4.0-21-generic 套件
如系統核心版號與編譯核心的版號一樣,必須使用Live系統或電腦上其他Linux以chroot方式替換.
替換核心
# apt-get --purge remove linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
將套件複製到 chroot系統/tmp
# cd /tmp
# dpkg -i linux-image-4.4.0-21-generic_4.4.0-21.37_amd64.deb
# dpkg -i linux-image-extra-4.4.0-21-generic_4.4.0-21.37_amd64.deb
編譯全部套件
$ debuild -e DEBIAN_KERNEL_JOBS=$(nproc)
====================
編譯 Debian 官方版核心
====================
LMDE (Debian sid)
編譯Linux核心安裝所需的套件
$ sudo apt-get install git fakeroot build-essential libncurses5-dev xz-utils kernel-package libssl-dev zlib1g-dev debhelper kernel-wedge gawk rsync quilt devscripts
下載Debian官方版原始碼
$ wget http://http.debian.net/debian/pool/main/l/linux/linux_4.4.6.orig.tar.xz
解壓縮原始碼
$ tar Jxvf linux_4.4.6.orig.tar.xz
$ cd linux-4.4.6
下載Debian官版補丁
$ wget http://http.debian.net/debian/pool/main/l/linux/linux_4.4.6-1.debian.tar.xz
$ tar Jxvf linux_4.4.6-1.debian.tar.xz
---- 編譯全部套件
$ make -f debian/rules clean
$ debuild -e DEBIAN_KERNEL_JOBS=$(nproc)
---- 編譯核心套件
套用Debian原始碼補丁
$ make -f debian/rules clean
$ make -f debian/rules orig
建立原始碼編譯目錄
$ make -f debian/rules source
編譯Linux核心並打包deb
$ fakeroot make -j2 -f debian/rules.gen binary-arch_amd64_none_amd64
保留 linux-image-4.4.0-1-amd64_4.4.6-1_amd64.deb 即可
替換核心
$ sudo apt-get --purge remove linux-image-4.4.0-1-amd64
將套件複製到 chroot系統/tmp
$ cd /tmp
$ sudo dpkg -i linux-image-4.4.0-1-amd64_4.4.6-1_amd64.deb
編譯錯誤處理
錯誤訊息: recipe for target 'debian/stamps/build_amd64_none_amd64' failed
$ ln -s 原始碼路徑/linux-4.4.6/debian/build/build_amd64_none_amd64 原始碼路徑/linux-4.4.6/debian/stamps/build_amd64_none_amd64
手動修改自訂核心功能
------------------------------------
linux-4.5.1/debian/config/kernelarch-x86/config-arch-64
多核心支援
# CONFIG_MAXSMP is not set 改為 CONFIG_MAXSMP=y
CONFIG_NR_CPUS=512 改為 CONFIG_NR_CPUS=8192
file: arch/x86/Kconfig 項目底下添加
CONFIG_CPUMASK_OFFSTACK=y
linux-4.5.1/debian/config/kernelarch-x86/config
### 筆電使用CONSERVATIVE 桌上型不用改
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y 改為 # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set 改為 CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE=y
VT-X 支援
# CONFIG_KVM_MMU_AUDIT is not set 改為 CONFIG_KVM_MMU_AUDIT=y
# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set 改為 CONFIG_PARAVIRT_TIME_ACCOUNTING=y
CONFIG_NODES_SHIFT=6 改為 CONFIG_NODES_SHIFT=10
linux-4.5.1/debian/config/config
### CPU 頻率 250Hz To 1000Hz
CONFIG_HZ_250=y 改為 # CONFIG_HZ_250 is not set
# CONFIG_HZ_1000 is not set 改為 CONFIG_HZ_1000=y
### CPU 變頻功能
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y 改為 # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
CONFIG_CPU_FREQ_STAT=m 改為 CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=m 改為 CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=m 改為 CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m 改為 CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
### 檔案格式支援
CONFIG_EXT4_FS=m 改為 CONFIG_EXT4_FS=y
CONFIG_VFAT_FS=m 改為 CONFIG_VFAT_FS=y
找尋 file: fs/fat/Kconfig
底下添加
CONFIG_FAT_FS=y
找尋 file: fs/jbd2/Kconfig
底下添加
CONFIG_JBD2=y
找尋 file: fs/Kconfig
底下添加
CONFIG_FS_MBCACHE=y
# CONFIG_NTFS_RW is not set 改為 CONFIG_NTFS_RW=y
# CONFIG_IKCONFIG is not set 改為 CONFIG_IKCONFIG=m
CONFIG_LOG_BUF_SHIFT=17 改為 CONFIG_LOG_BUF_SHIFT=15
CONFIG_CRC16=m 改為 CONFIG_CRC16=y
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(170)

  • 個人分類:Ubuntu/Debian
▲top
  • 4月 02 週六 201613:09
  • 開機不啟動桌面環境直接執行遊戲或程式

測試環境: Linux Mint 18 (Ubuntu 16.04) / LMDE sid+Sarah (Debian sid)
顯示管理器 MDM
開機不啟動桌面, 直接啟動 WINE 世紀帝國2 HD
(繼續閱讀...)
文章標籤

Mint Fans 發表在 痞客邦 留言(0) 人氣(394)

  • 個人分類:Ubuntu/Debian
▲top
12...4»

個人資訊

Mint Fans
暱稱:
Mint Fans
分類:
不設分類
好友:
累積中
地區:

文章分類

  • KALI (1)
  • ALL (3)
  • MATE (1)
  • Cinnamon (1)
  • XFCE (2)
  • Arch Linux (3)
  • Ubuntu/Debian (21)
  • 未分類文章 (1)

最新文章

  • Kali Linux 2020.2
  • NVIDIA LTS Driver
  • Fedora 31 Mint Style
  • openSUSE Tumbleweed / Fedora 27 Mint Style
  • Kali Linux 2016.2 / 2018.2 (2020 重製版)
  • Debian / LMDE 安裝 compiz
  • 「Adobe Flash Player 官方版」更新腳本
  • 「Mozilla Firefox 官方版」更新腳本
  • Debian / Ubuntu 編譯官方版核心
  • 開機不啟動桌面環境直接執行遊戲或程式

最新留言

  • [22/10/25] bear2xiong 於文章「手工打造自己的 Debian/Ubunt...」發表了一則私密留言
  • [22/04/27] 訪客 於文章「使用Debootstrap 建立 LMD...」留言:
    回饋您這方面資訊,我是從 PTT搜尋引擎的排名,看...

文章精選

文章搜尋

熱門文章

  • (3,956)fcitx 精簡安裝
  • (475)WINE安裝[Ubuntu/Debian]
  • (354)手工打造自己的 Debian/Ubuntu LiveCD
  • (118)使用Debootstrap 建立 LMDE XFCE
  • (110)使用Debootstrap 建立 LMDE Mate

誰來我家

參觀人氣

  • 本日人氣:
  • 累積人氣:

動態訂閱