WordPress is a free and open source Content Management System written in PHP and is what a vast segment of websites is based on. The platforms has a vary nice feature: it allows the creation and management of multiple websites from the same installation. While migrating a WordPress installation is quite easy, to migrate WordPress multisite to a new server requires additional steps. In this tutorial we see how to proceed.
webapp
Configure Apache VirtualHost on Fedora
Apache web servers utilize the virtual host feature in order to host more than one website. If you have Apache installed on Fedora Linux and want to run multiple websites, this is the route you will have to take. But don’t worry, Apache makes it rather easy to setup and configure virtual hosts.
In this guide, we’ll go through the step by step instructions to configure Apache virtual hosts on Fedora.
In this tutorial you will learn:
- How to configure Apache virtual hosts on Fedora Linux
How to manage dynamic virtual hosts with Apache and the mod_vhost_alias module
The Apache web server has the ability to serve multiple websites from the same IP address, using virtual hosts. Each Virtual Host can be configured in the main server configuration file, or, thanks to the Include
or the IncludeOptional
directives, in its own dedicated one. When the number of virtual hosts increases, their management starts to become troublesome. If their configuration is quite similar, we can manage them dynamically, thanks to the mod_vhost_alias
module. In this tutorial we will see how to do it.
In this tutorial you will learn:
- What is an Apache virtual host
- How to check if the mod_vhost_alias module is enabled
- How to load the mod_vhost_alias module on Debian and Red Hat family of distributions
- How to manage dynamic virtual hosts using the mod_vhost_alias module
How to work with the Woocommerce REST API with Python
WordPress is probably the most used CMS in the world (it is estimated that almost 40% of all websites are built using the platform): it is very easy to install and use, and allows even non-developers to create website in few minutes.
Wordpress has a very large plugin ecosystem; one of the most famous is Woocommerce, which allows us to turn a website into an online store in few steps. The plugin makes use of the WordPress REST API infrastructure; in this tutorial we will see how to interact with the Woocommerce API using the Python programming language, showing how to list, create, update and delete products and categories.
In this tutorial you will learn:
- How to generate Woocommerce REST API credentials and enable pretty permalinks
- How to interact with the Woocommerce REST API using Python and the woocommerce package
- How to get information about the existing Woocommerce categories, create, update and delete them
- How to get information about the existing Woocommerce products
- How to create simple and a variable products with variations
- How to update and delete a product
Use JoomScan to scan Joomla for vulnerabilities on Kali
When installing a content management system for your website, it’s easy to get lazy and assume that it’s going to do all the work for you. A CMS like Joomla certainly does make things more convenient, and lets you publish a polished website very quickly, but that doesn’t mean you shouldn’t take some extra time to secure it.
If your website is running Joomla, you can use the JoomScan utility against your site to uncover vulnerabilities or just general information that can assist in an attack against your site. Once you’re aware of the the site’s weak spots, you can take the proper steps to secure it. JoomScan works similarly to WPScan, which is used for scanning WordPress sites for vulnerabilities.
In this guide, we’ll see how to use JoomScan on Kali Linux. JoomScan itself is not a tool that can be used maliciously while performing simple scans against a site, unless you consider the extra traffic itself to be malicious. But the information it reveals about a site can be leveraged by attackers to launch an attack. Therefore, make sure you have permission to scan a website when using this tool.
In this tutorial you will learn:
- How to use JoomScan
Learn Burp Suite on Kali Linux: Part 1
When it comes to testing the security of web applications, you’d have a hard time finding a set of tools better than Burp Suite from Portswigger web security. It allows you to intercept and monitor web traffic along with detailed information about the requests and responses to and from a server.
There are way too many features in Burp Suite to cover in just one guide, so this one will be broken down into four parts. This first part will cover setting up Burp Suite and using it as a proxy for Firefox. The second one will cover how to gather information and use the Burp Suite proxy. The third part goes into a realistic testing scenario using information gathered through the Burp Suite proxy. The fourth guide will cover many of the other features that Burp Suite has to offer.
How to perform web requests with PHP using the cURL extension
The open source libcurl
is client-side URL
transfer library which supports a lot of protocols like FTP
, HTTP
, HTTPS
and works on a multitude of platforms. The PHP cURL
module let us access the functionalities provided by the library from the PHP programming language. In this tutorial we will see how to install the module and how to use it to perform simple requests.
In this tutorial you will learn:
- How to install the cURL module
- The basic steps to follow to initialiaze a cURL session and perform a request
- How to perform a GET request with PHP cURL
- How to perform a POST request with PHP cURL
Install and Configure MySQL Workbench on Ubuntu Linux
MySQL workbench is a graphical application which let us manage data and perform administrative tasks on MySQL databases. In this tutorial we will see how to install the program on Ubuntu 18.04 (Bionic Beaver) and we will perform a brief tour of some of its most basic functionalities to make your Linux system administration job easier.
In this tutorial you will learn:
- How to install and configure MySQL workbench
- How to create a schema and a table via MySQL workbench
- How to crate an E.R diagram by reverse-engineering an existing schema
- How to execute SQL queries
How to build a docker image using a Dockerfile
Docker skills are high in demand mainly because, thanks to the Docker
we can automate the deployment of applications inside so-called containers
, creating tailored environments that can be easily replicated anywhere the Docker
technology is supported. In this tutorial we will see how to create a Docker image
from scratch, using a Dockerfile
. We will learn the most important instructions we can use to customize our image, how to build the image, and how to run containers based on it.
In this tutorial you will learn:
- How to create a docker image using a Dockerfile
- Some of the most frequently used Dockerfile instructions
- How to achieve data persistence in containers
Install WordPress on Ubuntu 18.04 Bionic Beaver Linux
Objective
The objective is to install WordPress on Ubuntu 18.04 Bionic Beaver Linux
Operating System and Software Versions
- Operating System: – Ubuntu 18.04 Bionic Beaver
- Software: – WordPress 4.9.4 or higher
Requirements
Privileged access to your Ubuntu System as root or via sudo
command is required.
Conventions
How to install NGINX on Ubuntu 20.04 Focal Fossa
In the following tutorial you will learn how to install Nginx web server on Ubuntu 20.04 Focal Fossa with simple to follow steps.
In this tutorial you will learn:
- How to install Nginx
- How to configure firewall to allow for Nginx incoming traffic
- How to manage Nginx server
How to install Webmin on Ubuntu 20.04
Webmin is an everyday tool for the sysadmin who would rather not leave his or her browser. It provides an all-in-one tool to manage your Linux box without the need to open a console. From backups to clustering, filesystems and system update, many aspects of your system is only a few clicks away with this compact tool.
In this tutorial we will install the latest stable Webmin to a freshly installed Ubuntu 20.04 system. It is a nice characteristic of Webmin that it does not really care if this distribution’s release only came out a few days back, it does have a package for it, and it does install and run on it without any issues. To test this tool’s capabilities, we’ll perform a full system update of the operating system using the WUI (Web-based User Interface).
In this tutorial you will learn:
- How to install required dependencies for Webmin
- How to download Webmin .deb package from the command line
- How to install Webmin from .deb package
- How to access the Webmin interface with a browser
- How to perform a full system update with Webmin
- How to administer the Webmin server with systemd