Start learning with our library of video tutorials taught by experts. Get started

Up and Running with Linux for PHP Developers
Illustration by Don Barnett

Up and Running with Linux for PHP Developers

with Jon Peck

Video: Welcome

Hi, Im Jon Peck and welcome to Up and Running with Linux for PHP Developers.
Expand all | Collapse all
  1. 6m 37s
    1. Welcome
      45s
    2. Exercise files
      2m 25s
    3. What you should know
      3m 27s
  2. 22m 55s
    1. Where should I be developing?
      6m 56s
    2. What is Linux, and why should I use it?
      7m 14s
    3. Introducing system virtual machines with VirtualBox
      3m 32s
    4. What's a LAMP, and why does it matter?
      5m 13s
  3. 17m 39s
    1. Preparing your workstation
      2m 10s
    2. Creating the virtual machine (VM)
      3m 19s
    3. Configuring the VM
      4m 55s
    4. Installing Ubuntu Server 14.04 LTS
      7m 15s
  4. 30m 6s
    1. Talking to yourself with local networking
      6m 17s
    2. Logging in using Secure Shell (SSH)
      4m 19s
    3. Using SSH with and without a password on Mac
      5m 42s
    4. Using SSH with and without a password on Windows
      3m 39s
    5. Introducing the command-line interface
      10m 9s
  5. 34m 33s
    1. Upgrading and installing packages
      4m 38s
    2. Installing VirtualBox Guest Additions
      3m 1s
    3. Configuring group permissions for access
      3m 1s
    4. Configuring the Apache web server
      7m 9s
    5. Configuring PHP for development
      7m 6s
    6. Configuring the MySQL database server
      5m 41s
    7. Installing the Exim email server
      3m 57s
  6. 17m 53s
    1. Installing phpMyAdmin to manage databases
      4m 2s
    2. Creating databases and users
      3m 23s
    3. Creating a server dashboard
      4m 31s
    4. Installing Ajenti to monitor your server
      5m 57s
  7. 26m 6s
    1. Installing Composer and PEAR for PHP dependency management
      3m 30s
    2. Installing community PHP extensions with PECL
      1m 36s
    3. Installing WordPress and WP-CLI
      3m 57s
    4. Installing Drupal and Drush
      2m 39s
    5. Installing Symfony
      3m 2s
    6. Installing CakePHP and DebugKit
      5m 50s
    7. Installing CodeIgniter
      2m 30s
    8. Best practices for installing PHP frameworks and applications
      3m 2s
  8. 27m 21s
    1. Introducing Git
      2m 16s
    2. Hosting Git repositories with gitolite
      6m 29s
    3. Browsing your git repositories with gitweb
      7m 9s
    4. Adding the dashboard to Git using SourceTree
      2m 5s
    5. Automatically storing server config with etckeeper
      9m 22s
  9. 12m 19s
    1. Installing Xdebug for debugging
      3m 7s
    2. Installing webgrind for profiling
      5m 22s
    3. Installing Memcached data and object caching
      1m 46s
    4. Installing the Redis key-value store
      2m 4s
  10. 10m 35s
    1. Using snapshots to turn back time
      3m 53s
    2. Exporting a virtual appliance to use on another host
      3m 36s
    3. Automating dev environment creation with Vagrant
      3m 6s
  11. 19m 52s
    1. Troubleshooting SSH
      5m 31s
    2. Troubleshooting Apache
      4m 56s
    3. Troubleshooting MySQL
      5m 0s
    4. Troubleshooting PHP
      2m 25s
    5. Troubleshooting Exim
      2m 0s
  12. 6m 45s
    1. Keeping the server and VirtualBox up to date
      1m 55s
    2. Best practices for managing multiple development projects
      1m 36s
    3. Where to go from here
      2m 11s
    4. Farewell
      1m 3s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Up and Running with Linux for PHP Developers
3h 52m Beginner Jun 13, 2014

Viewers: in countries Watching now:

Need a fast, powerful, and free development environment? Learn how to set up a virtual Linux web server on your Mac or Windows computer quickly—no additional formatting, dual booting, or hardware required. Author Jon Peck shows you how to set up a virtual machine with VirtualBox, download and install a Linux server, and then configure the additional LAMP stack elements: Apache, MySQL, and PHP. The course also describes how to create a database and users, install development tools like Xdebug, manage your source code with Git, and troubleshoot common installation and configuration issues.

The demonstrations are performed with the Ubuntu LTS distribution of Linux, but the skills taught here are also applicable to other Linux distributions. Every command is described in detail in context, and a comprehensive quick reference is provided for convenience.

Topics include:
  • What is Linux, and why should I use it?
  • What's a LAMP, and why does it matter?
  • Creating and configuring a virtual machine
  • Working with the Linux command line
  • Configuring the servers, including Apache virtual hosts
  • Building a development server dashboard
  • Using PHP package managers like Composer and PEAR
  • Installing Drupal, WordPress, and more on the server
  • Self-hosting Git repositories, including a web interface
  • Enhancing the server with debugging and profiling
  • Exporting a virtual appliance to use on another machine
  • Server troubleshooting techniques
Subjects:
Developer Servers
Software:
MySQL PHP Linux Apache LAMP
Author:
Jon Peck

Welcome

Hi, Im Jon Peck and welcome to Up and Running with Linux for PHP Developers. In this course, we'll look at how to configure your Mac or Windows workstation to be your own private, no-cost, web development platform. I'll start by showing you how to set up a virtual machine with VirtualBox, then demonstrate how to install and manage a complete Linux web server. Throughout this course, we'll explore and use common Linux commands, server components, and software useful for debugging and development.

In the end, you'll have an optimized virtual server, running like any other program in your existing operating system, so no reformatting, additional hardware or dual-booting is needed. Now, let's get Up and Running with Linux for PHP Developers.

Find answers to the most frequently asked questions about Up and Running with Linux for PHP Developers.


Expand all | Collapse all
please wait ...
Q: The pecl installation of uploadprogress fails, saying it is not a valid package archive. How can I install uploadprogress?
A: There is a bug in Ubuntu's pecl that was introduced after the course was recorded; the workaround command is "sudo pecl install -Z uploadprogress"
Q: Where can I get the exact versions of the software used in this course?
A: The course is designed to be forwards compatible and should be functionally equivalent with future minor and major versions. With that said, some may want to use the precise versions used during the development of the course. For reference:
 
*VirtualBox 4.3.10 - https://www.virtualbox.org/wiki/Downloads
*NetBeans IDE 8.0 for PHP - https://netbeans.org/downloads/
*SourceTree 1.8.1 (Mac), 1.5.2 (Windows) - http://sourcetreeapp.com/
*Ubuntu Server 14.04 LTS - http://www.ubuntu.com/download/server
*PuTTY 0.63 - http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Q: In Windows, git operations ask for a password. Why?
A: Make sure that pagent (PuTTY agent) is running and has the private key loaded. See Chapter 3, movie 4 for details.
 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Up and Running with Linux for PHP Developers.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.