... | ... | @@ -41,26 +41,25 @@ Install Gryphon and the Trace Generator by running the installer. Download the |
|
|
### Special provisions
|
|
|
|
|
|
#### Centos 7
|
|
|
Configure a Python 3 environment in a shell by typing the following:
|
|
|
If you happen to be running Centos 7 in a virtual environment and the network does not connect, add this to `/etc/sysconfig/network-scrpts/ifcfg-enp0s3` and then reboot:
|
|
|
|
|
|
```bash
|
|
|
scl enable rh-python36 bash # sets up the environment for Python 3.6
|
|
|
mkdir ~/python_project # folder for virtual environment for this Python configuration
|
|
|
python -m venv python_project_venv # Enters a virtual environment for this Python configuration
|
|
|
source ~/python_project/python_project_venv/bin/activate
|
|
|
pip install --upgrade pip
|
|
|
pip install pyqt5
|
|
|
```
|
|
|
Now that the Python3 environment is configured, open this environment in a shell before starting Gryphon:
|
|
|
```bash
|
|
|
scl enable rh-python36 bash
|
|
|
DNS1=8.8.8.8
|
|
|
DNS2=8.8.4.4
|
|
|
ONBOOT=yes
|
|
|
|
|
|
1. Download and run the MP installer for Centos 7 as described above. The installer for Centos 7 additionally installs and sets up a Python environment for running Gryphon.
|
|
|
|
|
|
1. Enable the Gryphon Python environment by typing the following in a shell before starting Gryphon:
|
|
|
|
|
|
```bash
|
|
|
source /opt/rh/rh-python36/enable
|
|
|
source ~/python_project/python_project_venv/bin/activate
|
|
|
```
|
|
|
Then run Gryphon:
|
|
|
```
|
|
|
```
|
|
|
1. Then run Gryphon:
|
|
|
```
|
|
|
cd ~/mp_gryphon/gryphon/python
|
|
|
./mp.py
|
|
|
```
|
|
|
```
|
|
|
|
|
|
## Installing components individually
|
|
|
If an installer is not available for your system, you can install Gryphon by hand using the following steps:
|
... | ... | |