[[Programming_and_Computing|Programming and Computing]] - [[ShellScript]] - [[ZFS]] \\ [[Installing_Linux_on_TBao_Laptops|Installing Linux on TBao Laptops]] - [[PartedMagic]]\\ \\ [[books#pdf_documents|PDF Documents and Plugin]] \\ [[wiki:main_page#embed_videos_playlists_instructions|Embed videos & playlists Instructions]]\\ Tweet to @glassparrot \\ My TwitterMy Twitter Search GoogleGoogle Search \\ \\ ===== - Snapcraft Store ===== https://snapcraft.io/store \\ **[[Linux#top|Top]]**\\ **Read [[https://askubuntu.com/questions/891687/is-the-ubuntu-openstack-autopilot-is-still-a-valid-solution-on-ubuntu-14-04|Openstack Autopilot]]**\\ \\ ===== - How do you monitor the progress of dd? ===== **[[Linux#top|Top]]**\\ **dd if=/dev/sda of=/dev/sdb bs=4096 status=progress**\\ Also see [[http://www.troubleshooters.com/linux/grub/grubpartition.htm|Making a Dedicated Grub Partition]]\\ \\ ===== - How to Update Ubuntu packages on 18.04 Bionic Beaver Linux ===== **[[Linux#top|Top]]**\\ \\ ===== - Things to do After Installing Ubuntu 18.04 and 18.10 ===== **[[Linux#top|Top]]**\\ \\ ===== - SparkleShare - Samba - or Something Else? ===== **[[Linux#top|Top]]**\\ \\ ===== - Pacman/Rosetta - Arch Linux ===== **[[Linux#top|Top]]**\\ \\ ===== - Linux Guide ===== **[[Linux#top|Top]]**\\ \\ ===== - List of Unix commands - ShellScript ===== **[[Linux#top|Top]]**\\ \\ ===== - Linux Tutorial for Beginners: Introduction to Linux Operating System ===== **[[Linux#top|Top]]**\\ [[https://www.youtube.com/channel/UC19i1XD6k88KqHlET8atqFQ|Guru99]] Youtube Page \\ https://youtu.be/V1y-mbWM3B8 \\ \\ ===== - SSH Forwarding: Local vs Remote with examples ===== **[[Linux#top|Top]]**\\ [[https://cran.r-project.org/web/packages/ssh/vignettes/intro.html#execute_script_or_command|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\\ [[https://www.ssh.com/ssh/tunneling/example|SSH PORT FORWARDING EXAMPLE]] - [[https://aws.amazon.com/free/|Free-tier server from Amazon AWS]]\\ \\ ===== - How To Use SSH Remote Login - ShellScript ===== **[[Linux#top|Top]]**\\ https://www.youtube.com/watch?v=lLyjnuWVqMk \\ \\ ===== - How To Automate Tasks using Cron ===== **[[Linux#top|Top]]**\\ **apt-get install gnome-shedule ([[https://bugs.launchpad.net/ubuntu/+source/gnome-schedule/+bug/1576060/comments/23|ubuntu16.04 deb]])**\\ https://www.youtube.com/watch?v=bizxL_CA6J8 \\ \\ ===== - The Linux Foundation ===== **[[Linux#top|Top]]**\\ \\ **[[https://www.yoctoproject.org/|Yocto Project]] - Also see [[https://jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Yocto.html|Building Raspberry Pi Systems with Yocto]] and Learn Yocto section below.**\\ \\ ===== - Joe Collins channel ===== **[[Linux#top|Top]]**\\ \\ ===== - Install list of packages using apt-get ===== **[[Linux#top|Top]]**\\ [[https://distrowatch.com/table.php?distribution=ubuntu|DistroWatch.com]] - try [[https://www.ubuntu.com/download/alternative-downloads|ubuntu mini]] install (good for pendrives and re-installs using pkglist)\\ [[The_LiveCD_List|The LiveCD List]] - [[http://ftp.uni-kl.de/pub/linux/knoppix/|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) \\ [[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]]\\ https://www.youtube.com/watch?v=0FBxpgHH8CA\\ [[https://clonezilla.org/clonezilla-live/doc/11_lite_server/advanced/09-advanced-param.php|The advanced parameters for restoring mode in Clonezilla]]\\ \\ [[https://www.backup-utility.com/articles/clonezilla-clone-larger-disk-to-smaller-disk-4348.html|Clonezilla Clone Larger Disk to Smaller Disk-Workaround]]\\ \\ ===== - An Introduction To Snap Packages for Linux ===== **[[Linux#top|Top]]**\\ https://www.youtube.com/watch?v=j40tNL3t4gw \\ \\ **What is [[http://www.maartenbaert.be/simplescreenrecorder/|SimpleScreenRecorder]]**\\ \\ [[https://tutorials.ubuntu.com/tutorial/basic-snap-usage#0|Basic Snap Usage]]\\ \\ [[https://mxlinux.org/wiki/applications/snap-packages-mx-17|Snap packages on MX-17]]\\ {{obj:noreference 60%,800 > http://n6xre.duckdns.org:8080/dokuwiki/pdf/Snap_packages_on_MX-17.pdf}} \\ * 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. [[https://snapcraft.io/store|Snapcraft Store]]\\ \\ ===== - chroot - for OpenZim_Servers ===== **[[Linux#top|Top]]**\\ \\ ===== - Linux copy and clone USB stick including partitions command ===== **[[Linux#top|Top]]**\\ [[https://www.cyberciti.biz/faq/linux-copy-clone-usb-stick-including-partitions/|Linux copy and clone USB stick including partitions command]] \\ **sudo dd if=/dev/sdi of=/dev/sdh bs=4M status=progress**\\ \\ ===== - What Has My Compiler Done for Me Lately? ===== **[[Linux#top|Top]]**\\ https://www.youtube.com/watch?v=bSkpMdDe4g4 \\ \\ ===== - You're Wrong About the Linux Code of Conduct ===== **[[Linux#top|Top]]**\\ https://www.youtube.com/watch?v=c6G8yWTLKxU \\ \\ ===== - Hybris (software) ===== **[[Linux#top|Top]]**\\ \\ ===== - VirMach Hosting - $1.00 monthly ===== https://billing.virmach.com/cart.php?gid=1 \\ **[[Linux#top|Top]]**\\ https://billing.virmach.com/cart.php?gid=1 \\ VirMach.pdf \\ {{obj:noreference 60%,800 > http://n6xre.duckdns.org:8080/dokuwiki/pdf/VirMach.pdf}} \\ ===== - A2 Hosting - $3.92 monthly ===== **[[Linux#top|Top]]**\\ \\ ===== - Fast, Easy and Free SSL Certificates with Let's Encrypt - Hak5 2023 ===== **[[Linux#top|Top]]**\\ https://www.youtube.com/watch?v=KCTKC1iUlC8 \\ \\ [[https://letsencrypt.org/how-it-works/|Let’s Encrypt]]\\ {{obj:noreference 60%,800 > http://n6xre.duckdns.org:8080/dokuwiki/pdf/Lets_%20Encrypt.pdf}} \\ [[https://certbot.eff.org/|CertBot]]\\ {{obj:noreference 60%,800 > http://n6xre.duckdns.org:8080/dokuwiki/pdf/Certbot.pdf}} \\ Category:Programming Category:Computing