Essential Linux Command
Check all running services service –status-all
Check all running services service –status-all
Install ntfs-3g first sudo apt-get install ntfs-3g ntfs-config Check partition uuid and dev id sudo blkid output: /dev/sda7: LABEL=”PROJECTS” UUID=”A82A91682A913472″ TYPE=”ntfs” PARTLABEL=”Basic data partition” PARTUUID=”bd3713fd-2717-4957-b516-dd31c67702ef” /dev/sda8: LABEL=”WEBSOFT” UUID=”2E70988670985685″ TYPE=”ntfs” PARTLABEL=”Basic data partition” PARTUUID=”09e25678-fe8f-42c8-bc4d-866789efe0b6″ /dev/sda9: LABEL=”FOUNDATION” UUID=”4AA6A537A6A52503″ TYPE=”ntfs” PARTLABEL=”Basic data partition”…
লোড ব্যালেন্সিং কি ? একটি ওয়েবসাইট বা ওয়েব সার্ভিসকে প্রোডাকশন লেভেলে নিয়ে যাওয়ার জন্য এর নিজেরই হাজারটা চ্যালেন্জ রয়েছে। সেগুলো পার করে যখন একটা ভাল মার্কেট পেয়ে যান তখন সেটা আপনার জন্য একটা বড় পাওয়া। আপনার সিস্টেমের ব্যবহারকারী দিন দিন…
Finding out what user Apache is running as? ps aux | egrep ‘(apache|httpd)’ ps -ef | egrep ‘(httpd|apache2|apache)’ | grep -v `whoami` | grep -v root | head -n1 | awk ‘{print $1}’ apachectl -S Change folder permissions and…
Test SSH port connection with curl and Telnet In this example, SSH connection works because: We get the “Connected” status We see the SSH version prompt: SSH-2.0-OpenSSH_7.4 Connection Sucess: greys@server:~ $ curl -v telnet://127.0.0.1:22 * About to connect() to 127.0.0.1…
How to Switch between Multiple PHP Version on Ubuntu Check php version sudo update-alternatives –config php Switch From PHP 5.6 => PHP 7.2 Apache:- sudo a2dismod php5.6 sudo a2enmod php7.2 sudo service apache2 restart Command Line:- sudo update-alternatives –set…
Step 1: Update your system sudo apt-get update Step 2: Install Apache server sudo apt-get install apache2 apache2-doc apache2-utils libexpat1 ssl-cert Step 3: Install PHP (php7.2 latest version of PHP) sudo apt-get install libapache2-mod-php7.2 php7.2 php7.2-common php7.2-curl php7.2-dev php7.2-gd php-pear php-imagick…
To Install mysql follow below tutorial INSTALLING NGINX, PHP, MYSQL (LEMP) STACK ON UBUNTU 18.04 – PART -2 Install Phpmyadmin(for database) sudo apt-get install phpmyadmin Manually Installing phpMyAdmin (Ubuntu 18.04) Posted on Jan 17, 2019 in Tutorials Sometimes installing phpMyAdmin…
Apache Installation Install Apache web server from the official repository. Launch terminal on your system or login with ssh for remote systems. Execute the following commands to install the latest available version of Apache web server. sudo apt update sudo…
Give a user sudo access to run sudo command. Add User to the Wheel Group in CentOS The wheel group is a special user group that allows all members in the group to run all commands. Therefore, you need to…
Prerequsitis The two most popular rpm repositories REMI and EPEL have most of the updated packages. They are also providing the latest packages for LAMP setup. Enable both repositories on your system using the following commands on your CentOS 7…
Fix wordpress details page 404 page not found error on nginx server Change below code try_files $uri $uri/ =404; to try_files $uri $uri/ /wp-default/index.php?$args; Here is the below working code location /wp-default { # root /usr/share/; root…
Install Mysql and Phpmyadmin Installing MySQL to Manage Site Data Now that you have a web server, you need to install MySQL (a database management system) to store and manage the data for your site. Install MySQL by typing: $…
Configure nginx Virtual Hosting and the PHP ProcessorPermalink In this guide, the domain example.com is used as an example site. Substitute your own FQDN or IP in the configuration steps that follow. Nginx uses server directives to specify name-based virtual hosts. Nginx calls these server…