Welcome to CodePre.com

Commands and codes

Debian operating system

The Debian Project is an alliance of people working together to create a free operating system. This operating system is called Debian. Debian systems now use the Linux kernel. Linux is a completely free piece of software created by Linus Torvalds and supported by thousands of programmers around the world. People want application software to… read more »

How to install Softaculous on WHM

Softaculous script library that performs auto-installation functionality for web applications. The automated installation scripts provided by Softaculous run as administrative actions with web control panels such as CPanel and perform tasks such as setting permissions, installing additional software, and modifying configuration files and database tables. Such website control panels serve as interfaces provided by hosting… read more »

Install osCommerce on Debian 8

Imagine a situation where you have a great product to sell and an already planned marketing campaign, but one thing is missing is an e-commerce website to sell your product. There are many types of online stores: Magento, OpenCart, CS Cart, Prestashop … where does the list end? While each is a great e-commerce solution… read more »

Installing and configuring Fail2Ban in Centos 7

Fail2Ban is an intrusion prevention software framework that protects servers from brute-force attacks. Fail2Ban works by monitoring log files (e.g. /var/log/auth.log, /var/log/apache/access.log, etc.) for the selected services and running scripts based on them. Most commonly used to block selected IP addresses that may belong to hosts that are trying to compromise the security of the… read more »

How to Install GIMP Image Editor on Ubuntu 16.04 LTS

In this tutorial, we’ll show you how to install and configure GIMP on Ubuntu 16.04 LTS. For those of you who don’t know, GIMP is a free and open source image editor used for retouching and editing images. From retouching to restoring creative composites, the only limit is your imagination. The GIMP is used to… read more »

How to migrate iptables firewall rules to new server

This guide will show you what to do to move your firewall rules from one server to another. Beginning of work You need the following before starting this tutorial: 2 nodes (Cloud Server, or dedicated server) You will be passing rules from one to the other, so if you want to, make sure each one… read more »

Checking the hard disk for bad blocks in Centos 7

Bad sector (bad sector, bad block, bad block, in amateur literature – bad sector) – a bad (unreadable) or unreliable sector of a hard disk or flash drive; a cluster containing bad sectors, or a cluster marked as such in the file system structures (by the operating system, disk utility, or a virus, for its… read more »

How to install Sylius on Debian 8

In this tutorial, we are going to show you how to install Sylius on Debian 8 with MariaDB, PHP-FPM, and Nginx. Sylius is a modern e-commerce application built on top of Symfony 2. This tutorial should work on other Linux based systems, just as well, but was tested and written for Debian 8. Log in… read more »

Migrating Linux server in 7 steps

Mplaying Linux server in 7 stepsso you don’t need to do a fresh installation if you move the server to a new provider. You can actually make more money every month if you go to a cheaper, better quality supplier. You can do it in 7 easy steps. We recently migrated an entire Linux Fedora… read more »