安裝指令碼 for ubuntu。。。命令初探。。

2021-05-31 23:27:34 字數 1437 閱讀 4591

#!/bin/bash -e

echo -e "updating existing system\n"

echo -e "installing software...\n"

echo -e "please waiting...\n"

sudo apt-get install stardict

sudo apt-get install -y build-essential >/dev/null 2>&1

sudo apt-get install -y unrar  p7zip-full p7zip ssh flashplugin-installer rar build-essential vim vim-gnome gtk2-engines-pixbuf  gconf-editor  chromium-browser preload filezilla chmsee stardict openfetion   smplayer  amule drivel emacs23 multiget  tomboy evince openjdk-7-jre  compizconfig-settings-manager compiz-fusion-plugins-extra  indicator-weather gnome-shell  exuberant-ctags cscope  astyle enca  traceroute vsftpd nmap  indicator-multiload  gimp 

vlc moc moc-ffmpeg-plugin virtualbox tasksel

sudo apt-get install xchat-gnome

sudo apt-get install rsh-server rsh-client -y

#install lamp-server

sudo tasksel install lamp-server

sudo apt-get install telnetd xinetd -y 

sudo apt-get install uml-utilities birdge-utils

cd ;mkdir src 

mkdir bin 

#  radio tray indicator

##sudo add-apt-repository ppa:eugenesan/ppa

#sudo apt-get update >/dev/null 2>&1

#sudo apt-get install radiotray -y

## touchpad indicator

#sudo add-apt-repository ppa:atareao/atareao

#sudo apt-get update >/dev/null 2>&1

#sudo apt-get install touchpad-indicator -y

echo -e "over.....\n"

Docker安裝指令碼

阿里雲位址 lsb release cs stable sudo add apt repository deb arch amd64 lsb release cs stable sudo apt update apt cache policy docker ce sudo apt install y...

cenots docker安裝指令碼

國內訪問 docker hub 有時會遇到困難,此時可以配置映象加速器。國內很多雲服務商都提供了加速器服務,例如 註冊使用者並且申 速器,會獲得如 這樣的位址。我們需要將其配置給 docker 引擎。bin bash yum config manager add repo yum makecache...

指令碼安裝zabbix anget

centos伺服器 bin bash rpm uvh yum install y zabbix agent mv etc zabbix zabbix agentd.conf etc zabbix zabbix agentd.conf.source 備份原本的配置檔案 hostname hostnam...