How To Start Stop Windows Service Via Command Line Tecadmin

We can start/stop/restart any Windows service in two ways. One is to use of Windows graphical user interface, which is an easier option. Do you know that these services can also be managed via a command line interface? Yes, it can be. In this tutorial, we will discuss an option to manage a service state via the command-line interface. How to Start/Stop a Windows Service using CLI Windows Service Controller (sc) is a command line utility that communicates with Service Control Manager and services....

November 29, 2022 · 1 min · 200 words · Nathaniel Lininger

How To Whitelist An Ip In Fail2Ban On Ubuntu Debian Tecadmin

Whitelist IP in Fail2ban First of all, Make a local copy of jail.conf and edit it. In Debian based systems fail2ban configuration files are stored under /etc/fail2ban directory. Now, add your IP address under ignoreip option inside the DEFAULT section. The multiple IPs must be seprated with a white space. For example: After adding your IP, save the file and restart fail2ban service: All done!

November 29, 2022 · 1 min · 65 words · Dawn Strong

A Beginner S Guide To Formatting Ext4 Partitions On Linux Tecadmin

Before we get started, it’s important to note that formatting a partition will erase all data on it. Make sure you have backed up any important data before proceeding. Prerequisites Before we begin, you’ll need to have a Linux system with a partition that you want to format as EXT4. You’ll also need to have the mkfs.ext4 utility installed on your system. These utilities are usually included with most Linux distributions by default, but if you don’t have them installed you can use your distribution’s package manager to install them....

November 28, 2022 · 4 min · 688 words · Johnathan Giannotti

Centos 8 Initial Server Setup Tecadmin

Step 1 – Login to CentOS 8 Login to your CentOS 8 Linux machine. The desktop users can use the GUI interface to log in. Remote users connect to there server using SSH access. Step 2 – Update Current Pacakges After login, first, update all the current packages on your system. Step 3 – Install Required Packages Step 4 – Create User Account Some of the cloud hosting providers like DigitalOcean provider root access only....

November 28, 2022 · 2 min · 302 words · Linda Braxton

Docker Run A Beginner S Guide To Run Docker Containers Tecadmin

What is a Docker Container? A Docker container is a lightweight and standalone executable package that includes everything needed to run an application, including the code, a runtime, libraries, environment variables, and config files. Containers are built on top of Docker’s open-source containerization technology, which allows developers to package and deploy applications in a container, making it easier to run applications consistently on different environments. How to Run a Docker Container To run a Docker container, you need to have a Docker image, which is a packaged application that can be deployed in a container....

November 28, 2022 · 4 min · 716 words · Barbara Gonzalez

Execute External Commands In Python Tecadmin

Python Scrpt to Call System Command Let’s create your first program to list all files available in the current directory. You can add any number of command-line parameters with the comm (,) separated. Where- import statement is used to load the subprocess module form the Python standard library call is the function of subprocess module, is used to execute external commands Python Print without New Line Python commands terminate with new line output “\n”, which you can overwrite using end=”” means that the next command output will be on the same line....

November 28, 2022 · 2 min · 253 words · Tracy Frank

Filesystem Hierarchy Structure Fhs In Linux Tecadmin

The root directory, represented by “/”, is the top-level directory on the system. It contains files and subdirectories that are critical to the functioning of the system. For example: /etc directory contains configuration files for the system. /var directory stores variable data such as log files. /root directory is the home directory for the root user. /home is where users’ home directories are typically located. /bin contains the binary file required at system bootup....

November 28, 2022 · 1 min · 162 words · Tyler Jewell

How To Change Apache Default Page With Htaccess Tecadmin

This tutorial will help you to change the default page in the .htaccess file. To do this first make sure you are using Apache web server and you have enabled .htaccess for the virtual host. Let’s edit the .htaccess file on your website document root and add a DirectoryIndex entry followed by file name. Now Apache will use this file as your default file. You can also define more than one file like below....

November 28, 2022 · 1 min · 85 words · James Mcquaig

How To Count Number Of Lines In File With Python Tecadmin

Then execute the script on the command line and see the result. This will show you the number of lines available in a file.

November 28, 2022 · 1 min · 24 words · Gabriel Kempf

How To Create Django Application On Fedora 36 35 Tecadmin

This blog post will walk you through how to get started with your local testing environment for Django on Fedora. Step 1 – Installing Python First, let’s make sure you have the latest versions of Python and Django installed. Open a terminal window, and start by updating your system: Fedora’s latest versions have already installed Python 3. The minimal installation systems may not have Python installed, Execute the below commands to install it....

November 28, 2022 · 3 min · 537 words · Joseph Adams

How To Install Net Core On Debian 10 Tecadmin

This tutorial explained how to install .net core on Debian 10 Linux system. Prerequsities Login to your debain system with sudo privileged account. Open a terminal, update the apt cache and install below required packages Step 1 – Enable Microsoft PPA First of all, you need to enable Microsoft packages repository on your Debian system. The Microsoft official team provides a Debian packages to create PPA file on your system....

