N6XRE DokuWiki

Programming and Computing - ShellScript - ZFS
Installing Linux on TBao Laptops - PartedMagic


PDF Documents and Plugin
Embed videos & playlists Instructions

My TwitterMy Twitter Search GoogleGoogle Search

1. Snapcraft Store

2. How do you monitor the progress of dd?

Top
dd if=/dev/sda of=/dev/sdb bs=4096 status=progress
Also see Making a Dedicated Grub Partition


3. How to Update Ubuntu packages on 18.04 Bionic Beaver Linux

Top


4. Things to do After Installing Ubuntu 18.04 and 18.10

Top


5. SparkleShare - Samba - or Something Else?

Top


6. Pacman/Rosetta - Arch Linux

Top


7. Linux Guide

Top


8. List of Unix commands - ShellScript

Top


9. Linux Tutorial for Beginners: Introduction to Linux Operating System

10. SSH Forwarding: Local vs Remote with examples

Top
Execute Script or Command
Note that the exec functions are non interactive
so they cannot prompt for a sudo password. A trick
is to use -S which reads the password from stdin:

command <- 'echo "mypassword!" | sudo -s -S apt-get update -y'
out <- ssh_exec_wait(session, command)

Be very careful with hardcoding passwords!

ssh -R 8080:localhost:80 user@host 


https://www.youtube.com/watch?v=g_Row8zEJZc
SSH PORT FORWARDING EXAMPLE - Free-tier server from Amazon AWS


11. How To Use SSH Remote Login - ShellScript

12. How To Automate Tasks using Cron

13. The Linux Foundation

Top


Yocto Project - Also see Building Raspberry Pi Systems with Yocto and Learn Yocto section below.


14. Joe Collins channel

Top


15. Install list of packages using apt-get

Top
DistroWatch.com - try ubuntu mini install (good for pendrives and re-installs using pkglist)
The LiveCD List - KnoppixCD


* Generate pkglist for Debian

sudo dpkg --get-selections | sed "s/.*deinstall//" | sed "s/install$//g" > ~/pkglist


* Use pkglist for Debian

sudo apt-get install $(cat pkglist)


Pacman/Rosetta for other distributions - see Arch Linux


16. How to change ubuntu install from legacy to uefi

Top


17. Ubuntu Doc BasicChroot

Top
schroot man page sudo apt-get install schroot


18. Linux kernel interfaces

Top


19. Comparison of platform virtualization software - oVirt

Top


20. Docker (software)

21. oVirt Virtualization Management Platform

22. Proxmox Virtual Environment

23. Sportage 12 channel

Top


24. Xen

25. What is Xvisor (for ARM platforms)

26. Linux From Scratch

27. Embedded Linux Wiki

Top


28. Go to KNOPPIX

29. Cross compileing

30. Parted Magic (Modifying)

Top


31. Mounting Linux Partitions in Windows with FSproxy

Top


32. How to Add a Hard Drive to a Linux System

33. How to Convert a Physical Server to a Citrix Xen Virtual Server (P2V)

Top


34. LVM HOWTO

Top


35. Remove Disk from LVM Array on Ubuntu

Top


36. Move your Ubuntu system to another computer in 3 simple steps

Top


37. chrysocome.net>>virtualvolumes on Windows

Top


38. Synology 2 bay NAS DiskStation DS218+

Top
with Advanced Btrfs file system and eSata Port - $298.00 - Amazon and has upgradable memory
Also, the DS218+ supports on-the-fly hardware transcoding


39. QNAP Virtualization Station enables virtualized desktop operations

40. How to convert a VirtualBox virtual machine to QEMUwto image?

Top


41. How do I convert a VirtualBox VDI file to a VMware vdmk?

Top


42. File-based dynamically-allocated hard-disk on Linux

Top


43. How to use loop devices (losetup)

Top


44. How To Host a Web Server with a Raspberry Pi

Top
Raspian - arm - Emulating Raspberry Pi in Windows the easy way with Qemu
Raspberry Pi’s PIXEL Linux desktop now available for x86 PCs or Virtualbox Article

Raspberry Pi Commands: 

