Install Rainloop on PHP 5.6 on Debian 8 LAMP Rumi, February 12, 2021 Step-1: Install LAMP on Debian I’ve used a bash script to install LAMP. You may find it useful. #!/bin/bash ######################################################## ### This script is created by Hasn T. Emdad Rumi <h.t.emdad@gmail.com>. ### Released under GPL 2.0 licensing ### Date: 12-Aug-2016 ######################################################## echo “Updating Debian Repository…” apt-get install debian-keyring debian-archive-keyring -y… Continue Reading
E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 715d 18h 14min 9s). Updates for this repository will not be applied Update Wheezy or Jessie Repo Rumi, February 6, 2021 Wheezy and jessie both has gone EOL and repos too. archive repo doesn’t seem to usually work either. So here’s a little trick that worked for me. Below is my repo.list file- deb http://archive.debian.org/debian jessie main deb http://archive.debian.org/debian-archive/debian-security/ jessie updates/ma$ #deb http://security.debian.org/ jessie/updates non-free contrib main #deb http://mirrors.ocf.berkeley.edu/debian/ jessie-updates main… Continue Reading
Updating Webmin Logo Rumi, January 21, 2021January 21, 2021 On a default installation, your Webmin login page looks like below: To suppress both the Webmin logo and the “Webmin” text from the login page, add below to Webmin > Webmin Configuration > Webmin Themes > Theme Extensions: Continue Reading
Generate Large Test Files in Windows Rumi, January 16, 2021 Open an administrative level command prompt. Run the following command: fsutil file createnew <file> <size in bytes> For example, this command will create a 1GB file called 1gb.test on my desktop: fsutil file createnew c:\users\steve\desktop\1gb.test 1073741824 The key is to input the size of the file in bytes so here… Continue Reading
Delete/Purging mysql-bin (binlog) files safely Rumi, January 7, 2021 The file mysql-bin.index keeps a list of all binary logs mysqld has generated and auto-rotated. The mechanisms for cleaning out the binlogs in conjunction with mysql-bin.index are: PURGE BINARY LOGS TO ‘binlogname’; PURGE BINARY LOGS BEFORE ‘datetimestamp’; These will clear all binary logs before the binlog or timestamp you just… Continue Reading
MySQL: Show Users, Privileges and Passwords Rumi, December 29, 2020 Show all MySQL users: mysql> SELECT user FROM mysql.user; List only unique user names: mysql> SELECT DISTINCT user FROM mysql.user; Show MySQL users and hosts they are allowed to connect from: mysql> SELECT user,host FROM mysql.user; Show MySQL users, their passwords and hosts: mysql> SELECT user,host,password FROM mysql.user; in MySQL… Continue Reading
Wget, Apt and Git behind proxy Rumi, December 22, 2020 For Wget Add/Comment out below line(s) in file ~/.wgetrc or /etc/wgetrc: http_proxy = http://[Proxy_Server]:[port] https_proxy = http://[Proxy_Server]:[port] ftp_proxy = http://[Proxy_Server]:[port] For Apt Create a new configuration file named proxy.conf.sudo touch /etc/apt/apt.conf.d/proxy.conf Open the proxy.conf file in a text editor.sudo vi /etc/apt/apt.conf.d/proxy.conf Paste it as following: Acquire { HTTP::proxy “http://127.0.0.1:8080”; HTTPS::proxy… Continue Reading
How to import a certificate into WorldClient Rumi, December 21, 2020 WorldClient’s web server currently does not support generating certificate requests. If you have IIS you can use its certificate wizard to create the request and import the response. WorldClient will then be able to use it. You do not need to continue to use IIS at that point, you can disable… Continue Reading
How to fix CentOS 5 or 6 error: YumRepo Error: All mirror URLs are not using ftp, http[s] or file Rumi, December 6, 2020July 9, 2021 The error looks like- And here goes the resolution (please carefully update/use the exact CentOS version you are using, in my case it was CentOS 6.9) 1. Go to /etc/yum.repos.d/ directory: # cd /etc/yum.repos.d/ 2. Make copy of original file: # cp CentOS-Base.repo CentOS-Base.repo.old 3. Open and edit file with… Continue Reading
Force Stop Proxmox LXC Rumi, November 21, 2020 First try to unlock the pct (assuming your troubled container is 101): pct unlock 101 if it works just stop and start again the vm. if it does’nt work (my case) try to stop with this lxc-stop –name 101 if it’s does’nt work (my case) you can force stop with… Continue Reading