November 28, 2022 · 1 min · 212 words · Bryan Daly

How To Install And Use Docker On Ubuntu Debian Tecadmin

Docker is based on the idea of containerization, which is the process of packaging applications and their dependencies in isolated environments. This helps developers quickly and easily deploy applications without having to worry about managing dependencies and configuring system settings. Docker containers are also highly portable and can be easily transferred from one system to another. This makes it possible to develop applications on one machine, deploy them on another, and move them between different hosting environments with minimal effort....

November 28, 2022 · 4 min · 784 words · Brandy Barker

How To Install Apache With Php Fpm On Ubuntu 18 04 Lts

Install Apache with PHP & FastCGI on CentOS/RHEL You can also visit the previous tutorial to configure Apache with multiple PHP versions using PHP-FPM/FastCGI on Ubuntu systems. Apache Installation Apache packages are available under default repositories. SSH to your Ubuntu 18.04 LTS system with sudo privileges account and install Apache web server from the official repository. PHP Installation For the PHP installation we recommend to use ppa:ondrej/php PPA, which provides latest PHP versions for Ubuntu systems....

November 28, 2022 · 2 min · 290 words · Mary Carter

How To Install Codeigniter On Ubuntu 16 04 Xenial Tecadmin

This tutorial will help you to install CodeIgniter PHP framework on Ubuntu 16.04 Xenial LTS systems. Step 1 – Prerequsities Login to your Ubuntu 16.04 system vis desktop or ssh. CodeIgniter required PHP to be installed, MySQL as the database server and Apache/Nginx as the web server. Use one the following tutorial to install LAMP server on your system Install LAMP on Ubuntu 16.04 Step 2 – Download CodeIgniter Download the latest version of CodeIgniter from its official GitHub release page....

November 28, 2022 · 2 min · 310 words · Amy Mcdougall

How To Install Docker On Debian 9 Stretch Tecadmin

Step 1 – Prerequsites The very first step is to remove any default Docker packages from the system before installation Docker on a Linux VPS. Execute commands to remove unnecessary Docker versions. Now install some required packages on your system for installing Docker on Debian system. Run the below commands to do this: Step 2 – Setup Docker Repository Now import dockers official GPG key to verify packages signature before installing them with apt-get....

November 28, 2022 · 2 min · 412 words · Kelly Ashburn

How To Install Gulp Js On Linux Mint 21 20 19 Tecadmin

Step 1 – Installing Node.js First of all, you need to install node.js on your system. Use the following set of commands to add node.js PPA in your Linuxmint system and install it. Make sure you have successfully installed node.js and NPM on your system Step 2 – Install Gulp.js on Linux Mint After installation of Node.js and Npm on your system, use the following commands to install Gulp CLI globally on your system....

November 28, 2022 · 1 min · 133 words · Thomas Diaz

How To Install Mariadb 10 4 On Centos Rhel 7 6 Fedora 30 29

Step 1 – Add MariaDB Yum Repository First add MariaDB yum repository in our system. Create a new repo file /etc/yum.repos.d/mariadb.repo in your system and add below code as per your operating system and architecture. For CentOS/RHEL – 7 For CentOS/RHEL – 6 For Fedora – 30/29/28 Please change the version (red highlighted) in the below setting as per the version of Fedora you used. Click here to view all available repositories....

November 28, 2022 · 2 min · 223 words · Michael Maria

How To Install Php 8 1 7 4 5 6 On Debian 11 Tecadmin

It is available for all OS. The latest version of PHP is version 8 and in this article, we will discuss the installation of PHP on the Debian 11 (Bullseye) Linux system. Prerequisites First, update all the packages of the system by below-mentioned command: After updating packages, now install the dependencies required by the below-mentioned command: Step 1 – Enable SURY Repository The following step is to integrate the SURY repository into our system....

November 28, 2022 · 3 min · 434 words · Paul Hauman

How To Install Php On Debian 10 Buster Tecadmin

Debian 10 is still under development. So this tutorial is tested with Debian 10 daily build version. Prerequisites Login to your Debian 10 system using shell access. For remote systems connect with SSH. Windows users can use Putty or other alternatives applications for SSH connection. Run below commands to upgrade the current packages to the latest version. Setup PPA on Debian 10 Let’s execute the following commands to install the required packages first on your system....

November 28, 2022 · 1 min · 179 words · Christina Cummings

How To Install Postgresql 11 On Debian 10 Buster Tecadmin

Installing pgAdmin4 on Debian 10 Step 1 – Setup PostgreSQL PPA First, you need to import PostgreSQL packages signing key on your system. Use the below command to import the key. Now add PostgreSQL apt repository in your system as per your operating system. These are suggested on official PostgreSQL website using following command. Step 2 – Install PostgreSQL on Debian 10 At this stage, you have successfully added PostgreSQL official repository in your system....

November 28, 2022 · 1 min · 212 words · James Dunn