Rocky Linux 8 install wechat idea goland

Posted by cnl83 on Mon, 03 Jan 2022 03:56:50 +0100


Another experience of abandoning windows The main reason is that the host is old and used for another host. I installed rocky linux directly. Personally, it's ubuntu appropriate. But I am a standard centos user. Just in time for the curtain call of centos. By the way, experience rocky linux, the father of centos! The process of installing the system is ignored. There is no big difference. Installing the system is also the most basic and simple thing. However, I'm still a little good at using rocky linux as a working system: at least install wechat or Feishu? Idea Golan vs Code? I basically thought of these, of course, and how to log in to my windows host remotely! First of all, there are linux versions of flying book and vscode. Wechat seems to be gone (github found one that stopped maintenance many years ago). jetbarin's software is also available in linux, which is good. Remote desktop was also found. Oh, yes, and Google browser, which also has a linux version directly.

Installation of JAVA GO basic environment

Note: in fact, my java is installed with the script in oneinstall Java... Lazy But the essence is the same

1. Download and unzip the package

Downloaded tar GZ package decompression:


The command of tar zxvf is not emphasized too much. The decompression directory is selected under the / usr directory, which is basically as follows:

2. Setting system environment variables

Add the following system variables to cat /etc/profile:

export JAVA_HOME=/usr/java/jdk1.8.0_301
export CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib
export PATH=$JAVA_HOME/bin:$PATH
#go setting
export GOROOT=/usr/go
export GOPATH=/usr/gopath
export PATH=$PATH:$GOROOT/bin

3. Refresh the system variables and verify that the installation was successful

Refresh system variables:

source /etc/profile

Verify that the installation was successful:

[root@zhangpeng ~]# java -version
java version "1.8.0_301"
Java(TM) SE Runtime Environment (build 1.8.0_301-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.301-b09, mixed mode)
[root@zhangpeng ~]# go version
go version go1.17.5 linux/amd64

rocky linux Installation idea and Golan

1. Download the installation package from the official jetbrains website

Of course, download the corresponding linux version of tar GZ package takes idea as an example:
land: Download (* * goland)**

No wget downloads directly in the browser. Well, the path of the collected works downloaded by the browser is in the / home/zhangpeng / download directory (zhangpeng user is my current user name) Of course, you can also open and view through file management:

2. Unzip the package to the specified directory and try running the sh Script Installer

Copy the compressed package to the directory you want to copy. I copy it to / data/soft / directory here. Since the current user does not have permission, type: su root command on the command line, and then enter the password to enter the root user

[zhangpeng@zhangpeng ~]$ su root
[root@zhangpeng zhangpeng]# CD / home / Zhangpeng / download
[root@zhangpeng download]# cd ideaIU-2021.3/
[root@zhangpeng ideaIU-2021.3]# cp -Ra idea-IU-213.5744.223 /data/soft/

Enter the bin executable file path under the path and run the idea SH agreed all the way. next

[root@zhangpeng ideaIU-2021.3]# cd /data/soft
[root@zhangpeng soft]# mv idea-IU-213.5744.223/ idea
[root@zhangpeng idea]# ls
bin        help                   jbr  license  product-info.json
build.txt  Install-Linux-tar.txt  lib  plugins  redist
[root@zhangpeng idea]# cd bin
[root@zhangpeng idea]# ./

Of course, you have to enter the key here. Choose your own activation method. I directly choose to log in to my own account, but it seems that I can't adjust it. The browser chooses to copy - copy the link to the browser to open!

After successful login, you should obtain a string of key keys and copy them to the idea authorization token in the figure above. Click C heck token here

ok, then it's activated

Click to see the following:

3. Create a desktop file and add it to your favorites bar

So the question is, what do I want to do to create a shortcut for idea? I don't want to use script! As follows:

[root@zhangpeng idea]# cd /usr/share/applications/
[root@zhangpeng applications]# cat idea.desktop 
[Desktop Entry]




