欢迎光临散文网 会员登陆 & 注册

Debian wiki

2023-02-21 22:42 作者:O0Done  | 我要投稿

Debian make linuxkernel

#swap:8G   

#/boot:8G

#storge:50G  

#apt-get update && apt-get upgrade

#package:

gcc,make,g++,libncurses5-dev,libncurses-dev,libssl-dev,flex,libelf-dev,bc,bison,fakeroot,build-esential,gdb,dpkg-dev,pkg-config,rsync,kmod,cpio

#make menuconfig

#cp /boot/config-4.2.1 /root/config-5.19.cofig

#CONFIG_MODULE_SIG_ALL

#CONFIG_MODULE_SIG_KEY

#CONFIG_SYSTEM_TRUSTED_KEYS="”

#CONFIG_DEBUG_INFO

#CONFIG_SYSTEM_REVOCATION_KEYS=""

#make olddefconfig

# make -j8  

#make modules_install

#make install

#update-grub

#reboot

#apt-get remove --purge linux-image-4.4.4

#make -j8 deb-pkg

#dpkg -i linux* or #apt-get install ./linux*.deb


==============================================


Debian GNOME3.38可卸载软件包名

#apt-get remove gnome-2048,gnome-chess,gnome-games,five-ro-more,hitori,gnome-klotski,lightoff,gnome-mahjongg,gnome-mines,gnome-nibbles,gnome-robots,gnome-sudoku,swell-foop,gnome-taquin,gnome-tetraves,gnome-calendar,gnome-clocks,gnome-contacts,gnome-maps,gnome-music,quadrapassel,rhythmobx,gnome-todo,transmission-gtk,transmission-common,malcontent-gui,evolution,synaptic,network-manager-gnome,gnome-sound-recorder,software-properties-gtk,software-properties-common,cheese,cheese-common,libreoffice-*,libreoffice-common,gnome-shell-extensions,gnome-shell-extensions-prefs,eog,yelp,gnome-logs,gnome-weather,baobab,gnome-disks,simple-scan,gnome-screenshot,gnome-documents,seahorse,totem,totem-common,totem-plugins


Debian Gnome3.38背景配置

#默认背景名:homeworld-theme

#默认配置文件:/usr/share/desktop-base

#链接目录:/usr/share/image/desktop-base/

#链接目录:/etc/altematives

#清理链接文件:/usr/share/wallpapers


Debain清理dpkg的列表中有rc状态的包:

##dpkg -l | grep ^rc | awk ‘{print $2}’| xargs dpkg -P

#dpkg -l | grep ^rc | cut -d ‘’-f3 | xargs dpkg --purge


debian中GDM会话框

#/usr/share/gdm/BuiltlnSessions

#/usr/share/xsessions


debian登录语言配置

#/etc/locale.gen

#/etc/default/locale

#locale-gen


debian时区

#ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime


debian安装头文件

#apt-get install linux-header-$(uname -r)


debian关闭睡眠

#systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target


debian networkmanager配置文件

#/etc/NetworkManager/system-connections/


Debian wiki的评论 (共 条)

分享到微博请遵守国家法律