Environment: VMware under CENTOS7
Using packages: eclipse-jee-neon-1a-linux-gtk-x86_64.tar.gz and PYTHON-3.6.1.TAR.XZ
If you need a friend you can download the package from the network tray
Link: https://pan.baidu.com/s/1hm7nYKWThCydZGdGbSWlIg Password: O9NB
Installing Python 3.6 and the virtual development environment
1. Turn off the firewall and SELinux
Systemctl Stop Firewalld
Setenforce 0
Ps:selinux is a kind of file Protection in Linux, it is more convenient for us to operate
2. Configuring the Epel Yum Source
Vim/etc/yum.repos.d/epel.repo
[Epel]
Name=epel
baseurl=https://mirrors.aliyun.com/epel/7/x86_64/
Gpgcheck=0
What's in Epel.repo.
Cache Packages: Yum repolist
3. Installing dependent Packages
Yum-y install wget sqlite-devel xz gcc automake zlib-devel openssl-devel epel-release git
4. Import the Python installation package from Windows to the Linux system
Decompression: Tar xvf python-3.6.1.tar.xz
5. (source code) compile and install
CD Python-3.6.1
./configure && make && make install
6. Establishing an isolated environment py3
cd/opt/
Python3-m venv Py3
7. Writing using the PY3 environment
Source/opt/py3/bin/activate
Note: Centos7 installs Python2.7 by default. Yum relies on Python2.7, so it can only install the virtual development environment, not the unloaded load
Installation ECLIPSE*0.CENTOS7 must be a graphical-based installation method
1. Turn off the firewall and SELinux
Systemctl Stop Firewalld
Setenforce 0
2. Check the default JDK
Java-version
, there is usually a default JDK
3. Install Java:
Yum Install Java
4. Upload the Eclipse installation package from Windows to Linux and unzip to/opt/
Tar xzvf eclipse-jee-neon-1a-linux-gtk-x86_64.tar.gz-c/opt/
5. Match the "shortcut" with the program:
Soft connection
When Bin/eclipse is executed, it is actually performed/eclipse/eclipse
Just like Windows clicks a shortcut
Ln-s/opt/eclipse/eclipse/usr/bin/eclipse
6. Create a "shortcut"
Vim/usr/share/applications/eclipse.desktop
[Desktop Entry]
Encoding=utf-8
name=eclipse4.4.2
Comment=eclipse Lnua
Exec=/usr/bin/eclipse
icon=/opt/eclipse/icon.xpm
Categories=application;development; Java;ide
version=1.0
Type=application
Terminal=0
What's in Eclipse.desktop
7. Open Eclipse for code writing
Installing Python3 virtual environments and Eclipse in Linux systems