工作环境换成Ubuntu18.04小记

本文涉及的产品
云数据库 Tair(兼容Redis),内存型 2GB
Redis 开源版,标准版 2GB
推荐场景:
搭建游戏排行榜
简介: 原文:工作环境换成Ubuntu18.04小记Linux汇总:https://www.cnblogs.com/dunitian/p/4822808.html#linux Ubuntu常用软件安装(小集合)http://www.
原文: 工作环境换成Ubuntu18.04小记

Linux汇总:https://www.cnblogs.com/dunitian/p/4822808.html#linux

Ubuntu常用软件安装(小集合)http://www.cnblogs.com/dunitian/p/6670560.html

Ubuntu 18.04 最小安装后:

img_f8be7797a38d02830102954457570fdd.png

更新之后:

  1. 系统自带的Python为3.6版本,已经没有Python2.7了
  2. ifconfig也跟CentOS7一样了 ==> ip addr
  3. 有些危险操作被屏蔽了
    img_badac828d74ee7fe49a15f8dcce0bfc2.png

更新系统

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

卸载应用

sudo apt autoremove gedit
sudo apt autoremove firefox*

命令安装

开启远程连接

sudo apt install openssh-server -y

安装Git版本控制

sudo apt install git -y

安装浏览器

sudo add-apt-repository ppa:a-v-shkop/chromium
sudo apt-get update
sudo apt-get install chromium-browser

安装FTP软件

sudo apt install filezilla -y

安装截图软件

sudo apt install flameshot -y
or
sudo apt install deepin-screenshot -y

设置快捷键参考:(设置-设备-键盘)
https://www.cnblogs.com/dunitian/p/6670560.html#img

GIF录屏

添加一下源:(回车)
sudo add-apt-repository ppa:peek-developers/stable
更新源:
sudo apt update
安装软件:
sudo apt install peek -y
设置快捷键:`Ctrl+Alt+G`

安装图片浏览器(设置为默认)

sudo apt install deepin-image-viewer -y

安装万能播放器

sudo apt-get install smplayer -y

安装远程桌面

sudo apt install rdesktop -y

安装MySQL

sudo apt install mysql-server

安装Redis

sudo apt install redis-server

安装Redis管理器

sudo snap install redis-desktop-manager

安装Htop监控

sudo apt install htop


微信

直接用谷歌桌面快捷键
https://www.cnblogs.com/dotnetcrazy/p/9124658.html

Flash

有需要再安装,现在基本上都是HTML5
sudo apt install flashplugin-installer

Virtual Box

有需要再安装:
sudo apt-get install virtualbox

Ubuntu 18.04 安装Virtual Box or VMWare workstation Pro 14
https://www.cnblogs.com/dunitian/p/9125432.html

deb包安装

安装过程出错就使用:sudo apt install -f 然后再安装

搜狗拼音

sudo dpkg -i sogoupinyin*.deb

福听PDF阅读器

sudo dpkg -i foxitreader*.deb

办公软件WPS

sudo dpkg -i wps-office*.deb

谷歌浏览器

sudo dpkg -i google-chrome*.deb
or
chromium
sudo add-apt-repository ppa:a-v-shkop/chromium
sudo apt-get update
sudo apt-get install chromium-browser

安装VSCode

sudo dpkg -i code*.deb

Go:Go

Python:Python

JS、CSS压缩:Minify

Git历史插件:Git History

Markdown:Markdown All in One

JetBrains快捷键:IntelliJ IDEA Keybindings

VSIX安装

有时候网络不好会出现如下情况:
img_4f4f2c46816eb73894e198385ffb8201.png

可以自行下载后安装:
img_cc16df379563a20be859c17c1e9162b5.png

安装 PostMan

参考:https://www.cnblogs.com/dunitian/p/6670560.html#_map17

安装 Anaconda3 + VSCode Python Path Config

sudo sh Anaconda3-5.3.0-Linux-x86_64.sh

Anacoda安装

参考:https://www.cnblogs.com/dotnetcrazy/p/9158715.html

根据提示,添加环境变量(最新版本已经不用自己添加了)

更新一下 source ~/.bashrc

换源:
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/
conda config --set show_channel_urls yes

VSCode配置

参考:https://www.cnblogs.com/dotnetcrazy/p/9095793.html

pip install --user yapf
pip install --user pycodestyle

安装Python代码格式化工具
"python.pythonPath": "/home/dnt/anaconda3/bin/python",
// 设置Python的代码格式化
"python.formatting.provider": "yapf",
// 设置Python的代码检查
"python.linting.flake8Path": "pycodestyle",
"python.linting.flake8Enabled": true

Jupyter默认路径 + 远程访问

生成配置文件:
jupyter-notebook --generate-config

打开配置文件:
code ~/.jupyter/jupyter_notebook_config.py

设置默认路径:
c.NotebookApp.notebook_dir = '/home/dnt/桌面/work'

https://www.cnblogs.com/dotnetcrazy/p/9552419.html
临时远程访问:`jupyter-notebook --ip=*`
https://www.cnblogs.com/dotnetcrazy/p/9552419.html

安装JetBrains系列

破解思路:https://www.cnblogs.com/dotnetcrazy/p/9711763.html

NetCore 2.1

https://www.cnblogs.com/dunitian/p/6745562.html#netcore2.1

安装思维导图

