sh 在Ubuntu安装所有必需的软件安装后。
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 在Ubuntu安装所有必需的软件安装后。相关的知识,希望对你有一定的参考价值。
#!/bin/sh
# Update The Pakage
sudo apt update
sudo apt-get update
sudo apt upgrade -y
sudo apt-get upgrade -y
# Update Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# Make Updated java as default
sudo apt-get install oracle-java8-set-default
# Install GIT
sudo apt install git -y
# Install VLC
sudo apt install vlc -y
# Install LAMP
sudo apt-get install apache2 -y
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql -y
sudo apt-get install mysql-server -y
sudo apt-get install phpmyadmin -y
sudo chmod -R 777 /var/www
sudo chmod -R a+rwx /var/www
sudo echo "ServerName 127.0.0.1" >> /etc/apache2/apache2.conf
sudo echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf
sudo systemctl restart apache2
sudo apachectl restart
sudo cp /etc/group /etc/groups
sudo chown -R www-data:root /var/www
# Install Chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
# Node Install
sudo apt install curl -y
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash -
sudo apt install nodejs
# Install Mongo DB
sudo apt-get install -y mongodb-org
sudo systemctl start mongod
sudo systemctl status mongod
sudo systemctl enable mongod
# Python And Machine Learning
sudo apt install spyder -y
sudo apt-get install python-pip python-dev build-essential
sudo pip install --upgrade pip
sudo pip install --upgrade virtualenv
sudo pip install -U setuptools
sudo pip install -U pip
sudo pip install bs4
sudo pip install selenium
sudo apt install phantomjs -y
sudo pip install -U scikit-learn
sudo pip install matplotlib
sudo pip install numpy
sudo apt -y install python-opencv
# AVRO Install
wget "https://github.com/maateen/avro/releases/download/v2.0/avro_2.0-1_all.deb"
sudo dpkg -i --force-depends avro_2.0-1_all.deb
ibus restart
sudo apt install -f
以上是关于sh 在Ubuntu安装所有必需的软件安装后。的主要内容,如果未能解决你的问题,请参考以下文章
Ubuntu常用软件自动安装脚本
sh 安装ubuntu软件
sh 安装ubuntu软件
Ubuntu机器学习环境安装记录
运行 `pip install` 的 Ubuntu 出现错误“无法构建以下必需的软件包:* freetype”
ubuntu如何安装软件