Posts

Showing posts from March, 2022

Linux Essential Commands

Image
- Today I will tackle essential Linux commands to enable the users to utilize the Linux terminal fluidly. - Each command I will list below has its own function, however, if you read the manual (man <command>) of each command, you will be able to discover more extra useful functions depending on what you what to achieve through it. cd  | Change directory command allows the user to navigate through the file explorer. cd .. | This command takes you one directory back from the current directory you are in. Example : root@user $ cd /home/desktop/downloads                       root@user downloads $ cd ..                       root@user desktop $ pwd - Print Working Directory command allows users to see the path of the current working directory. Example: root@user $ pwd                ...

Assign temporary Domain Name to IP adress locally

Image
I will briefly explain h ow to temporarily set a domain name to an IP address locally in the computer or LAN. The temporary assignation of a domain name could be useful when you are working on developing a web page that has not been released to the public yet or does not have a legit domain name. In the computer: (Windows) Open the note path and run it as administrator, click open file and follow this directory path:  LocalDisk(C:)/ Windows/ System32/ drivers/ etc You will see 5 files as default, click on hosts and add the IP address as well as the domain name. Example: 192.168.254.23 example.com Once done, save the file and close it, if the name of the domain matches any other already searched before, the computer will open the legit one, in this case, you need to either clear the cache or specifically delete that domain name from the computer cache. In the router: (LAN) Search the default gateway number on your internet browser to log in into the router’s configurations, afterwar...

How to Install and set up WordPress on Ubuntu

Image
Today I will show you how to install WordPress on the latest version of Ubuntu (Linux distro). First of all, what is WordPress?  WordPress is a content management system a.k.a CMS that allows users to build and manage own websites. To set up WordPress on Ubuntu I'm going to use the LAMP stack, short for Linux, Apache, MariaDB, and PHP. Let's Get Started. Type the following commands: > sudo apt update -y - This command is meant to update packages versions from the internet to the latest ones. > sudo apt install apache2 -y - This command will install the latest version of apache which is used to set up a web server on Linux. > sudo apt install mariadb-server mariadb-client - Mariadb-server packages are used to set up the database server whereas mariadb-client packages are used to connect to the database server. Once installed type the following command to start mariadb: > sudo systemctl start mariadb To check if mariadb is running correctly type: > sudo systemctl s...