background preloader


Facebook Twitter

20. Moving files. Goals To learn how to move a file within the repository. 01 Move the hello.html file to the lib directory Now we will create the structure of our repository.

20. Moving files

Let us move the page in the lib directory. Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X Mavericks or Yosemite. Recently I've got a new MacBook Pro and decided to set it up from scratch, because I use the same Time Machine backup to migrate from since about four years.

Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X Mavericks or Yosemite

Perfect time to get rid of the web server/LAMP (Linux Apache MySQL PHP) stack and replace it with Nginx and PHP-FPM as FastCGI implementation. Below you can read how to setup Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X 10.9 / Mavericks. Updated for Yosemite users: Updated the guide for 10.10 since Yosemite is officially released. The steps are basically the same as for Mavericks. Xcode First of all, get the latest Xcode version (6.1) via the Mac App Store: Download (via Mac App Store) As soon as you've finished the download, open Xcode in your /Applications folder and agree to the licence. Open a new Terminal window and install the Xcode Command Line Tools: Moving A WordPress Website Without Hassle. Moving WordPress is a task that many people find daunting.

Moving A WordPress Website Without Hassle

The advice on the Codex, while comprehensive, gives you a myriad of options and doesn’t describe the process simply and in one place. When I had to move a WordPress installation for the first time, I spent hours searching online for information on the various aspects of the process, and eventually wrote myself a checklist — which I still use. So to save you the hassle, here’s a step-by-step guide to moving a WordPress website. I’ll cover three different scenarios, which in my experience are the most common: How To Install Ruby on Rails with rbenv on Ubuntu 14.04. Introduction Ruby on Rails is an extremely popular open-source web framework that provides a great way to write web applications with Ruby.

How To Install Ruby on Rails with rbenv on Ubuntu 14.04

This tutorial will show you how to install Ruby on Rails on Ubuntu 14.04, using rbenv. This will provide you with a solid environment for developing your Ruby on Rails applications. rbenv provides an easy way to install and manage various versions of Ruby, and it is simpler and less intrusive than RVM. This will help you ensure that the Ruby version you are developing against matches your production environment. Prerequisites. Untitled. Levelling up your WordPress development workflow. Levelling up your WordPress development workflow with @daraskolnick Hi, I'm Dara.

Levelling up your WordPress development workflow

Nice to meet you! I'm @daraskolnick basically everywhere on the Internet. A little about me. Setup File Mirroring Using Rsync in Debian/Ubuntu - Introduction If you run a critical website, it is a good practice to mirror your files to a secondary server.

Setup File Mirroring Using Rsync in Debian/Ubuntu -

In the event that your main server has a network or hardware issue, having mirrored files provides you with the flexibility to immediately switch from one server to another. 7 Default OpenSSH Security Options You Should Change in /etc/ssh/sshd_config. OpenSSH options are controlled through the /etc/ssh/sshd_config file.

7 Default OpenSSH Security Options You Should Change in /etc/ssh/sshd_config

This article explains the 7 default options in sshd_config file that you should change. In sshd_config, the lines that start with # are comments. For those options that uses the default values, the sshd_config file contains a commented line with the option and its default value. This makes it easier for us, as we can see the OpenSSH option name and the default value without having to lookup somewhere else.

For example, sshd_config file contains the following commented line. 1300 words from Mar 27, 2013 Ruby is an extremely flexible, concise language which boasts a rampant proliferation of libraries and popular frameworks like rails.

However, using your system’s default ruby to install gems is a quick path into dependency nightmares, as different gems fight to use different versions of the same library. Nginx Block And Deny IP Address OR Network Subnets. ByVivek GiteonJanuary 13, 2010 last updated January 13, 2010 How do I block or deny access based on the host name or IP address of the client visiting website under nginx web server?

Nginx Block And Deny IP Address OR Network Subnets

Nginx comes with a simple module called ngx_http_access_module to allow or deny access to IP address. The syntax is as follows: deny IP; deny subnet; allow IP; allow subnet; # block all ips deny all; # allow all ips allow all; Note rules are checked in the order of their record to the first match. Untitled. Installing Wordpress on Vagrant - Suresh's Site. #!

Installing Wordpress on Vagrant - Suresh's Site

