SSH Key-Pair Authentication Rumi, September 3, 2022 Create Key-Pair by each user, so login with a common user on SSH Server Host and work like follows. # create key-pair debian@dlp:~$ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/debian/.ssh/id_rsa): # Enter or input changes if you want Created directory ‘/home/debian/.ssh’. Enter passphrase… Continue Reading
Redirect all request to public/ folder in laravel 5 Rumi, August 19, 2022 There are two solutions: 1. Using .htaccess with mod_rewrite RewriteEngine on RewriteCond %{REQUEST_URI} !^public RewriteRule ^(.*)$ public/$1 [L] 2. You can add a index.php file containing the following code and put it under your root Laravel folder (public_html folder). <?php header(‘Location: public/’); Src: https://stackoverflow.com/questions/38040502/how-do-you-redirect-all-request-to-public-folder-in-laravel-5 Continue Reading
Convert VirtualBox VM to ProxMox VE Rumi, June 24, 2022June 24, 2022 On the VirtualBox host, launch VirtualBox Right click the VM to convert > Settings Select Storage from the left navigation Click the virtual hard disk and copy the Location value for the full path of the disk to the clipboard Right click on the Start menu > Run > type… Continue Reading
Reboot Windows 10 using RDP Rumi, March 26, 2022 This article is for sysadmins who know better, wanting to Shut down or Restart (or even enter Sleep) over RDP anyway. Using Command Prompt Open a Command Prompt a. To initiate a Shut down, type: shutdown /s /t 0 then press Enter Continue Reading
Enable TLS 1.0 in Firefox Browser Rumi, March 26, 2022 Firefox 43 supports TLS 1.0, 1.1, and 1.2 by default. You shouldn’t need to make any changes, but you can double-check the settings here if you like: (1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful…. Continue Reading
Solving A remote code execution vulnerability exists in the Credential Security Support Provider protocol (CredSSP) on Windows RDP Rumi, March 18, 2022 WORKAROUND Use the group policy settings changes described below to rollback the changes to ‘Vulnerable’ state to allow RDP access. 1. Open Group Policy Editor, by executing gpedit.msc 2. Policy path: Computer Configuration -> Administrative Templates -> System -> Credentials Delegation Run gpedit.msc and expand Administrative Templates Continue Reading
Docker Commands Rumi, December 21, 2021 Working with Docker Images Docker containers are built from Docker images. By default, Docker pulls these images from Docker Hub, a Docker registry managed by Docker, the company behind the Docker project. Anyone can host their Docker images on Docker Hub, so most applications and Linux distributions you’ll need will have… Continue Reading
Install Docker on Debain 10 Rumi, December 21, 2021 Installing Docker The Docker installation package available in the official Debian repository may not be the latest version. To ensure we get the latest version, we’ll install Docker from the official Docker repository. To do that, we’ll add a new package source, add the GPG key from Docker to ensure… Continue Reading
Install Netxtcloud on Debian 10 Rumi, December 16, 2021 Install Apache, MariaDB and PHP NextCloud runs on the webserver, written in PHP and uses MariaDB to store their data. So you will need to install Apache, MariaDB, PHP and other required packages on your system. You can install all of them by running the following command: apt-get install apache2… Continue Reading
Redirect HTTP to HTTPs automatically in Zimbra 8.8 Rumi, November 26, 2021 The most popular out of 5 options for proxy services, is to redirect. To do this, you can run the following as zimbra user: zmprov ms `zmhostname` zimbraReverseProxyMailMode redirect This will redirect your URLs to the zimbra hostname based HTTPs. Now, restart the proxy services: su – zimbra zmproxyctl restart… Continue Reading