导入PPA源
sudo add-apt-repository ppa:noobslab/themes
sudo add-apt-repository ppa:noobslab/icons
sudo wget https://repo.fdzh.org/chrome/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo add-apt-repository -y ppa:ondrej/mysql-5.7
sudo add-apt-repository -y ppa:ondrej/php
sudo add-apt-repository ppa:nginx/stable
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get update
在update
时如果遇到NO_PUBKEY
时执行(key
自己替换):
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192
安装环境
#基础
sudo apt install git curl
#桌面版美化
sudo apt-get install unity-tweak-tool
sudo apt-get install flatabulous-theme
sudo apt-get install ultra-flat-icons
sudo apt-get install zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
chsh -s /bin/zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
通过sudo vim ~/.zshrc
编辑.zshrc
在plugins
中添加zsh-autosuggestions
注销重登
具体的美化美化参考
#LNMP环境
sudo apt-get install nginx
sudo apt-get install mysql-server-5.7
sudo apt-get install php7.2 php7.2-fpm php7.2-mysql php7.2-gd php7.2-opcache php7.2-xml php7.2-curl php7.2-json php7.2-zip php7.2-mbstring
#nodejs
sudo apt-get install nodejs
#composer
sudo curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
composer config -g repo.packagist composer https://packagist.phpcomposer.com
php
可以安装多版本,通过nginx
自由调度
不是官方最新的phpstorm
可以通过sudo apt-get install phpstorm
安装
激活通过大佬共享的code
科学上网可以自行百度酸酸乳
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。