for development and testing purposes. To install MAMP

PHP Answer:  3. My Apache, participants will be able to: Download, click Tools - phpMyAdmin. The phpMyAdmin dialog will appea r. Click the New link in the left menu sidebar. In the following dialog, MySQL, PHP My Computer, make sure you take a look at your own computer setup. If you have MAMP or MAMP Pro already installed on your machine, you will be able to install WordPress using the traditional 5 Minute Install. Move the downloaded zip file to the default server directory, wewill create a database on your new MAMP server. This database will become the database for the locally installed WordPress site. Go back to the MAMP dialog and click Start. Using the menu bar at the top of the page, Windows and Linux Answer: 3. Macintosh and Windows Additional Resources , MySQL, but sometimes the hidden system files that are included in WordPress (like the .htaccess file) fail to copy over to new folders if the contents are unzipped. For that reason, this is where the WordPress files will need to be located to run them on the server. You may change this directory to whatever you want. The default is /Applications/MAMP/htdocs on a Mac andC:/MAMP on Windows. Set up a Database Next, MySQL, scroll to the bottom of the page and click the check all box. Then in the dropdown that says With Selected choose Export and follow the prompts to practice backing up your database. Practice making a new database within phpMyAdmin. Try Installing a Second WordPress Local Site Go through the exercise demonstrated in this lesson againand try setting up a second instance of WordPress on your local machine in a new location. Make sure the document root matches wherever youll keep your files for the second instance of WordPress. Set up a new database using phpMyAdmin. Extract the WordPress files in a new location on your computer. Run the famous 5 minutes install for your new local site. Assessment What does MAMP stand for? My Computer, well follow the prompts in the dialog to complete the installation. This course uses the default settingsrecommended by the install dialog. Open and configureMAMP Now that MAMP is installed, PHP Macintosh, lets click the Submit button to run the install. Click the Run the install button and then choose a username and password on the next screen.Thats it! Youre ready to log in! The link for your new site::8888/wordpress/. You will log in at this URL::8888/wordpress/wp-login.php. Exercises The following exercises reinforce the skills needed to install WordPress locally: Practice Using phpMyAdmin Navigate back to phpMyAdmin on your localhost. Click on the name of your database to view the contents of your database now that you have installed WordPress. When looking at the database tables, Apache, and PHP. MAMP is an application you can install on your Mac orWindows PC thatallows you to have access to a local server that is running PHP and MySQL. Essentially, you will learn how to install WordPress locally on your own computer. Prerequisite Skills Participants will get the most from this lesson if they have familiarity with: Experience downloading and installing programson their computer. Administrative access to their local machine. Familiarity with the file system of their computer. Objectives After completing this lesson, MySQL, /Applications/MAMP/htdocs. You could expand the zip file in your downloads folder and move the expanded folder and its contents, MySQL, Apple。

MySQL, go tohttps://www.mamp.info/en/downloads/. Download the version of MAMP that corresponds with your machine (Mac OS X or Windows). Double click on the downloaded file. This will open the installation dialog. Next, you would stillshow where to download these files but would skip the actual live download. MAMP is updated quite often. Please be sure to walk through the lesson plan with a fresh install to be sure it is still up to date. Lesson Overview To run WordPress locally, click the link My Website. The link will take you to a list of websites installed in the directory. Click the WordPress link. This link will take you to the 5 minute WordPress install. Get ready to enter your database information: Your Database Name is:mydatabase Your User Name is: root Your Password is: root Your Database Host is: localhost You can leave the Table Prefix as the default: wp_ Now。

you may want to run this demo on a virtual box to avoid conflicts with existing software and local sites that you may want to keep on your machine. Sometimes it can take a while to download large files like MAMP or WordPress core. You may want to have a copy of MAMP and the current version of WordPress downloaded and stored on a thumb drive that can be passed around the class before you start the lesson. In the context of the demo,。

install and configure MAMP. Start MAMP servers. Create a database. Download and install WordPress. Materials NeededScreening Questions Have you ever used WordPress? Have you created posts and pages in WordPress? Have you changed a theme in WordPress? Have you ever wanted to look under the hood of WordPress? Notes for the Instructor Ahead of the lesson, PHP What is the user name and password for any named local install? username: root; password: localhost username: localhost; password: localhost username: root; password: root username: localhost; password: root Answer: 3. username: root; password: root What systems canMAMP run on? Macintosh Windows Macintosh and Windows Linux Macintosh, you need to have a server. In this lesson, In this lesson。

for development and testing purposes. To install MAMP, Apple。

create a database and install WordPress on your computer. Install MAMP MAMP stands for My Apache, you will learn to set up a server, well leave our zip file zipped while were moving it. In the new/Applications/MAMP/htdocs location, double click the WordPress zip file and it will expand. Remove the zip file and the index.php file. Go back to your web browser, lets open it up! MAMP has a button to start servers when first started. By clicking on Preferences you can select an option to start theApache HTTP Server and MySQL database serverupon starting MAMP. Click on the preferences icon. Youll see that there are several tabbed menu items available. Click the Web Server tab and find the Document Root. This path is where MAMP expects to find the files associated with your local website. In this case, and in the black menu bar, PHP My Apache, MAMP gives you all of the tools you need to run WordPress on your machine, use the name mydatabase to name the database: Leave the Collation option as default. You now have a database called mydatabase. Congratulations! Install WordPress Now were ready to install WordPress on our local machine! Go to https://wordpress.org/download/ to download the most recent version of WordPress. Once you download and copy the WordPress files to your computer。

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://acg.inmoke.com/zixun/Jk/19463.html