terminal

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

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 »

How to install and configure php7 , nginx on centos 7 8

How to install and configure php7 , nginx on centos 7

How to install nginx in centos 7 Update your server yum update Add epel repo as nginx is not available in Default repo yum install epel-release Install nginx yum install nginx Start the nginx services systemctl start nginx Enable the nginx so that when ever server restart , it should automatically start systemctl enable nginx

How to install and configure php7 , nginx on centos 7 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 »

note editor linux

How to create swap in Linux ?

How to create swap in Linux CREATE SWAP PARTITION LINUX We can create a 8 Gigabyte Swap Partition —————————————– sudo fallocate -l 8G /swapfile ls -lh /swapfile Enabling the Swap File ————————- sudo chmod 600 /swapfile ls -lh /swapfile Now that our file is more secure, we can tell our system to set up the

How to create swap in Linux ? Read More »