XMind8 Setup and Crack:https://www.cnblogs.com/dotnetcrazy/p/9757737.html

QT

https://www.cnblogs.com/dotnetcrazy/p/6725945.html


完整安装下需要卸载的软件

卸载libreOffice
sudo apt-get remove libreoffice-common

删除Amazon的链接
sudo apt-get remove unity-webapps-common # 旧版

sudo apt remove ubuntu-web-launchers # 新版

删除火狐:

sudo apt remove firefox # 新版

删除不常用的软件
sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot onboard deja-dup

sudo apt-get remove gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install

常用设置

Linux网络那点事
https://www.cnblogs.com/dunitian/p/6658578.html

怎么添加用户到sudo用户组
https://www.cnblogs.com/dunitian/p/6667683.html

相关实践学习
基于Redis实现在线游戏积分排行榜
本场景将介绍如何基于Redis数据库实现在线游戏中的游戏玩家积分排行榜功能。
云数据库 Redis 版使用教程
云数据库Redis版是兼容Redis协议标准的、提供持久化的内存数据库服务,基于高可靠双机热备架构及可无缝扩展的集群架构,满足高读写性能场景及容量需弹性变配的业务需求。 产品详情:https://www.aliyun.com/product/kvstore     ------------------------------------------------------------------------- 阿里云数据库体验:数据库上云实战 开发者云会免费提供一台带自建MySQL的源数据库 ECS 实例和一台目标数据库 RDS实例。跟着指引,您可以一步步实现将ECS自建数据库迁移到目标数据库RDS。 点击下方链接,领取免费ECS&RDS资源,30分钟完成数据库上云实战!https://developer.aliyun.com/adc/scenario/51eefbd1894e42f6bb9acacadd3f9121?spm=a2c6h.13788135.J_3257954370.9.4ba85f24utseFl
目录
相关文章
|
3月前
|
XML Ubuntu Linux
部署08---扩展-Win10配置WSL(Ubuntu)环境,WSL系统是什么意思,是Windows系统上的一个子系统, xml的一大特点是直链系统,直接链接你的CPU,硬盘和内存,如何用 WSL部署
部署08---扩展-Win10配置WSL(Ubuntu)环境,WSL系统是什么意思,是Windows系统上的一个子系统, xml的一大特点是直链系统,直接链接你的CPU,硬盘和内存,如何用 WSL部署
|
9天前
|
Ubuntu Linux 编译器
Linux/Ubuntu下使用VS Code配置C/C++项目环境调用OpenCV
通过以上步骤,您已经成功在Ubuntu系统下的VS Code中配置了C/C++项目环境,并能够调用OpenCV库进行开发。请确保每一步都按照您的系统实际情况进行适当调整。
114 3
|
9天前
|
Ubuntu
Ubuntu学习笔记(七):ubuntu下jupyter指定虚拟环境
本文介绍了如何在Ubuntu系统下使用Anaconda和Jupyter Notebook指定并切换不同的虚拟环境。
33 0
Ubuntu学习笔记(七):ubuntu下jupyter指定虚拟环境
|
1月前
|
Ubuntu 数据安全/隐私保护
Ubuntu22.04LTS环境部署实战
这篇文章提供了Ubuntu 22.04 LTS操作系统的详细安装步骤,包括选择语言、键盘布局、网络配置、软件源设置、磁盘分区、安装OpenSSH服务以及完成安装和首次登录系统的过程。
164 6
Ubuntu22.04LTS环境部署实战
|
2月前
|
Ubuntu 开发者 Python
|
1月前
|
Ubuntu 应用服务中间件 网络安全
Ubuntu 22.04环境下为Odoo开启80端口的方法
通过以上步骤,你应该能够在Ubuntu 22.04环境下为Odoo开启80端口。访问你的域名时,Nginx会将请求代理到Odoo,允许你通过80端口访问Odoo应用。
55 1
|
1月前
|
Ubuntu 开发工具 虚拟化
MacOS系统基于VMware Fusion配置Ubuntu 22.04LTS环境
这篇文章介绍了如何在MacOS系统上使用VMware Fusion虚拟化软件配置Ubuntu 22.04 LTS环境,包括自定义VMware Fusion网段、Ubuntu系统安装、配置root用户登录、设置静态IP地址、修改默认网卡名称、配置PS1变量、设置登录界面为字符界面、修改软件源和进行vim基础优化等步骤。
198 2
|
2月前
|
Ubuntu Shell C++
在Ubuntu18.04上安装ros2的环境,ros2的常用命令:播放包、录制包等
在Ubuntu18.04上安装ros2的环境,ros2的常用命令:播放包、录制包等
82 1
|
2月前
|
Ubuntu Linux 开发工具
【事件中心 Azure Event Hub】在Linux环境中(Ubuntu)安装Logstash的简易步骤及配置连接到Event Hub
【事件中心 Azure Event Hub】在Linux环境中(Ubuntu)安装Logstash的简易步骤及配置连接到Event Hub
|
2月前
|
机器学习/深度学习 Ubuntu Linux
【机器学习 Azure Machine Learning】使用Aure虚拟机搭建Jupyter notebook环境,为Machine Learning做准备(Ubuntu 18.04,Linux)
【机器学习 Azure Machine Learning】使用Aure虚拟机搭建Jupyter notebook环境,为Machine Learning做准备(Ubuntu 18.04,Linux)