Skip to content

Instantly share code, notes, and snippets.

@faim87
faim87 / Uzbekistan_phone_codes_regex_pattern.md
Last active July 24, 2024 11:52
Uzbekistan phone codes - regex pattern.

Mobile = /^9989[012345789][0-9]{7}$/

All = /^998(9[012345789]|6[125679]|7[01234569])[0-9]{7}$/

Steps to install latest Laravel, LEMP on AWS Ubuntu 16.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7.2 on Ubuntu Run the following commands in sequence.

sudo apt-get update && apt-get upgrade
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php

sudo apt-get update

Пошаговая инструкция по установке LEMP стека на Ubuntu 18.04 для проектов на Laravel

Перед началом установки обновим Ubuntu

sudo apt update && apt upgrade

Нам могут понадобиться дополнительные утилиты:

sudo apt install nano curl zip unzip git