3781 Views
Sometimes you need to access any server port to your local machine. In this case SOCKS proxy is helpful. For eg., if you have deployed any app on your server at port 8080 and 8080 port is disabled on the firewall. Then you can make an SSH Tunnel to connect your local port to a server ...
Sheetal Kumar
Dec 01, 2022
5280 Views
Whenever your server disk space running low then you need to first find all unusual items to delete. To delete items you need to find where max disk space is used.
Here we are explaining to check disk space usages by du command.
du -h
Here -h means space to display in a human-readable format.
Check ...
Sheetal Kumar
Dec 10, 2021
42525 Views
To deploy nextjs app you need to install nginx, yarn, node, PM2.
Deployment of Nextjs app is very easy using the following steps.
Step 1:
Install nginx
sudo apt-get update
sudo apt-get install nginx
Step 2:
Add your site in nginx
sudo vim /etc/nginx/sites-available/default
Set ...
Sheetal Kumar
Oct 13, 2021
4560 Views
Copy file into a Docker Container is a very easy task by command. Let us view step by step process to copy files into Docker Container.
Step 1:
Get your docker container id.
sudo docker ps
This will show a list of all Docker Containers with id.
Step 2:
Use the copy command ...
Sheetal Kumar
Aug 18, 2021
5924 Views
In the Linux file system to get the size of a directory, you need to calculate and sum all file size of that directory.
The command du is used for summarizing disk usage of each file, recursively for directories.
Get the size of a directory:
du -hs /path/to/directory
Here ...
Sheetal Kumar
Apr 04, 2020
6330 Views
To install Postgres in Ubuntu you need a VM Instance on Compute Engine. Connect your VM Instance using the SSH option then follow the steps below.
Step 1:
First, you need to install the Postgres package and a -contrib package that adds some additional utilities and functionality.
sudo ...
Sheetal Kumar
Apr 03, 2020
5510 Views
When you try to upload a file using Nginx server you get an error 413 Request Entity Too Large.
This is due to Nginx server configuration is not set for your uploaded file size. To solve this issue use the following steps.
1. Connect your server using SSH terminal.
2. Open Nginx ...
Sheetal Kumar
Aug 20, 2019
7768 Views
Linux server is very efficient to manage files and processes. Sometimes you need to take backup of files or need to download code to modify locally. In linux server to download files either you use ftp or scp. SCP stands for Secure copy protocol, that is a means of securely transferring ...
Sheetal Kumar
Mar 05, 2019
22966 Views
Linux server provides a terminal to manage the server. Sometimes you need to upload file or folder or directory on the Linux Server. Using your terminal, you can upload files and folder directly to your server by SCP command. Here we are providing the way to upload file on Linux Server using SCP.
The ...
Sheetal Kumar
Mar 05, 2019
18378 Views
Google Cloud Platform is a suite of public cloud computing services offered by Google. On google cloud, you can create a server instance and host different project or website there. After creating an instance you can connect Linux instance only from their web-based SSH panel. If you want to connect ...
Sheetal Kumar
Feb 28, 2019
4442 Views
To add a PHP website in Nginx Server you need to install php-fpm on your server. Here we are providing step by step guide to add and configure PHP website on nginx server.
Step 1.
If you have not installed php-fpm then install it by following command in your Linux machine.
sudo apt-get update
sudo ...
Sheetal Kumar
Feb 26, 2019
4772 Views
Proxy means substitue. A proxy is the agency, function, which acts as a substitue for another. It acts as the intermediary between your computer and the internet. The Proxy server present in the machine in the form of firewall server, and it's present on independent server, which is used to ...
Anamika Gupta
Oct 05, 2018
6884 Views
Ubuntu is a Linux Operating System so you need to have Root privilege to get the process information.
netstat command is used to show the ports and processes in Linux.
netstat -nlp command is used to show the processes using network.
netstat -nlp
Now filter the process ...
Sheetal Kumar
Sep 04, 2018
3715 Views
In Linux Ubuntu, you do not have any GUI mode to display the RAM detail and Hard Disk details. So you need the commands to view the server status in Ubuntu.
1. View RAM Details
You can view RAM details if different units like KB, MB, GB etc. The default is KB.
free
Output:
total
used
free
shared ...
Sheetal Kumar
Jul 25, 2018
3898 Views
WAN is built using the switches and packets which is able to extend over a large area or distance or many other computer. It is large number autonomous computers that are allocated over a large geographical area. WAN is expanding to a long distance and many other computers. In WAN switches are ...
Anamika Gupta
May 08, 2018