在Ubuntu 14.04 上安装单机版ELK 2.*(脚本化) 1.判断是否为root权限 if [ "${UID}" -ne 0 ]; then echo "You must be root to run this program." >&2 exit 3 fi 2.记录脚本运行日志(可以在ubuntu日志中找到对应的运行信息) log() { echo "$1" logger "$1" } 3.设置脚本运行…
ubuntu 14.04 desktop上安装vnc4server要装上gnome的一些软件包并修改启动文件~/.vnc/xstartup 问题来源How to make VNC Server work with ubuntu-desktop without xfce install these packages # apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal and use…