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...
Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts
Tuesday, March 28, 2023
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
SSL : RSA server certificate CommonName (CN) `abc.com.my' does NOT match server name!?
Issue :
[warn] RSA server certificate CommonName (CN) `abc.com.my' does NOT match server name!?
Resolve:
Edit Apace SSL file : /etc/httpd/conf.d/ssl.conf
Change line # SSL Engine Switch from ON to OFF - SSLEngine off...
Thursday, February 21, 2019
SSL : Disable SSL on Webmin
1. Edit /etc/webmin/miniserv.conf
2. Change value of "ssl" entry from 1 to 0
ssl=1 (enable)
ssl=0 (disable)
3. Restart webmin services # /etc/init.d/webmin restart
4. Restart apache services # /etc/init.d/httpd rest...
Thursday, November 22, 2018
Ubuntu : Set Static IP Ubuntu 18.04
To configure a static IP address using the new NetPlan tool on Ubuntu server:
Edit #sudo nano /etc/netplan/50-cloud-init.yaml
Add IP address, gateway and DNS
Check IP Address
Source : https://websiteforstudents.com/configure-static-ip-addresses-on-ubuntu-18-04-beta
...
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
Centos : Reset root password
source:
https://community.spiceworks.com/how_to/4022-reset-root-password-on-centos-5-6
http://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora...
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
Centos : “Device eth0 does not seem to be present, delaying initialization” Error
source :
http://www.unixmen.com/fix-device-eth0-seem-present-delaying-initialization-error...
Wednesday, June 3, 2015
Ubuntu : Disable and remove AppArmor on Ubuntu based Linux distributions
http://www.techytalk.info/disable-and-remove-apparmor-on-ubuntu-based-linux-distributio...
Thursday, July 2, 2009
Ubuntu : Install PDF printer
Get cups-pdf installed. Open up a terminal session (or use Synaptic) and type the following:
sudo apt-get install cups-pdf
Finished install. Then cups-PDF is automatic load into your printer list...
Subscribe to:
Posts (Atom)