Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Tuesday, March 28, 2023

Note : The list required to install and configure

 Checklist to activate hosting server (php, laravel and sql server)Install VirtualminUpgrade PHP8.1 or latestTo connect with Oracle DB - install OCI8To connect with MSSQL - install ODBC, sqlsrv, pdo_sqlsrvInstall Laravel - install composer, npm, node # Previous OS Centos 7 and below - install with latest OpenSSL 1.0.2k-fips# Latest OS Rocky9.1 and above - install with latest OpenSSL 3.0...

Friday, May 13, 2022

Letsencrypt : Secure Apache on Ubuntu 20.04

Let’s Encrypt is a Certificate Authority (CA) that facilitates obtaining and installing free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. 1. Installing Certbot#sudo apt install certbot python3-certbot-apache 2.Checking your Apache Virtual Host Configuration#sudo vi /etc/apache2/sites-available/your_domain.conf #sudo apache2ctl configtest#sudo systemctl reload apache23.Allowing...

Friday, June 12, 2020

Centos 7 : Reset root password

The steps:1. During boot menu, press (e) to edit existing kernel 2. Scroll down and find the line with (ro). Change (ro) with rw init=/sysroot/bin/sh. Ctrl-x to start3. In emergency mode. Type #chroot /sysroot4. Change the root password. Type #passwd root5. Update the SELinux. Type #touch / .autorelabel6. Exit and Reb...

Friday, February 22, 2019

Thursday, February 21, 2019

Thursday, November 22, 2018

Thursday, April 6, 2017

Ubuntu : Enable root login

Solution 1. Edit #/etc/ssh/sshd_config Change PermitRootLogin prohibit-password to yes Solution 2. Run the command #sudo sed -i 's/prohibit-password/yes/' /etc/ssh/sshd_config 3. Create password to root login #passwd root Source: https://linuxconfig.org/enable-ssh-root-login-on-ubuntu-16-04-xenial-xerus-linux-server-deskto...

Wednesday, August 3, 2016

Thursday, July 28, 2016

Centos : How to fix boot failure due to incorrect fstab?

Solutions: at the grub prompt, hit a to append options add init=/bin/bash to the end of the kernel command line and press enter The system will boot to a prompt like 'bash-3.2#' enter the following commands at the prompt mount -o remount,rw / vim /etc/fstab Source: http://unix.stackexchange.com/questions/44027/how-to-fix-boot-failure-due-to-incorrect-fsta...

Monday, October 26, 2015

Wednesday, June 3, 2015

Thursday, July 2, 2009