Aug 30, 2023
Windows Terminal : Always Run as Administrator
May 18, 2023
Android : Install Ubuntu via Termux
Install Ubuntu in Android Phone with Termux (No Root).
Official GitHub MFDGaming: https://github.com/MFDGaming/ubuntu-in-termux
Termux Terminal
- pkg upgrade -y
- pkg install wget -y
- pkg install proot -y
- pkg install git -y
- git clone https://github.com/MFDGaming/ubuntu-in-termux.git
- cd ubuntu-in-termux
- chmod +x ubuntu.sh
- ./ubuntu.sh
- ./startubuntu.sh
10. apt update && apt upgrade -y
Apr 17, 2023
Windows : Terminal Apps (Shortcut Keys)
Windows Terminal Apps Shortcut Keys
Download Link : https://github.com/microsoft/terminal
General Shortcuts.
- [CTRL] +[SHIFT] + [W] --> Close Current Pane.
- [CTRL] + [-] --> Reduce Font Size.
- [CTRL] + [+] --> Increase Font Size.
- [CTRL] + [0] --> Reset Font Size to Default.
- [CTRL] + [SHIFT] + [T] --> Open New Tab with Default Profile.
- [CTRL] + [SHIFT] + [N] --> Open New Window.
- [CTRL] + [SHIFT] + [1 ~ 9] --> Open New Tab with Corresponding profile Index (eg. 1 to 9).
- [ALT] + [SHIFT] + [D] --> Duplicate a Pane.
- [CTRL] + [SHIFT] + [D] --> Duplicate a Tab.
- [ALT] + [SHIFT] + [-] --> Split Pane Horizontally.
- [ALT] + [SHIFT] + [+] --> Split Pane Vertically.
Mar 24, 2023
Apache 2 Server : Installation in Ubuntu Server v.22.04.2
Apache 2 Server Installation in Ubuntu Server v.22.04.2
1. Ensure Ubuntu repository is up-to-date.
sudo
apt update && sudo apt upgrade -y |
sudo
apt install apache2 -y |
sudo
ufw app list |
sudo
ufw status |
sudo
ufw allow ‘Apache’ |
sudo
mkdir /var/www/[Domain Name] |
sudo
chown -R $USER:$USER /var/www/[Domain Name] |
sudo
chmod -R 755 /var/www/[Domain Name] |
sudo
nano /var/www/[Domain Name]/index.html |
<html> <head> <title>WELCOME TO [DOMAIN NAME] !</title> </head> <body> <h1>SUCCESS ! THE [DOMAIN NAME] VIRTUAL HOST IS WORKING !</h1> </body> </html> |
sudo
nano /etc/apache2/sites-available/[Domain
Name].conf |
<VirtualHost
*:80> ServerAdmin webmaster@localhost ServerName [Domain Name] ServerAlias www. [Domain Name] DocumentRoot /var/www/[Domain Name] ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log
combined </VirtualHost> |
9. Enable the newly created site.
sudo
a2ensite [Domain Name].conf |
sudo
a2dissite 000-default.conf |
sudo
apache2ctl configtest |
sudo
systemctl restart apache2 |
Edit: Added video for easy references.
!!! HAPPY COMPUTING !!!
Webmin : Installation in Ubuntu Server v.22.04.2
Webmin as a Web GUI for Linux (https://webmin.com/) and have tons of functions and features, this is especially useful for Beginners IT Admin personnel.
Still it is recommended to use SSH to manage any Linux servers instead of GUI.
1. Ensure Ubuntu repository is up-to-date.
sudo
apt update && sudo apt upgrade -y |
sudo
apt install wget curl nano net-tools gnupg1 -y |
sudo
nano /etc/apt/sources.list |
deb
http://download.webmin.com/download/repository sarge contrib |
sudo
curl -o setup-repos.sh https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh |
sudo
sh setup-repos.sh |
sudo
apt update && sudo apt upgrade -y |
sudo
apt install webmin -y |
https://[You IP Address]:10000 |
sudo
ufw allow 10000 |
sudo
reboot |
Mar 15, 2023
Android : Install Termux Terminal Apps
Termux is a "Terminal Emulator" but due to its functions its been banned by Google Play Store and thus was no longer available for download.
But there is another way to do this via another store apps called "F-Droid" and can be easily done.
1) Open any web browser and type-in the following link (https://f-droid.org/en/).
2) At main page (shown below), click on the --> Download F-Droid button.
3) Your mobile or Android may display some warning messages, proceed to Allow the download.
4) Once download completed, it will try to auto-install but another warning message will be displayed. Just allow the installation or Enabled --> Allow installation from unknown source.
5) Once "F-Droid" have completed the installation, on your home screen or more apps screen the "F-Droid" icon will be shown. Now tap to Open the apps.
6) At the first start, there will nothing to display but don't be alarmed as the apps is now "Updating Repositories" and may take while to complete. Just leave as it until everything is updated.
7) Once the repositories is updated, the screen will shows you some popular apps. Tap on the "Search" icon and type-in --> Termux
8) There are many apps named "Termux" but look for the descriptions that says "Terminal....", select that apps and proceed to download and install.
9) As usual, your phone will prompt you some warning, proceed to Allow download and install as usual.
10) Once everything completed, you will now have "Termux" installed and the icon will be displayed at the Home screen or inside More Apps screen.
Edited : 18-May-2023, add video link.
!!! HAPPY COMPUTING !!!