Ryu installation and configuration

Note: VMware Fusion Ubuntu and Mininet have been installed on Mac os in advance ( Mininet installation )

(1) Update git, pip, etc. to the latest version

——Enter as administrator: sudo -s

——Update software source: apt-get update

If it shows that there are failures/missings: Select software and updates , check the source code and select other sites , select the best server , and re-execute the command in the terminal.

If it is displayed that the configuration has been configured multiple times, follow the prompt path to open and delete the duplicate content, such as: gedit /etc/apt/sources.list

——Update and upgrade all software: apt-get upgrade

If it shows that there are still software that have not been upgraded: apt-get dist-upgrade

——apt-get install git

——apt-get install python3-pip

——List all upgradeable software: apt list --upgradable

(2) Get source files

——git clone git://github.com/osrg/ryu.git

(3) Installation

——cd ryu

——pip install -r tools/pip-requires

If the error " ERROR: Command errored out woth exit status q: python setup.py eg_info Check the logs for full command output. " is reported, update pip: python3 -m pip install --upgrade pip

——python3 setup.py install

(4) Enter ryu-manger. If the following screen is displayed, the configuration is successful.

 appendix

Unlock folder root permissions: sudo chmod 777 folder path

Unlock root permissions for all files in the folder: sudo chmod -R 777 Folder path

Guess you like

Origin blog.csdn.net/weixin_43563178/article/details/122971742