Skip to content

izanami-team/IZANAMI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IZANAMI

Use Ansible to provision a full-stack MovableType Server

Description

Build a Movable Type server using Ansible, or build a local development server using Vagrant

Introduction

  • Perl5.36
  • Nginx or Apache
  • PHP8
  • MySQL8
  • Let'sEncrypt

Requirement

  • ansible2.2 or later
  • Vagrant
    • Mac(Intel) : Virtualbox
    • Mac(Arm) : Parallels("Pro" and "Business" editions only)
    • vagrant-hostmanager

Supported Server OS

  • Amazon Linux 2023 (AL2023)
  • Red Hat Enterprise Linux 9 (RHEL9)
  • AlmaLinux 9
  • Rocky Linux 9

Install

$ brew install ansible
$ git clone git@github.com:izanami-team/IZANAMI.git
$ cd IZANAMI

required only for Vagrant

  • Install homebrew beforehand
    • you also need Xcode to install homebrew. You can install Xcode from App Store.
  • Install Vagrant
  • Install Vagrant Plugin
$ vagrant plugin install vagrant-parallels
$ vagrant plugin install vagrant-hostmanager

Usage

Local server

$ vagrant up

Remote server

$ ansible-playbook -i hosts site.yml -u ec2-user --private-key=~/.ssh/private_key.pem -l severname

Movable Type

  • http://rocky9.local/mt/admin
  • initial user
    • admin / passowrd
  • documentroot
    • /var/www/vhosts/rocky9.local/htdocs
  • movable type
    • /var/www/movabletype