[[Programming_and_Computing|Programming and Computing]] - [[ShellScript]] - [[ZFS]] \\ [[Installing_Linux_on_TBao_Laptops|Installing Linux on TBao Laptops]] - [[PartedMagic]]\\
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
\\
sudo dpkg --get-selections | sed "s/.*deinstall//" | sed "s/install$//g" > ~/pkglist
\\
* **Use pkglist for Debian**
sudo apt-get install $(cat pkglist)
\\
[[https://wiki.archlinux.org/index.php/Pacman/Rosetta|Pacman/Rosetta]] for other distributions - see [[Arch_Linux|Arch Linux]]\\
\\
===== - How to change ubuntu install from legacy to uefi =====
**[[Linux#top|Top]]**\\
\\
===== - Ubuntu Doc BasicChroot =====
**[[Linux#top|Top]]**\\
**[[http://manpages.ubuntu.com/manpages/trusty/man1/schroot.1.html|schroot man page]] sudo apt-get install schroot**\\
\\
===== - Linux kernel interfaces =====
**[[Linux#top|Top]]**\\
\\
===== - Comparison of platform virtualization software - oVirt =====
**[[Linux#top|Top]]**\\
\\
===== - Docker (software) =====
**[[Linux#top|Top]]**\\
[[https://hub.docker.com/|Docker Hub signin]] - [[https://hub.docker.com/_/alpine/|Docker Alpine Linux with a complete package index and only 5 MB in size!]] - [[https://alpinelinux.org/about/|About Alpine Linux]]\\
\\
[[https://snapcraft.io/docker|Docker for snappy]]\\
\\
[[https://docs.docker.com/install/linux/docker-ce/ubuntu/|Get Docker CE for Ubuntu]] or [[https://docs.docker.com/install/linux/docker-ce/binaries/|binaries]]\\
\\
===== - oVirt Virtualization Management Platform =====
**[[Linux#top|Top]]**\\
[[https://www.ovirt.org/develop/release-management/features/|Features List]] - [[https://www.ovirt.org/develop/release-management/features/virt/guestagentubuntu/|oVirt Guest Agent on Ubuntu]]\\
**Can be installed on Linux or Windows**\\
\\
[[https://www.youtube.com/playlist?list=PL2NsEhIoqsJFkMs0W3ptit_znuc1-A9T-&disable_polymer=true|oVirt 3.6: Features and Deep Dives playlist]]\\
\\
[[https://www.youtube.com/watch?v=6w8F5k41_9E|Free Virtualization Clusters and Breadboards, Hak5 1718]]\\
\\
===== - Proxmox Virtual Environment =====
**[[Linux#top|Top]]**\\
\\
[[https://www.youtube.com/watch?v=JvDMLNAxYbI|Proxmox: How To Virtualize All the Things]]\\
\\
===== - Sportage 12 channel =====
**[[Linux#top|Top]]**\\
\\
===== - Xen =====
**[[Linux#top|Top]]**\\
[[https://www.citrix.com/downloads/xenserver/product-software/xenserver-75-free-edition.html|XenServer 7.5 Free Edition]]\\
\\
**[[https://www.linux.org/threads/hardware-virtual-machine-hvm-and-paravirtualization-pv.12475/|Hardware Virtual Machine (HVM) and Paravirtualization (PV)]] Good Tutorial Page**\\
[[https://help.ubuntu.com/community/Xen|Xen]]\\
\\
[[https://www.youtube.com/watch?v=9SpQ1fRQAto|Building a Home Lab Virtual Server Quick and Dirty - Hak5 1819]]\\
\\
[[https://www.youtube.com/watch?v=jVkmt-flZik|Proxmox VE vs. XenServer Plus OpenXenManager for Linux - Hak5 1820]]\\
\\
[[https://www.youtube.com/watch?v=dlkiyKejDRM|Building a $600 VM Server - Hak5 1818]]\\
\\
===== - What is Xvisor (for ARM platforms) =====
**[[Linux#top|Top]]**\\
\\
[[http://xhypervisor.org/index.php?page=videos|Xvisor Videos]]\\
\\
===== - Linux From Scratch =====
**[[Linux#top|Top]]**\\
\\
[[https://www.youtube.com/watch?v=Sk9TatW9ino|Tutorial: Building the Simplest Possible Linux System]] \\
\\
===== - Embedded Linux Wiki =====
**[[Linux#top|Top]]**\\
\\
===== - Go to KNOPPIX =====
**[[Linux#top|Top]]**\\
[[https://github.com/defunctzombie/virtualbox-pxe-boot|Bootstrap for testing PXE boot configs in VirtualBox]]\\
[[https://blogs.oracle.com/scoter/networking-in-virtualbox-v2|VirtualBox: Networking options and how-to manage them]]\\
===== - Cross compileing =====
**[[Linux#top|Top]]**\\
[[http://n6xre.duckdns.org:8000/wikipedia_en_all_novid_2017-08/A/Cross_compiler.html|Cross compiler]]\\
\\
===== - Parted Magic (Modifying) =====
**[[Linux#top|Top]]**\\
\\
===== - Mounting Linux Partitions in Windows with FSproxy =====
**[[Linux#top|Top]]**\\
\\
===== - How to Add a Hard Drive to a Linux System =====
**[[Linux#top|Top]]**\\
https://www.youtube.com/watch?v=AeR8Rk5LwWU \\
\\
[[https://www.youtube.com/watch?v=KGCnEDML7Fk|Moving to a New /home]]\\
\\
===== - How to Convert a Physical Server to a Citrix Xen Virtual Server (P2V) =====
**[[Linux#top|Top]]**\\
\\
===== - LVM HOWTO =====
**[[Linux#top|Top]]**\\
\\
===== - Remove Disk from LVM Array on Ubuntu =====
**[[Linux#top|Top]]**\\
\\
===== - Move your Ubuntu system to another computer in 3 simple steps =====
**[[Linux#top|Top]]**\\
\\
===== - chrysocome.net>>virtualvolumes on Windows =====
**[[Linux#top|Top]]**\\
\\
===== - Synology 2 bay NAS DiskStation DS218+ =====
**[[Linux#top|Top]]**\\
**with Advanced Btrfs file system and eSata Port - $298.00 - Amazon and has upgradable memory**\\
[[https://thewirecutter.com/reviews/best-network-attached-storage/|Also, the DS218+ supports on-the-fly hardware transcoding]]\\
\\
===== - QNAP Virtualization Station enables virtualized desktop operations =====
**[[Linux#top|Top]]**\\
**[[https://www.amazon.com/dp/B00L8GHOQ8/?coliid=I30SZP0LNLV5FP&colid=27Y18XJ9539G3&psc=0&ref_=lv_ov_lig_dp_it|QNAP TS-251 2-Bay Personal Cloud NAS, Intel 2.41GHz Dual Core CPU with Media Transcoding - $287.00]] Amazon**\\
**[[https://www.amazon.com/dp/B01N78FRVZ/?coliid=IDR50XKOI9SL3&colid=27Y18XJ9539G3&psc=0&ref_=lv_ov_lig_dp_it|Qnap TS-231P-US Personal Cloud NAS with DLNA - ARM Cortex A15 1.7GHz Dual Core, 1GB RAM - $189.57]] Amazon**\\
**mobile apps and Airplay support**\\
Also see [[https://www.qnap.com/solution/linux-station/en/index.php|Linux Station]]\\
\\
===== - How to convert a VirtualBox virtual machine to QEMUwto image? =====
**[[Linux#top|Top]]**\\
\\
===== - How do I convert a VirtualBox VDI file to a VMware vdmk? =====
**[[Linux#top|Top]]**\\
\\
===== - File-based dynamically-allocated hard-disk on Linux =====
**[[Linux#top|Top]]**\\
\\
===== - How to use loop devices (losetup) =====
**[[Linux#top|Top]]**\\
\\
===== - How To Host a Web Server with a Raspberry Pi =====
**[[Linux#top|Top]]**\\
[[https://www.raspberrypi.org/downloads/raspbian/|Raspian - arm]] - [[Linux#Emulating_Raspberry_Pi_in_Windows_the_easy_way|Emulating Raspberry Pi in Windows the easy way]] with Qemu\\
[[https://arstechnica.com/information-technology/2016/12/raspberry-pi-pixel-pc-download-details/|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:
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;
[[https://manjaro.org/community-editions/|Manjaro Community Editions - x86]] - for Virtualbox\\
[[https://www.youtube.com/watch?v=u8vricJXVWQ|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 [[https://wiki.archlinux.org/index.php/Pacman/Rosetta|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
[[https://www.youtube.com/watch?v=28-oPIuz-G0|Arch Linux for Raspberry Pi]] Youtube\\
[[https://www.novaspirit.com/2017/04/25/installing-arch-linux-raspberry-pi/|INSTALLING ARCH LINUX ON RASPBERRY PI]]\\
\\
===== - Emulating Raspberry Pi in Windows the easy way =====
**[[Linux#top|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.
[[http://cronicasredux.blogspot.com/2011/09/installing-and-running-debian-armel-on.html|Installing and running Debian armel on an emulated ARM machine on Windows (QEMU)]]\\
\\
===== - Make a VPN Server with a Raspberry Pi, OpenVPN and Stunnel =====
**[[Linux#top|Top]]**\\
https://www.youtube.com/watch?v=nnQDiGBFIXk \\
\\
===== - Fast, Free, and Easy VPN Build in Minutes - Hak5 2022 =====
**[[Linux#top|Top]]**\\
[[https://github.com/Nyr/openvpn-install|Setting up an OpenVPN Server on Debian, Ubuntu and CentOS]]\\
[[https://github.com/StarshipEngineer/OpenVPN-Setup|Setting up an OpenVPN Server on Raspberry Pi]] - [[http://n6xre.duckdns.org:8000/wikipedia_en_all_novid_2017-08/A/Kali.html|Kali (goddess)]] destroyer of evil forces.\\
\\
[[https://www.youtube.com/watch?v=XcsQdtsCS1U|Linux Server Build: OpenVPN From Scratch - Hak5 2019]]\\
\\
[[https://www.youtube.com/watch?v=XDCv_xw4BW4|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.
[[https://www.youtube.com/watch?v=BU4kTgnjzj4|Finalizing the OpenVPN-AS Home Server Build - Hak5 1823]]\\
\\
[[https://www.youtube.com/watch?v=z156R47Yb_Q|How to Build an OpenVPN Access Point Pt 2 - Hak5 2018]]\\
\\
[[https://www.youtube.com/watch?v=b7qr0laM8kA|Access Internal Networks with Reverse VPN connections - Hak5 1921]]\\
\\
[[https://www.youtube.com/watch?v=07C1Ds8Nuqo|How to Tether Without The Fees - Hak5 2111]]\\
\\
[[https://www.youtube.com/watch?v=sl_9dAArAzw|Fast and Easy Free VPN from Google - The Open Source OUTLINE - Hak5 2403]]\\
\\
===== - Hak5.org =====
**[[Linux#top|Top]]**\\
[[https://www.youtube.com/watch?v=PGI7njKTd34|What's Inside A Hacker's Backpack/Bag?]] youtube\\
\\
===== - How-to get MySQL setup properly =====
**[[Linux#top|Top]]**\\
\\
===== - How to Upgrade or Reload Linux while Keeping Your Data =====
**[[Linux#top|Top]]**\\
https://www.youtube.com/watch?v=Ui5jBdTIuyI \\
\\
===== - Procedural programming =====
**[[Linux#top|Top]]**\\
\\
===== - Object-oriented programming =====
**[[Linux#top|Top]]**\\
\\
===== - List of object-oriented programming languages =====
\\
===== - My 5 Favorite Linux Shell Tricks for SPEED (and efficiency) =====
**[[Linux#top|Top]]**\\
[[https://www.youtube.com/watch?v=V8EUdia_kOE|My 5 Favorite Linux Shell Tricks for SPEED (and efficiency)]] \\
**[[ShellScript]]**\\
\\
===== - A Bunch Of Tips And Fun Tricks =====
**[[Linux#top|Top]]**\\
[[https://askubuntu.com/questions/791393/restoring-the-default-settings-for-whisker-menu-in-ubuntu-studio-16-04|Restoring the default settings for Whisker Menu in Ubuntu Studio 16.04]]\\
https://www.youtube.com/watch?v=YDhfzXblqU0 \\
\\
===== - Linux Tip | System Tools =====
**[[Linux#top|Top]]**\\
https://www.youtube.com/watch?v=OCAjv6DCJBQ \\
\\
[[https://www.youtube.com/watch?v=yPTTwbTNDbg|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
===== - The advanced parameters for restoring mode in Clonezilla =====
**[[Linux#top|Top]]**\\
[[https://www.youtube.com/watch?v=0FBxpgHH8CA|CloneZilla Image Creation and Restore Tutorial]]\\