CD DVD recovery in Linux
install ddrescue or gddrescue
find all instances of ddrescue
Once completed, you can mount the resulting ISO image to extract files:
I realized that the last installed package will overwrite the /usr/bin/ddrescue
GNU ddrescue is the modern, standard data recovery tool. It uses a mapfile (formerly logfile) to track progress and automatically handles bad sectors by first copying good data.
Basic Syntax:
ddrescue [options] infile outfile [mapfile]
sudo ddrescue -b 2048 -d -r3 -v /dev/sr0 /mnt/backup/image.img /mnt/backup/map.log
or -b 2352
Key GNU ddrescue Options:
-d, –idirect: Direct disk access (bypasses kernel cache).
-r, –retry-passes=n: Retries bad sectors n times (-1 for infinity).
-n, –no-scrape: Skips the scraping phase (saves time on very damaged drives).
-R, –reverse: Reverses the direction of all passes.
-f, –force: Overwrite output device.
-v, verbose
Once completed, you can mount the resulting ISO image to extract files:
mkdir -p /mnt/dvd_recovery
sudo mount -o loop,ro dvd_image.iso /mnt/dvd_recovery
The -o ro flag ensures you mount it as read-only to prevent accidental data corruption.
Linux ON PC
=====================
Linux on Samsung Galaxy
Root your device
Install:
Busybox
Linux deploy
Vnc Viewer (localhost:5900)
===========================================
what are the services listening on this server:
netstat -anpt | grep LISTEN
=-=-=-=-=-=–=-=-=-=-=-=-=-=-=-
postgres
Is postgres running?
sudo service postgresql status
=-=-=-=-=-=-=-
postgres config files:
postgresql.conf: listen_addresses controls what network interfaces PostgreSQL can accept connections on
pg_hba.conf: configuration file for host-based authentication
pg_ident.conf: user name mapping
hba_file (string):Specifies the configuration file for host-based authentication (customarily called ). This parameter can only be set at server start.
-=-=-=-=-=-
Enable postgres remote admin:
“postgresql.conf” file listen_addresses controls what network interfaces PostgreSQL can accept connections on, not what clients can connect to PostgreSQL.
listen_addresses = ‘*’
……
pg_hba.conf is about the remote (client) address
“pg_hba.conf” file
host all all 0.0.0.0/0 md5
You have to check if the port 5432 is open: http://www.yougetsignal.com/tools/open-ports/
If it’s not then add a rule to your iptables:
iptables -A INPUT -s 0/0 -p tcp –dport 5432 -j ACCEPT
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Open Terminal and type in the following command:
sudo apt-get install dconf-editor
Once the package has been installed, click on the Linux Mint menu, then All Applications and scroll down till you see dconf Editor.
Open the editor and then navigate to org – gnome – desktop – remote-access.

=-=-=-=-=-=-=-=-=-=-=-=-
TigerVNC is really fast:https://www.tecmint.com/best-remote-linux-desktop-sharing-software/
=-=-=-=-=-=-=-=-=-=-=-=-=-
Containers may be better than VMs: https://linuxcontainers.org/
https://en.wikipedia.org/wiki/Docker_(software)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jitsi meet instead of zoom for small groups
==========================
Best Free Softaculous apps on Cpanel:
Email servers are dictated by the hosting company
Email client: RainLoop webmail
Email marketing: phpList
(use a “from email” that is from the server which is sending emails otherwise the will be considered spam)
(if an email is rejected and you send an email again then will be considered spam)
(It is better to use a webpage that has counter for visitors)
Content management: Moodle
Marketing: SuiteCRM
(SuiteCRM is a fork of SugarCRM. SuiteCRM is designed to be a free and open source alternative to SugarCRM Professional Edition.) SuiteCRM is also an excellent alternative to SalesForce Professional and Microsoft Dynamics
Social Networking:
Diaspora
seems to be more updated
GNU social:
last update 2019
![]()


