![]() ![]() Make sure to see the conclusion of this tutorial for resources on security. Note: After installation, several ports are open to the internet. Like MySQL, the Apache server will start once the installation completes. In this section, we will install Apache 2, and ensure that it recognizes Python files as executables. There are a number of options, like MySQLclient, but for the module’s simplicity, this tutorial will use pymysql. Python 3 requires a way to connect with MySQL, however. For all other questions, press ENTER to accept the default response. The first question will ask if you want to change the root password, but because you just set it, enter n. First, you’ll need to enter the root password you picked a moment ago. This setup will take you through a series of self-explanatory steps. The MySQL server will start once installation completes. In this section, we will install and configure MySQL.Įnter a strong password for the MySQL root user when prompted, and remember it, because we will need it later. To install it, simply run the following:įor an overview of Pip, you can read this tutorial. Pip allows us to easily manage any Python 3 package we would like to have. This will ensure that old or outdated packages do not interfere with the installation. In this section, we will install Pip, the recommended package installer for Python.įirst, update the system’s package index. If you run python -version again, you will now see Python 3.4.0.
0 Comments
Leave a Reply. |