Common development environments and software records under Linux

0. Preface

When I upgraded Ubuntu 18.04, I experienced the inhumane desktop loss problem, which was solved by backing up the data and reinstalling. However, the installed software and the configured environment are all lost and can only be restarted.

After reinstalling, I found that the overlapping big foreheads are too ugly, which seriously reduces the screen utilization rate. And after the default desktop is changed to gnome, the speed becomes slower, and it is still stuck after replacing the closed source driver. I checked the information online and decided to switch to deepin. It is better for me and other mortals to focus on solving their own problems, and not make drastic changes in the system. In the current state, no tossing, less tossing is the most important thing.

The configuration of deepin is 10,000 times easier and faster than that of Ubuntu, and it is indistinguishable from the good-looking level with the good unity. The version update in the built-in app store is not very timely, but it should be stable. In short, I got everything done in the middle of the night, and wrote a similar record. When I was about to shut down and go to sleep, the system prompted me to have an update... Then the desktop driver hung gorgeously.

After some operations to no avail, I went to the official forum and saw that the /home directory will not be overwritten when reinstalling with the same user name. I'm careless again. Then it was time for a cup of tea, and a bitter sigh.

The lessons of time and effort, environment and data taught me: Backups are important! ! ! Backups are important! ! ! Backups are important! ! !

So there is a reason to buy a mobile hard disk, write this record and so on.

1. Purpose

  • In case of any accident in the system, it can be restored to the last available version in a short time (mobile hard disk + image backup)
  • When the notebook cannot be used due to an accident, the environment can be set up on other computers in a short time to continue development or other work tasks. (git+cloud disk+above)
  • Sort out the useful software and some pits encountered in the process of configuring the environment.

2. Development environment

The system is: Deepin desktop 15.5.0, 8G memory + 42 + 8 G mechanical hard disk allocated.

Currently mainly doing Android related (Java), Cpp and Python occasionally write a little.

The default without special instructions is to download from deepin's own store. Generally, it is not the latest version, but it works well.

  • Android Studio (with OpenJDK, you need to download SDK, gradle and AS itself need to configure socks proxy, otherwise it will be a headache)
  • Genymotion (you need to register individual users on the official website, and then download the virtual machine image, which works very well under Linux)
  • Typora (a high-value, instant-effect MarkDown editor for all platforms)
  • VS Code (used to write simple Cpp and Python, and read the code lightly, the plug-in can be configured according to the online tutorial)
  • TIM & WeChat (Deepin's advantages, implemented with improved wine, the effect is great, general communication, document processing is not a problem)
  • Git

3. Worth documenting

  • After NetEase Cloud Music adjusted the system scaling, it was extremely large, and there was no other way to log in, so I could only listen to the web version.
  • AirDroid web version + Chrome plug-in + mobile app = Android full HD wireless screen projection solution, the effect is great. Can be used for demonstration.
  • Deepin presentation assistant, can display pictures and turn pages PPT under the same wireless network. The quality of the projection screen is terrible, so let's use the last one.
  • Deepin Backup and Restoration Tool, there is a bug when backing up to a mobile hard disk, the drive letter cannot be found when selecting the save location in Cover mode, you need to open the file manager and copy and paste it in the address bar.

This article is updated at any time, last updated on 2018.05.05

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325343843&siteId=291194637