Taken from the Python2 doc, still relevant in 3.5: 'Alternate installation: the user scheme. This scheme is designed to be the most convenient solution for users that don’t have write permission to the global site-packages directory or don’t want to install into it.
These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.
The steps were taken for MySQL version 5.7.17 on a MacBook Pro laptop running OS X El Capitan, but should be similar, if not exactly the same for other versions of MySQL and on other versions of OS X. An Apple Disk Image.dmg file can be downloaded from MySQL Downloads. You will see buttons to 'Login using my Oracle Web account' or to 'Sign Up for an Oracle Web account', but you don't need an. Installing MySQL on Mac OS X El Capitan A few months ago, I wrote about how to install MySQL on Windows with IIS. Now I want to show you how to create an AMP web programming stack ( A pache, M ySQL & P HP) on Mac OS X. How to download the MAC OS X EL Capitan ISO– As we all know that Mac OS of Apple is the premium Operating System having the most optimum technology.I always prefer Mac over windows just because of its fast and smooth performance. It an undeniable fact that Apple has always produced Software’s with faster performance and is lighter built than windows and androids. Download Mac OS X El Capitan; Download and Install Virtualbox on your PC. Now, that you have downloaded OS X image file then in the next step, you will need to download Virtualbox from its website. While you download it then you need to install it on your system, the installation is quite an easy task but if you have no idea then click the link below to know about how to download and install.
Download macOS
Find the appropriate download link in the upgrade instructions for each macOS version:
macOS Catalina, macOS Mojave, ormacOS High Sierra
Installers for each of these macOS versions download directly to your Applications folder as an app named Install macOS Catalina, Install macOS Mojave, or Install macOS High Sierra. If the installer opens after downloading, quit it without continuing installation. Important: To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
OS X El Capitan
El Capitan downloads as a disk image. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer. Use the 'createinstallmedia' command in Terminal
* If your Mac is using macOS Sierra or earlier, include the
--applicationpath argument, similar to the way this argument is used in the command for El Capitan.
Use the bootable installer
After creating the bootable installer, follow these steps to use it:
Learn moreMysql Download Mac El Capitan Iso
For more information about the
createinstallmedia command and the arguments that you can use with it, make sure that the macOS installer is in your Applications folder, then enter this path in Terminal:
Catalina:
Mojave:
High Sierra:
El Capitan:
Note: This post assumes you followed installing Apache, PHP, and MySQL on Mac OS X El Capitan and have since upgraded to Mac OS X Sierra. If you did not follow the original post, you should follow installing Apache, PHP, and MySQL on Mac OS X Sierra.
Apple El Capitan Download
PHP Update: Mac OS X Sierra comes pre-installed with PHP version 5.6, however the latest version of PHP is 7.1. After you complete this post, you should upgrade PHP on Mac OS X.
When Mac OS X upgrades it overwrites previous configuration files. However, before doing so it will make backups. The backup files often have a suffix of
previous or pre-update . Most of the time, configuring your system after updating Mac OS X is simply a matter of comparing the new and old configurations.
This post will look at the differences in Apache, PHP, and MySQL between Mac OS X El Capitan and Mac OS X Sierra.
Updating Apache
Mac OS X El Capitan and Mac OS X Sierra both come with Apache pre-installed. As noted above, your Apache configuration file is overwritten me when you upgrade to Mac OS X Sierra.
There were a few differences in the configuration files. However, since both El Capitan and Sierra run Apache 2.4, you can simply backup the configuration file from Sierra and overwrite it with your El Capitan version.
However, I encourage you to stay up-to-date. As such, you should take the time to update Sierra's Apache configuration. First, create a backup and compare the two configuration files for differences.
Now edit the Apache configuration. Feel free to use TextEdit if you are not familiar with vi.
Uncomment the following line (remove
# ):
In addition, uncomment or add any lines you noticed from the
diff above that may be needed. For example, I uncommented the following lines:
Finally, I cleaned up some of the backups that were created during the Mac OS X Sierra upgrade. This will help avoid confusion in the future.
Note: These files were not changed between versions. However, if you changed them, you should compare the files before running the commands.
Restart Apache:
Updating PHP
Mac OS X El Capitan came with PHP version 5.5 pre-installed. This PHP version has reached its end of life. Mac OS X Sierra comes with PHP 5.6 pre-installed. If you added any extensions to PHP you will need to recompile them.
Also, if you changed the core PHP INI file it will have been overwritten when upgrading to Mac OS X Sierra. You can compare the two files by running the following command:
Note: Your file may note be named
/etc/php.ini.default.pre-update . You can see which PHP core files exist by running ls /etc/php.ini* .
I would encourage you not to change the PHP INI file directly. Instead, you should overwrite PHP configurations in a custom PHP INI file. This will prevent Mac OS X upgrades from overwriting your PHP configuration in the future. To determine the right path to add your custom PHP INI, run the following command:
Mysql Download Mac El Capitan DmgUpdating MySQL
MySQL is not pre-installed with Mac OS X. It is something you downloaded when following the original post. As such, the Mac OS X Sierra upgrade should not have changed your MySQL configuration.
You're good to go.
Download Mysql For Mac El Capitan
Find this interesting? Let's continue the conversation on Twitter.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |