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
-
Economics & Finance
Linux Articles
Page 115 of 134
Setting Up LEMP Linux, Nginx, MySQL/MariaDB, PHP) and PhpMyAdmin on Ubuntu 15.04 Server
LEMP stack is a powerful combination of open source technologies used for web development and hosting. LEMP comprises Linux (the operating system), Nginx (pronounced "engine-x", a web server), MySQL/MariaDB (database management), and PHP (server-side scripting language). Note: Ubuntu 15.04 has reached end-of-life. This guide is for educational purposes. Consider using a current Ubuntu LTS version for production environments. Prerequisites Before starting the installation, ensure you have − Ubuntu 15.04 server with root or sudo access Internet connection for package downloads Basic command line knowledge Manual Installation Method Step 1: Update ...
Read MoreSetting Up LAMP (Linux, Apache, MariaDB and PHP) on Fedora 24 Server
Follow these instructions to install LAMP (Linux, Apache, MariaDB, and PHP) on a Fedora 24 server. LAMP stack provides a complete web development environment with Linux as the operating system, Apache as the web server, MariaDB as the database, and PHP for server-side scripting. Prerequisites: Ensure you have a fresh Fedora 24 server installation with root or sudo access and an active internet connection. Step 1: Update System First, update your system packages to ensure you have the latest versions ? sudo dnf update -y Step 2: Install Apache Web Server ...
Read MoreInstall Lighttpd with PHP and MariaDB on RockyAlmaLinux
RockyAlmaLinux is a robust and secure Linux distribution that serves as a perfect replacement for CentOS. This article will guide you through installing a complete web server stack with Lighttpd, PHP, and MariaDB, providing detailed instructions with examples and expected output for each command. Prerequisites: Administrative access to your RockyAlmaLinux system and an active internet connection. Step 1: Update the System First, update the system's package repositories and upgrade installed packages to their latest versions − sudo dnf update $ sudo dnf update Last metadata expiration check: 0:20:47 ago on ...
Read MoreInstall LAMP - Apache, PHP, MariaDB and PhpMyAdmin in OpenSUSE
The LAMP stack, which stands for Linux, Apache, MySQL/MariaDB, and PHP, is a powerful combination of open−source software widely used for web development and hosting. In this tutorial, we will guide you through the process of installing and configuring the LAMP stack on openSUSE, a popular Linux distribution. Step 1: Update System Packages Before we begin, it is essential to update the system packages to ensure that we have the latest software versions and security patches ? sudo zypper refresh sudo zypper update Step 2: Install Apache Apache is a widely used web ...
Read MorePDF generation from XHTML in a LAMP environment
The LAMP environment is widely used for web development, and it is an acronym for Linux, Apache, MySQL, and PHP. This environment is an open-source platform that is easy to use and deploy. PDF format is commonly used for sharing and exchanging documents over internet. However, generating PDF documents can be a challenging task in a LAMP environment, especially when converting XHTML documents. In this article, we will explore different methods used for PDF generation from XHTML in a LAMP environment. What is XHTML? XHTML stands for Extensible Hypertext Markup Language, which is a markup language that is ...
Read MoreHow to restart a NoSQL Database service like MongoDB?
To restart a MongoDB service, use the systemctl command on modern Linux systems. MongoDB runs as a system service called mongod that can be managed through systemd service management tools. Syntax sudo systemctl restart mongod sudo systemctl status mongod sudo systemctl enable mongod Method 1: Using systemctl (Recommended) Check the current status of MongoDB service ? sudo systemctl status mongod mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: https://docs.mongodb.org/manual Restart ...
Read MoreDifference between grep and fgrep command
Both grep and fgrep are Linux commands used to search for strings in files, directories, or command output. The key difference is that grep supports regular expressions, while fgrep treats the search pattern as a fixed (literal) string. grep (Global Regular Expression Print) grep searches for strings or regular expressions in files. It interprets special characters like ., *, ^, $, [ ] as regex metacharacters. It uses the Boyer-Moore algorithm for fast searching. fgrep (Fixed grep / grep -F) fgrep (equivalent to grep -F) searches for fixed strings only. It does not recognize regular expressions ...
Read MoreDifference between Fedora and CentOS
Fedora and CentOS are both Linux-based, open-source operating systems from the Red Hat ecosystem. Fedora focuses on delivering the latest technologies for developers, while CentOS provides a stable, free alternative to RHEL for production server environments. Fedora Fedora is an open-source Linux distribution intended for developers and system administrators. It is developed by the Fedora Project community and sponsored by Red Hat. Introduced in September 2003 (initially known as Fedora Core), it delivers cutting-edge software with new releases approximately every six months. CentOS CentOS (Community Enterprise Operating System) is a free, open-source Linux distribution built from ...
Read MoreDifference between Fedora and Debian
Fedora and Debian are both popular Linux-based, open-source operating systems. Fedora is backed by Red Hat and targets developers with cutting-edge software, while Debian is community-driven and known for its stability and massive package repository. Fedora Fedora is a Linux-based operating system primarily intended for developers and system administrators. It is supported by the Red Hat community and was introduced in September 2003 (initially known as Fedora Core). Fedora focuses on delivering the latest software and technologies with frequent release cycles (approximately every 6 months). It uses the dnf package manager with .rpm packages. Debian Debian ...
Read MoreMonitoring Disk Usage in Linux
Disk space is a precious resource on any Linux system. Whether you're running a small home server or a large enterprise cluster, it's crucial to monitor disk usage to prevent running out of space, identify potential issues, and optimize storage allocation. This comprehensive tutorial will explore various command-line tools and techniques for effectively monitoring disk usage on Linux, empowering you to keep your storage under control. Command-Line Tools for Monitoring Disk Usage Linux provides a rich set of command-line tools for monitoring disk space. Here are some of the most essential ones − df (Disk Free) The df command provides ...
Read More