Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Linux Articles
Page 4 of 134
How to Change Apache Port in Linux?
Apache HTTP server (often called Apache) is an open-source, cross-platform web server developed by Apache Software Foundation. It is one of the most popular web servers available used for hosting web sites and serving web content. By default, Apache works on port 80/tcp for HTTP and 443/tcp for HTTPS. There are situations (like security considerations, port conflicts with other programs or need to run multiple web servers) where one may need to modify these default ports which the web server listens on. Changing Apache Port on Linux Read this tutorial to learn how to change HTTP port for Apache on ...
Read MoreUsing Secure Copy Protocol to Copy and Transfer Files in Linux
Secure Copy Protocol (scp) helps to securely transfer files between hosts on a network. It relies on SSH (secure shell) using SFTP protocol to create a secure connection and encrypt the data during transit whether it is a single file or whole directory. scp uses the same authentication as SSH and provides the same security as a login session. It'll prompt for password or passphrases, if required. If SSH keys are configured between local and remote systems for the involved user(s), scp can run without any prompts to the user. This article will show you how you can ...
Read MoreHow to Install VirtualBox on CentOS?
VirtualBox is an open-source, cross-platform virtualization tool by Oracle which allows us to create and run multiple operating systems simultaneously on a single physical machine. As a Type-2 Hypervisor, VirtualBox is installed on top of an operating system such as Windows, Linux or Mac and provides both headless interface and GUI (Graphical User Interface) for creating and managing virtual machines. Installing VirtualBox Step-by-step process for installing VirtualBox on a CentOS 9 machine is as follows: Initially, check if your system supports virtualization with the command below: $ lscpu | grep -i virtualization Virtualization type: full $ In case, there’s ...
Read MoreHow to Change PATH Permanently on Ubuntu?
On all Linux-based systems, PATH is the name of a crucial environment variable which is used by shell to look for executable files before running any command. The PATH variable contains a list of directories where different system and user-based programs are available. This variable sometimes needs to be updated to include additional custom directories, to allow running executables from new location without specifying the absolute path of the executable (or first changing to its parent directory). For example, instead of specifying the absolute path for Python like /usr/bin/python3, you can simply write python3 because /usr/bin is part of the ...
Read MoreHiding Text Input on Linux Terminal
In any Linux terminal, you usually get a prompt to type commands and get their outputs. For some commands and scripts, you may need inputs which are usually provided by the user by typing on the terminal. For normal commands or text inputs, we can see whatever is typed on the terminal. But there are some cases where we don't want to display these input text on screen for security reasons, like preventing any sensitive information such as passwords, keys or personal data from getting exposed. Linux terminal allows us to prevent printing of typed characters on screen for this ...
Read MoreDNS Caching in Linux
DNS is the backbone of modern Internet infrastructure. DNS stands for Domain Name System which is a system that translates domain names into IP addresses. There are different types of DNS queries and hierarchy of DNS servers that resolve DNS queries. Like any query, DNS queries also introduces some latency which could affect application performance and end-user satisfaction, if the delay adds up significantly. What is DNS Caching? DNS caching is a critical mechanism that improves network performance and reduces unnecessary network traffic. By storing previously resolved domain names locally, DNS cache helps speed up web browsing, network applications, and ...
Read MoreUser-Space Debugging Tools for Linux
The userspace is the area or space where all the applications executed by the user are located, such as the terminal, web browser, text editor, etc. In simple terms, the userspace is an area with resources for user processes to run. This space has limited access to the hardware, a separate memory, and user privileges. It has its own components, such as: Shell − The command-line interface. User Libraries − Provide the interface for system calls. Daemons − Background processes. Utilities and Tools − Tools like grep and vim, which run inside the userspace. Applications running in the ...
Read MoreHow to Use Comments in Bash Scripts?
Bash script is a language that has multiple functionalities and capabilities, and as a programmer, keeping track of and remembering all the language syntax, especially if it's not your day-to-day language, is hard. For this purpose, we use comments, which allow us to simplify and demonstrate what a part of the code does. Writing comments is not necessary or obligatory, but it's a good practice, and here's why we use comments in code − Remember the code − Sometimes you write code and forget it for some time. When you come back, you might not remember why you wrote ...
Read MoreHow to Install WordPress with Apache on Ubuntu?
WordPress is the leading content management system in the world. It's free, open source, and easy to use. It is based on the popular backend language PHP. According to statistics, WordPress powers almost 60% of web applications worldwide. This is because it offers many features and capabilities that every website owner needs. Let's understand why WordPress is popular − Usage − WordPress is easy to set up and use. Even a person without an IT background can set up and use WordPress effectively. It comes with a simple interface to manage content, pages, and users. ...
Read MoreHow to Install TeamViewer on Ubuntu?
TeamViewer is a popular software for remote access to computers. It allows you to access another machine using an ID and a password. It is generally used for troubleshooting and fixing problems. TeamViewer is not the only software that offers remote access; there are other alternatives. However, TeamViewer is the most used one due to its capabilities and features. Here are some features TeamViewer offers to users − Cross-Platform − It can be installed on almost all operating systems, which is why it has many users across different platforms. File Sharing ...
Read More