Operating System

How to enable rewrite rule and other apache module in centos and ubuntu ? 1

How to enable rewrite rule and other apache module in centos and ubuntu ?

How to enable rewrite rule modules in apache (Centos and Ubuntu) for nginx Please scroll down Centos httpd -M vim /etc/httpd/conf.modules.d/00-base.conf ##Add this line LoadModule rewrite_module modules/mod_rewrite.so Do not forget to reboot web server sudo systemctl restart httpd Ubuntu How to enable module in ubuntu ? Enable and restart the web server a2enmod rewrite service […]

How to enable rewrite rule and other apache module in centos and ubuntu ? Read More »

symfony installation

Basic apache(httpd) virtualhost with symfony project setup

Complete Setup of symfony in Linux Apache Server Virtualhost Configure HTTPD virtual host This is the basic configuration file in which each line is important and necessary. To add it into the virtual host. Edit this file according to your requirement. Open terminal using (ssh connection) cd /etc/httpd/conf.d/ vim filename.conf <VirtualHost *:80> ServerAdmin webmaster@your_domain.com DocumentRoot “/var/www/html/project_directory/” ServerName your_domain.com

Basic apache(httpd) virtualhost with symfony project setup Read More »

How to set static ip address in ubuntu and Centos using terminal 2

How to set static ip address in ubuntu and Centos using terminal

How to set static ip address in ubuntu 16.04 How to set static ip address in any linux distros using terminal Open terminal nmtui Edit a connection   Select the connection you want to edit and select the edit option as mentioned in image   DropDown and select manual option in ipv4 Show options Edit the

How to set static ip address in ubuntu and Centos using terminal Read More »

SSL installation in AWS Default IAM

A new scenario for installation of Let’sencrypt SSL into AWS IAM with the nignx server. Let start with SSL installation on Linux IAM in AWS HOw to install Letsencrypt SSL in AWS EC2 AWS IAM with Nginx Dowanload certbot-auto curl -O https://dl.eff.org/certbot-auto Give appropriate permission chmod +x certbot-auto Move it into /usr/local/bin sudo mv certbot-auto /usr/local/bin/certbot-auto OR

SSL installation in AWS Default IAM Read More »

create user in MySQL using terminal

How to create user in MySQL using terminal?

How to create user in MySQL using terminal? Note :- need to edit commands where “techouse” is mentioned. How to change the password of existing user in mysql ALTER USER ‘techouse’@’localhost’ IDENTIFIED BY ‘MyNewPass’; —————- How to create backup while ignoring the single or multiple tables mysqldump -u techouse -p database –ignore-table=database.table1 > database.sql —————

How to create user in MySQL using terminal? Read More »