How to learn Linux || All in one Linux system adminstration

What is Linux? The Linux operating system has become one of the most widely used operating systems, popular among researchers, application developers, and hobbyists alike. These days, the Linux operating system can be found in an amazing range of computer environments, from mobile phones to satellites. This chapter examines just what the Linux operating system […]

Read More

Server error (500 internal Server Error) in the ubuntu server

Way 1: Add the following lines in the wp-config. PHP file right above “That’s all, stop editing! Happy publishing”: define( ‘WP_MEMORY_LIMIT’, ‘515M’ ); define( ‘WP_MAX_MEMORY_LIMIT’, ‘512M’ ); And save wp-config.php file Note: before changing wp-config.php. you must download the file. Way 2:

Read More

Linux most common script.

Bash Related CommandsClear the terminal clear / ctrl + lClose the terminal exit / ctrl + dReset the terminal resetStop any program ctrl + cSleep any program ctrl + zCheck the history ctrl + r / historyCheck last 30 commands history | tail -30Autocomplete Filename or Folder name TabAutocomplete command Tab twiceAutocomplete command with options […]

Read More

How to Download and upload files using SCP in linux

In this article, We have explored the steps to Download and upload files from one remote server to another remote server. This involves using commands like SCP or utilities like windSCP Upload File using SCP command from windows to Server. Code details: $SCP -i <ssh-key-location> <local/Windows computer location> user@ip: <web server location> If you do […]

Read More

How to setup amazon CloudFront with WordPress

There are 7 steps to set up CloudFront. Create cache Policy: Enter name and description. click on the check box of the header and add host, origin and referer under the header. Query setings and cookies will be all Create Origin Request Policy Again go to the Policies option and click on the origin request […]

Read More

How to install WordPress in ubuntu server

sudo apt install php libapache2-mod-php php-mysql -y MARIA DB Installation MYSQLsudo apt install mysql-server -ysudo mysql_secure_installation sudo apt install mariadb-serversudo mysql_secure_installation if show errors, when you install database. if sucessfully install then flow next section “database create” solved it by running “$sudo mysql”which logged me in as root without a password, then I ran$ALTER USER […]

Read More

Common Firewall (UFW) command

$sudo ufw status$sudo ufw enable$sudo ufw disable How to allow any port. just write ufw allow and the port and same way you can disallow any port look at the example given below.$ufw allow 22$ufw diallow 22 $ss -anpstufw delete allow 3389

Read More

How to increase EC2 Instance root volume size

1st of all we need to format the partition the command of formatting the partition is$mkfs.ext4 /dev/xvdf then we have to mount the partition to another directory for example we mount the partition on /opt directori. so now we have to cmnd$mount /dev/xvdf /opt So now our new volume is mounted on the /opt directory. […]

Read More