O'Reilly logo

Web Development Recipes, 2nd Edition by Chris Johnson, Mike Weber, Chris Warren, Brian P. Hogan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Recipe 40Changing Web Server Configuration Files with Vim

Problem

Many production servers use Linux and don’t give us access to a graphical interface. When we have to make changes to our server’s configuration files, it’s inefficient to download a file, make the change on our development workstation, and then upload the file back to the server. To save time, we need a way to edit files directly on the server.

Ingredients

Solution

We can use Vim, a powerful Terminal-based text editor, to make the changes we need quickly. Vim is designed with efficiency in mind. It’s a great choice for working with files on a server because it’s lightweight, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required