部署流程
- 安装系统
- 安装Eclipse和jre
- 配置系统
- 安装辅助工具
安装系统
用安装盘安装即可。
一般boot 1G,swap按内存大小,home 20G,根剩余。
安装Eclipse和jre
解压到文件夹eclipse-cpp-oxygen-3-linux-gtk-x86_64.tar.gz
和jre-8u161-linux-x64.tar.gz
得到eclipse/
和jre1.8.161/
sudo mv ./eclipse /opt sudo mv ./jre1.8.161 /usr/lib/java # 配置jre sudo gedit /etc/environment JAVA_HOME="/usr/lib/java/" CLASSPATH="$JAVA_HOME/lib" #PATH=".....:/usr/lib/java/bin" sudo update-alternatives --install /usr/bin/java java /usr/lib/java/bin/java 300 # 配置Eclipse的快捷方式 touch /usr/share/applications/eclipse.desktop [Desktop Entry] Name=Eclipse Comment=Eclipse SDK Encoding=UTF-8 Exec=/opt/eclipse/eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=Application;Development; sudo chmod 777 /usr/share/applications/eclipse.desktop
配置系统
#安装基本开发组件 sudo apt-get install build-essential # 关闭系统错误报告 sudo gedit /etc/default/apport # set =0 # 配置开机自动登陆,UI中进行 # 配置程序自动启动,UI中进行,或/etc/rc.local # 配置usb与串口端口权限和别名,见代码中 # 配置串口组 sudo adduser name dialout
gnome-terminal -- /home/msharp/workcvbg/dros_space/dros/Debug/dros
辅助工具
- teamviewer
- 微信 Firefox插件
- IPtux 飞鸽传书
- 五笔配置
- ftp
- telnet
[error1]: Can‘t find a source file at "/build/glibc-Cl5G7W/glibc-2.23/nptl/pthread_setschedprio.c" Locate the file or edit the source lookup path to include its location.
解决办法:对象的成员变量初始化。
sudo adduser name dialout
-
Ubuntu18.04安装开发软件
1 安装sublime
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo apt-get install apt-transport-https echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list sudo apt-get update sudo apt-get install sublime-text
2 安装pip&spyder
python2 & pip
sudo apt-get install python-pip pip -V sudo pip install spyder pip list#查看pip安装的软件
#python3 & pip3sudo apt-get install python3-pip pip3 -V sudo pip3 install spyder pip3 list#查看pip3安装的软件
3 安装pycharm
下载Liunx版pycharm
https://www.jetbrains.com/pycharm/download/#section=linux 安装pycharm
解压 tar -zxvf pycharm-professional-2018.2.1.tar.gz -C ~/指定目录 安装 cd ~/指定目录/pycharm-2018.2.1/bin/ sh ./pycharm.sh 破解 vim pycharm.vmoptions vim pycharm64.vmoptions 添加信息 -javaagent:/指定路径/pycharm-2018.2.1/bin/JetbrainsCrack-3.1-release-enc.jar 使用 sh ./pycharm.sh
创建启动图标
#进入App快捷方式文件夹 cd /usr/share/applications #创建快捷方式文件 sudo vim pycharm.desktop
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Pycharm Icon=/指定路径/pycharm-2018.2.1/bin/pycharm.png Exec=/指定路径/pycharm-2018.2.1/bin/pycharm.sh StartupNotify=false StartupWMClass=Pycharm
4 安装postman
下载Linux版postman
https://www.getpostman.com/apps 安装
tar -zxvf Postman-linux-x64-6.2.5.tar.gz -C ~/指定目录
创建启动图标
#进入App快捷方式文件夹 cd /usr/share/applications #创建快捷方式文件 sudo vim postman.desktop
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Postman Icon=/指定路径/Postman/app/resources/app/assets/icon.png Exec=/指定路径/Postman/Postman StartupNotify=false StartupWMClass=postman
原文地址:https://www.cnblogs.com/bigc008/p/9601997.html
时间: 2024-10-01 00:37:48