#!/bin/bash
echo "# Deb Cdrom:[ubuntu 14.10 _utopic unicorn_-Release amd64 (20141022.1)]/utopic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# Newer versions of the distribution.
Deb Http://mirrors.aliyun.com/ubuntu/utopic main restricted
DEB-SRC http://mirrors.aliyun.com/ubuntu/utopic Main restricted
# # Major bug fix updates produced after the final release of the
# # Distribution.
Deb Http://mirrors.aliyun.com/ubuntu/utopic-updates main restricted
DEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-updates Main restricted
# # N.B. Software from this repository are entirely unsupported by the Ubuntu
# # Team. Also, please note this software in universe won't receive any
# # Review or updates from the Ubuntu security team.
Deb Http://mirrors.aliyun.com/ubuntu/utopic Universe
DEB-SRC Http://mirrors.aliyun.com/ubuntu/utopic Universe
Deb Http://mirrors.aliyun.com/ubuntu/utopic-updates Universe
DEB-SRC Http://mirrors.aliyun.com/ubuntu/utopic-updates Universe
# # N.B. Software from this repository are entirely unsupported by the Ubuntu
# # Team, and may not is under a free licence. Satisfy yourself as to
# # Your rights to use the software. Also, please note this software in
# # Multiverse won't receive any review or updates from the Ubuntu
# # Security Team.
Deb Http://mirrors.aliyun.com/ubuntu/utopic Multiverse
DEB-SRC Http://mirrors.aliyun.com/ubuntu/utopic Multiverse
Deb Http://mirrors.aliyun.com/ubuntu/utopic-updates Multiverse
DEB-SRC Http://mirrors.aliyun.com/ubuntu/utopic-updates Multiverse
# # N.B. Software from this repository and not having been tested as
# extensively as that contained in the main release, although it includes
# # Newer versions of some applications which may provide useful features.
# # Also, please note this software in Backports won't receive any review
# # or updates from the Ubuntu security team.
Deb Http://mirrors.aliyun.com/ubuntu/utopic-backports main restricted universe multiverse
DEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-backports main restricted universe multiverse
Deb Http://mirrors.aliyun.com/ubuntu/utopic-security main restricted
DEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-security Main restricted
Deb Http://mirrors.aliyun.com/ubuntu/utopic-security Universe
DEB-SRC Http://mirrors.aliyun.com/ubuntu/utopic-security Universe
Deb Http://mirrors.aliyun.com/ubuntu/utopic-security Multiverse
DEB-SRC http://mirrors.aliyun.com/ubuntu/utopic-security Multiverse
# # Uncomment the following, lines to add software from Canonical ' s
# # ' partner ' repository.
# # This software was not part of Ubuntu, but was offered by Canonical and the
# # respective vendors as a service to Ubuntu users.
# Deb Http://archive.canonical.com/ubuntu utopic Partner
# DEB-SRC Http://archive.canonical.com/ubuntu utopic Partner
# # This software was not part of Ubuntu, but was offered by Third-party
# # developers want to ship their latest software.
Deb Http://extras.ubuntu.com/ubuntu utopic Main
DEB-SRC http://extras.ubuntu.com/ubuntu utopic main "|sudo tee/etc/apt/sources.list
sudo apt-get update
sudo apt-get install gcc
sudo apt-get install g++
sudo apt-get install git
sudo apt-get install cutecom
sudo apt-get install FileZilla
sudo apt-get install vim
sudo apt-get install terminator
#install chromium brower and Flash plugin
echo "Install chromium Brower and Flash plugin"
sudo apt-get install chromium-browser-y
sudo apt-get install pepperflashplugin-nonfree-y
sudo update-pepperflashplugin-nonfree--install
#install Sublime
echo "Install sublime 2"
sudo apt-get install Axel
Axel Http://c758482.r82.cf2.rackcdn.com/sublime\ text\ 2.0.2\ x64.tar.bz2
Tar jxvf sublime\ text\ 2.0.2\ x64.tar.bz2
sudo rm sublime\ text\ 2.0.2\ x64.tar.bz2
sudo mv sublime\ text\ 2/usr/lib/sublimetext2
sudo ln-s/usr/lib/sublimetext2/sublime_text/usr/bin/sublime
sudo echo "[Desktop Entry]
version=1.0
Name=sublime Text 2
Genericname=text Editor
Exec=sublime
Terminal=false
Icon=/usr/lib/sublimetext2/icon/48x48/sublime_text.png
Type=application
Categories=testeditor:ide:development
X-ayatana-desktop-shortcuts=newwindow
[NewWindow Shortcut Group]
Name=new Window
Exec=sublime-n
Targetenviroment=unity "> Sublime.desktop
sudo mv Sublime.desktop/usr/share/applications/sublime.desktop
#openssh
sudo apt-get install openssh-server-y
sudo sed-i ' s/without-password/yes/g '/etc/ssh/sshd_config
A list of software components that the new system must install