华为鸿蒙系统支持的手机型号-intel cpu 性能排行

debian安装
2023年4月5日发(作者:磁盘分区工具)

Debian-Live构建系统安装镜像⽰例

环境说明

Debian8(Jessie)

更改国内源,加快打包速度

#vimconfig/build

#vimconfig/bootstrap

#vimconfig/binary

配置

#mkdirtest-image&&cdtest-image

#lbconfig

--debian-installerlive

--iso-application"Testv1"

--iso-preparer"LiveBuildv4"

--iso-publishertest

--iso-volume"Testv1"

注意:执⾏lbconfig命令会重置auto/config⽂件的配置,⼀定要先备份配置⽂件再执⾏此命令。

安装标准软件

#echo'!PackagesPrioritystandard'>config/package-lists/

安装软件

#echo"ntpdatepythonpython-pipopenvpneasy-rsasupervisorsshpython2.7-devshellinabox">config/package-lists/

安装debian-installer

#echodebian-installer-launcher>config/package-lists/

添加系统源:

echo"deb/debian/jessiemain">config/archives/

echo"deb/debian/jessiemain">config/archives/

⾃定义内容

例如:内容放置⽬录为config/

#mkdir-pconfig//var/www

#cp/path/to/my/nfig//var/www

Hooks

脚本放置⽬录:config/hooks/

*.

*.

脚本:

#vimconfig/hooks/

#!/bin/sh

#echo"HOOK:Loadipforward"

echo1>/proc/sys/net/ipv4/ip_forward

sed-i's/#_forward=1/_forward=1/g'/etc/

sysctl-p

echo"HOOK:Configopenvpn"

cd/etc/openvpn/

cp/usr/share/doc/openvpn/examples/sample-config-files/./

cp/usr/share/doc/openvpn/examples/sample-config-files/./

cp/usr/share/easy-rsa/*./

echo"HOOK:Configsupervisor"

sed-i'$iusr/bin/supervisord'/etc/

#chmodu+xconfig/hooks/

Customizingthebinaryimage

#mkdir-pconfig/bootloaders

#cp-r/usr/share/live/build/bootloaders/*config/bootloaders/

#修改isolinux⽬录下的⽂件定制启动画⾯

#vimconfig/bootloaders/isolinux/

labelinstall

menulabel^TestInstall

linux/install/vmlinuz

initrd/install/

appendvga=788@APPEND_INSTALL@--quiet

#vimconfig/bootloaders/isolinux/

menuhshift0

menuwidth82

menutitleBootMenu

menuclear

#修改启动背景图⽚

-->

CustomizingDebianInstallerbypreseeding

#echo"d-idebian-installer/localestringen_US">>config/ler/

#vimconfig/ler/

创建镜像

#lbbuild

更多推荐

debian安装