sudo apt-get install apache2 -y
hostname -I
sudo nano /var/www/index.html
sudo apt-get install php5 libapache2-mod-php5 -y
sudo nano /var/www/example.php
PHP File Code: 
<?php
echo "Today's date is ".date('Y-m-d H:i:s');
?>
sudo apt-get install mysql-server php5-mysql -y
cd /var/www
sudo chown pi: .
rm *
wget http://wordpress.org/latest.tar.gz
tar xzf latest.tar.gz
mv wordpress/* ./
rm -rf wordpress latest.tar.gz
sudo chown -R -f www-data:www-data /var/www
mysql -uroot -pInsert Password Here

create database wordpress;

Manjaro Community Editions - x86 - for Virtualbox
How To Install Manjaro Arm On The Raspberry pi 1 2 3 Or Zero
http://manjaro-arm.org/

https://www.youtube.com/watch?v=nu6j5lfjO_w

Go to Pacman/Rosetta page for Manjaro install.

Basic operations
Action  Arch    Red Hat/Fedora  Debian/Ubuntu   SLES/openSUSE   Gentoo
Install a package(s) by name    pacman -S   dnf install apt install zypper install
zypper in   emerge [-a]
Remove a package(s) by name pacman -Rs  dnf remove  apt remove  zypper remove
zypper rm   emerge -C

Arch Linux for Raspberry Pi Youtube
INSTALLING ARCH LINUX ON RASPBERRY PI


45. Emulating Raspberry Pi in Windows the easy way

Top
https://sourceforge.net/projects/rpiqemuwindows/

There is a very nice raspberry pi forum posting about "Emulating Raspberry Pi
in Windows the easy way". Somebody all ready did all the work to make
raspberry pi emulation in Windows as simple as possible. The instructions are

download a zip from sourceforge - https://sourceforge.net/projects/rpiqemuwindows/

Unzip the file when it finishes downloading.

Inside the folder you should find a run.bat file which will do all the magic for you.

The zip file is literally Raspberry Pi in a zip, it contains Qemu along with the 
Wheezy squeeze, and the batch file that you run to start the emulation contains 
the exact command to start Qemu as an ARM CPU running Wheezy. This is the epitome of KISS.

It should be noted that others have downloaded and checked the files for viruses and that 
the emulation has been confirmed on several versions of Windows. I can confirm the 
emulation works in Windows 7 Ultimate.

Installing and running Debian armel on an emulated ARM machine on Windows (QEMU)


46. Make a VPN Server with a Raspberry Pi, OpenVPN and Stunnel

47. Fast, Free, and Easy VPN Build in Minutes - Hak5 2022

Top
Setting up an OpenVPN Server on Debian, Ubuntu and CentOS
Setting up an OpenVPN Server on Raspberry Pi - Kali (goddess) destroyer of evil forces.

Linux Server Build: OpenVPN From Scratch - Hak5 2019

How to Build An OpenVPN Access Point - Hak5 2017

SSH into our VPS and get openvpn-as going

wget http://swupdate.openvpn.org/as/openvpn-as-2.1.1-Ubuntu14.amd_64.deb
dpkg -i openvpn*.deb
 /usr/local/openvpn_as/bin/ovpn-init
#Choose 0.0.0.0
Log in as Admin
Auth  General  Local
User Permissions  Create new user

LOGIN not Connect
Download "Yourself (autologin profile)"

Test connection at with a test.php script.

Finalizing the OpenVPN-AS Home Server Build - Hak5 1823

How to Build an OpenVPN Access Point Pt 2 - Hak5 2018

Access Internal Networks with Reverse VPN connections - Hak5 1921

How to Tether Without The Fees - Hak5 2111

Fast and Easy Free VPN from Google - The Open Source OUTLINE - Hak5 2403

48. Hak5.org

49. How-to get MySQL setup properly

Top


50. How to Upgrade or Reload Linux while Keeping Your Data

51. Procedural programming

Top


52. Object-oriented programming

Top


53. List of object-oriented programming languages


54. My 5 Favorite Linux Shell Tricks for SPEED (and efficiency)

55. A Bunch Of Tips And Fun Tricks

56. Linux Tip | System Tools

Top
https://www.youtube.com/watch?v=OCAjv6DCJBQ

Useful Linux Applications | What You'll Need To Get Things Done

USEFUL LINUX APPLICATIONS

Browsers: 

Chromium
Firefox
Google Chrome

E-Mail:

Evolution
Geary
Thunderbird

BitTorrent:

Transmission

Chat:

HexChat
Pidgin

Text Editors:

Gedit
Kate
Nano
Pluma
Vi

Office:

AbiWord
Gnumeric 
LibreOffice

CD Rippers:

Asunder

CD/DVD Burners:

Brasero
K3b

Audio/Video/Music:

Amarok
Banshee
Clementine
Rhythmbox
VLC

Audio Editors:

Ardour
Audacity
Ocenaudio

Audio/Video Converters:

Handbreak
SoundConverter

Video Editors:

Kdenlive
Lightworks
OpenShot

Screen Capture/Webcasting:

Cheese
GUVCView
Kazam
OBS
RecordMyDesktop
SimpleScreenRecorder
Vocoscreen

Visualization:

Gnome Boxes
VirtualBox
VMware

Photo/Graphics:

Blender
Eye of GNOME/Image Viewer
GIMP
gThumb
Inkscape
Shotwell
SimpleScan

Utilities:

Archive Manager
BleachBit
Disks
Document Viewer
Grsync 

57. The advanced parameters for restoring mode in Clonezilla

58. An Introduction To Snap Packages for Linux

Top
https://www.youtube.com/watch?v=j40tNL3t4gw

What is SimpleScreenRecorder


Basic Snap Usage


Snap packages on MX-17


  • SNAP COMMANDS:
  • sudo snap find : To list the available packages.
  • sudo snap install (package name): To install a package.
  • sudo snap list: To view all the installed snap packages.
  • sudo snap changes: To view a list of logged actions.
  • sudo snap refresh (package name): To upgrade a package to its latest available version.
  • sudo snap remove: To uninstall a package.

Snapcraft Store


59. chroot - for OpenZim_Servers

Top


60. Linux copy and clone USB stick including partitions command

Top
Linux copy and clone USB stick including partitions command
sudo dd if=/dev/sdi of=/dev/sdh bs=4M status=progress


61. What Has My Compiler Done for Me Lately?

62. You're Wrong About the Linux Code of Conduct

63. Hybris (software)

Top


64. VirMach Hosting - $1.00 monthly

65. A2 Hosting - $3.92 monthly

Top


66. Fast, Easy and Free SSL Certificates with Let's Encrypt - Hak5 2023

Table of Contents
QR Code
QR Code linux (generated for current page)