南强小屋 Design By 杰米

复制代码代码如下:
#!/bin/bash
SUCCESS=0
function checkInst()
{
#apt-get -y --force-yes install
for item in $1
do
echo "install =========== " ${item} " =========="
#printf "hello %.5s\n" message
apt-get -y --force-yes install ${item}
if [ "$?" -ne $SUCCESS ]
then
echo "ERROR Install " ${item}
read line1
fi
done
}
tools="ftp telnet nmap tftp ntpdate screen lsof manpages manpages-dev manpages-posix manpages-posix-dev strace ltrace chkconfig"
xdesktop="xserver-xorg-core xfce4 xfce4-terminal xfburn thunar-archive-plugin gdm "
editor="galculator vim vim-gtk medit rdesktop xvnc4viewer filezilla claws-mail claws-mail-i18n claws-mail-tnef-parser claws-mail-html2-viewer"
xtools="ristretto fbreader p7zip-full arj zip mscompress file-roller stardict-gtk iptux"
chineseinput="fcitx"
mediatools="alsa-base alsa-utils mplayer mencoder smplayer ffmpeg"
develops="astyle ctags cxref ccache gettext poedit gdb cppcheck build-essential graphviz intltool valgrind"
fssupport="fusesmb smbclient smbfs ntfs-3g sshfs openssh-client openssh-server"
nettools="ethtool wireless-tools wicd mtools dosfstools pppoe"
sniffer="wireshark"
desk3d="compiz compiz-fusion-plugins-extra compiz-fusion-plugins-main compiz-fusion-bcop compizconfig-settings-manager cairo-dock-compiz-icon-plugin"
others="rpm qbittorrent"
curlpkg="aria2 axel curl mpg321 easymp3gain-gtk jp2a nmon arping conky libnotify-bin inotify-tools dia dnsutils"
checkInst "${tools}"
checkInst "${xdesktop}"
checkInst "${editor}"
checkInst "${xtools}"
checkInst "${chineseinput}"
checkInst "${mediatools}"
checkInst "${develops}"
checkInst "${fssupport}"
checkInst "${sniffer}"
checkInst "${nettools}"
checkInst "${others}"
checkInst "${desk3d}"
checkInst "${curlpkg}"
apt-get install firmware-realtek firmware-linux-nonfree firmware-linux-free libqt4-opengl
apt-get -y --force-yes remove vim-tiny nano tasksel tasksel-data jfbterm zhcon --purge
apt-get -y --force-yes remove aumix ttf-arphic-ukai ttf-arphic-uming iceweasel --purge
apt-get autoremove --purge -y --force-yes
apt-get upgrade -y --force-yes
标签:
Debian,装机脚本

南强小屋 Design By 杰米
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
南强小屋 Design By 杰米

评论“一个Debian装机脚本代码”

暂无一个Debian装机脚本代码的评论...