Comment=Sophisticated text editor for code, markup and prose

Exec=/data/soft/idea/bin/ %u 




Well, then switch to / usr/share/applications / directory in file management, and click idea desktop
Then there is the above implementation/ idea. This is the process. I think the above can be ignored and the desktop configuration can be added directly in the / usr/share/applications / directory (originally, I was going to put it on the desktop, and a dea.desktop was created in the / home/zhangpeng / desktop directory. But what can the desktop do? It's useless, and it's the most suitable under usr/share/applications /) then find the idea chart here to display all applications. Right click to add it to the collection bar. You can see the idea application in the collection bar on the left!

4. Similarly, Golan install

goland is installed in a similar way:

[root@zhangpeng soft]# ls
goland-2021.3.1.tar.gz  idea
[root@zhangpeng soft]# tar zxvf goland-2021.3.1.tar.gz 
[root@zhangpeng soft]# mv GoLand-2021.3.1 GoLand 
[root@zhangpeng soft]# cd GoLand/bin 
[root@zhangpeng bin]# ls
brokenPlugins.db           repair           goland.svg       log.xml     
fsnotifier          icons.db
[root@zhangpeng bin]# ./

Directly default to do not import settings, OK!

I'm not allowed to enter the key token here? Is it universal? Go in and have a look later!

Of course, it's still the whole desktop file first. Modify by imitating idea:

[root@zhangpeng applications]# cat goland.desktop 
[Desktop Entry]




Comment=Sophisticated text editor for code, markup and prose

Exec=/data/soft/GoLand/bin/ %u 




Note: start creating for on the desktop. Of course, you should copy it to / usr/share/applications / directory and click Golan Desktop create shortcut:

Add to shelf

Installation of wechat

Found a very old version, 18 or 19 years old, refer to:

1. Download the installation package

Use the browser to open the github Repository:

Click to download linux-x64 tar. Wechat installation package for GZ

2. install

[root@zhangpeng download]# cd /home/zhangpeng / download
[root@zhangpeng download]# pwd
[root@zhangpeng download]# cp -Ra linux-x64.tar.gz /usr/wechat/
[root@zhangpeng download]# cd /usr/wechat/
root@zhangpeng wechat]# tar zxvf inux-x64.tar.gz

[root@zhangpeng wechat]# cd electronic-wechat-linux-x64/
[root@zhangpeng electronic-wechat-linux-x64]# ls
blink_image_resources_200_percent.pak  LICENSES.chromium.html
content_resources_200_percent.pak      locales
content_shell.pak                      natives_blob.bin
electronic-wechat                      resources
snapshot_blob.bin                      LICENSE
icudtl.dat                             ui_resources_200_percent.pak                           version                             views_resources_200_percent.pak

[root@zhangpeng electronic-wechat-linux-x64]# ./electronic-wechat 

Code scanning login succeeded

3. Of course, we are still ready to add shortcuts:

Download the wechat Icon: . Of course, there is a problem with the desktop file in Figure 1. It's wrong! To refer to 2!

[root@zhangpeng applications]# pwd
[root@zhangpeng applications]# cat electronic-wechat.desktop 
[Desktop Entry]
Name=Electronic WeChat

Click electronic wechat When desktop runs, you can see the icon. Still add to favorites!

Just add it directly and lock it to favorites

Remote desktop

Note: windows 10 remote desktop has been opened. The firewall is not turned on, the same intranet.
For historical reasons, you should also connect to a windows computer... Refer to:

sudo dnf install vinagre

Display application - tools - Remote Desktop viewer right click to add to Favorites bar first!

Open the remote desktop viewer. Of course, you can choose to open the collection bar or open it under tools! Remote connection windows rdp desktop test

As follows, except the resolution is a little uncomfortable. The bar cannot be in resolution here. You can only adjust it on the windows machine!

Topics: Linux CentOS wechat intellij-idea