server { listen 80; listen [::]:80; root /var/www/html/jdk/public; index index.php index.html index.htm index.nginx-debian.html; server_name example.com www.example.com; location / { try_files $uri $uri/ /index.php?$query_string; } location ~ \.php$ { include snippets/fastcgi-php.conf; […]
Installing NVM on LINUX
apt-get update apt-get install build-essential libssl-dev curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash curl https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash source ~/.profile nvm –version
Forgot mysql root password ubuntu
Reset by MysqlAdmin Reset by using skip-grant-tables Reset by using mysql_secure_installation $ sudo mysql_secure_installation
New Laravel installation on Ubuntu Vm PHP-FPM & NGINX
sudo apt install nginx sudo usermod -a -G www-data nginx sudo chown -R www-data /usr/share/nginx/html sudo apt install php7.2-mbstring php7.2-dom php7.2-pdo php7.2-xml php7.2-common php7.2-bcmath php7.2-json php7.2-cli php7.2-fpm php7.2-mysql sudo apt […]
Subnetting a network/subnetting a subnet
A subnetwork or subnet is a logical subdivision of an IP network. The practice of dividing a network into two or more networks is called subnetting. Subnet table for class […]