/bin/bash # This is where the variables for the rest of the installation are created USER=vagrant. Export and import MySQL databases - Media Temple. CloudTech Can Help! If you are having trouble with the steps in this article, additional assistance is available via CloudTech, our premium services division. Our expert engineers can import or export your MySQL database quickly and painlessly. For more information on what CloudTech can do for you, please click here. Overview. Auto-deploy WordPress via SSH with WordMove [Update 2015] - Woratana Perth. WordMove is Ruby package for deploying WordPress from localhost to live environment. It can be found here: As of writing, I am running on Mac OS Capitan (OS X 10.11.1) with X Code 7.1.1 and X Code command line tool (included with XCode) installed.

Here is old video on how WordMove can easily deploy to production server: I am quite new to convenient deployment tool like this. In the past, I used FTP to transfer files and upload database file to target server’s PHPMyAdmin, all done by hand. Ubuntu Linux: Start / Restart / Stop Nginx Web Server. ByVivek GiteonJanuary 1, 2011 last updated March 19, 2015 How do I restart / stop / start the nginx web server under a Ubuntu Linux operating systems using command line option? The nginx web server can be restarted using any one of the following command line syntax: Ruby unexpected ':', expecting kEND - uzzai. System Administration Screencasts. System Administration Screencasts. Setup Ruby On Rails on Ubuntu 14.04 Trusty Tahr - GoRails.

A guide to setting up a Ruby on Rails development environment This will take about 30 minutes. './install' - Installing RVM. Official ruby interpreter releases that are supported by RVM can be installed using any of the below methods. Known Rubies (Interpreters) RVM maintains a list of interpreters and versions thereof to which it may install. In order to see this list run the following command. Setup Ruby On Rails on Ubuntu 14.04 Trusty Tahr - GoRails.

Joeguilmette/ee-vvv-wordmove: A guide for l... - GitHub. ShellCommandError · Issue #215 · welaika/wordmove. Problem pulling database · Issue #98 · welaika/wordmove. Getting Wordmove installed in VVV (or any Vagrant) · welaika/wordmove Wiki. Varying Vagrant Vagrants. Joeguilmette/ee-vvv-wordmove: A guide for l... - GitHub. How To Install Wordpress with nginx on Ubuntu 12.04. Getting Started with WP-CLI on Ubuntu 15.10. Wordpress is one of the best open-source content management system (CMS) based on PHP and MYSQL, it is the most popular blogging system used by more than 23% of the top 10 million websites. WordPress is installed on more than 60 million websites. There are plenty of ready to use themes and plugins available for WordPress. Installing WordPress. Languages: English • Español • Deutsch • বাংলা • Français • Italiano • Nederlands • 日本語 • 한국어 • Português do Brasil • Русский • Slovenčina • Српски • ไทย • 中文(简体) • 中文(繁體) • (Add your language) WordPress is well-known for its ease of installation.

Under most circumstances, installing WordPress is a very simple process and takes less than five minutes to complete. How To Create a New User and Grant Permissions in MySQL. What the Red Means The lines that the user needs to enter or customize will be in red in this tutorial! The rest should mostly be copy-and-pastable. Initial Server Setup with Ubuntu 14.04. How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu 14.04 LTS.

Introduction When using the Nginx web server, server blocks (similar to the virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain off of a single server. Setting up EasyEngine on Ubuntu 14.04 + PHP 5.5 + Nginx + Memcached Object cache - Useful Snippets. Build Virtual Machines Easily With PuPHPet. Does creating and managing development environments frustrate you, slow you down, or distract you from development? Do you have issues because your development and deployed environments differ? If so, I've got the solution for you – PuPHPet! Build Virtual Machines Easily With PuPHPet. PuPHPet - Online GUI configurator for Puppet & Vagrant.

How to Create Staging Environment for a WordPress Site. As WordPress beginners progress in their career, their site grows as well. When running stable and professional websites, editing everything live is not the best option. Several of our users asked us for a tutorial that explains the process of creating a staging environment. Vim Cheat Sheet - English. Add an SSH key to an account. This page covers the following topics: Web Developer and Programmer - Ultimate WordPress Development Workflow.

Connecting to MySQL · Varying-Vagrant-Vagrants/VVV Wiki. Setting up a WordPress VVV Vagrant Workflow. Setting up VVV Varying Vagrant Vagrants on OSX.