Useful links
Javascript PC Emulator http://bellard.org/jslinux/
DistroWatch.com http://distrowatch.com/
Linux Commands - A practical reference http://www.pixelbeat.org/cmdline.html
Mixxx - Free MP3 DJ Mixing Software http://www.mixxx.org/
Libdvdcss http://directory.fsf.org/wiki/Libdvdcss
LinuxLinks.com http://www.linuxlinks.com
How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 14.04 https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-14-04
Apache2 user permissions https://serverfault.com/questions/6895/whats-the-best-way-of-handling-permissions-for-apache-2s-user-www-data-in-var
Git Tutorial https://www.atlassian.com/git/tutorials/undoing-changes/
RTorrent and LibTorrent Wiki https://github.com/rakshasa/rtorrent/wiki
Btrfsck https://archive.kernel.org/oldwiki/btrfs.wiki.kernel.org/index.php/Btrfsck.html
Fail2ban https://www.howtoforge.com/fail2ban_debian_etch
Systemd https://wiki.archlinux.org/title/Systemd
Setting up an NFS Server https://www.howtoforge.com/install_nfs_server_and_client_on_debian_wheezy
Full Metal Backup Using the dd Command https://www.linux.com/topic/desktop/full-metal-backup-using-dd-command/
Install and Config Fail2Ban in Debian 7 Wheezy http://www.pontikis.net/blog/fail2ban-install-config-debian-wheezy
How To Protect an Nginx Server with Fail2Ban https://www.digitalocean.com/community/tutorials/how-to-protect-an-nginx-server-with-fail2ban-on-ubuntu-14-04
How To Create a Self-Signed SSL Certificate for Nginx in Ubuntu 16.04 https://www.digitalocean.com/community/tutorials/how-to-create-a-self-signed-ssl-certificate-for-nginx-in-ubuntu-16-04
How to Rescue a Non-booting GRUB 2 on Linux https://www.linuxfoundation.org/blog/blog/classic-sysadmin-how-to-rescue-a-non-booting-grub-2-on-linux
Self-Signed_Certificate https://wiki.debian.org/Self-Signed_Certificate
Remove Commands From Your History http://rawsyntax.com/blog/learn-bash-remove-commands-from-your-history/
ISPConfig https://www.ispconfig.org/
ISPConfig: Automated installation on Debian https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
2 Ways to Install Nvidia Driver on Ubuntu 18.04 (GUI & Command Line) https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu
How to disable IPv6 in Ubuntu ? https://askubuntu.com/questions/440649/how-to-disable-ipv6-in-ubuntu-14-04
How to Set Up Let’s Encrypt Certificates for Multiple Apache Virtual Hosts on Ubuntu https://www.digitalocean.com/community/tutorials/how-to-set-up-let-s-encrypt-certificates-for-multiple-apache-virtual-hosts-on-ubuntu-14-04
MOC - Music On Console is a lightweight music player similar to MPD, but unlike it, MOC comes with an interface and its server does not support remote access. https://wiki.archlinux.org/title/MOC
openSUSE
Useful links
Planet openSUSE https://planet.opensuse.org/el/
https://eiosifidis.blogspot.com/
Apache 2.4 on OpenSUSE Tumbleweed use current repo http://download.opensuse.org/distribution/openSUSE-current/repo/oss/ if you have any problems
How to
chmod files and directories
find /path/to/apache -type f -print0 | xargs -I {} -0 chmod 0644 {}
find /path/to/apache -type d -print0 | xargs -I {} -0 chmod 0755 {}
Sublime Test Install on Gnome3
Untar the file
tar xvjf sublime_text_2_*.tar.bz2
Move the extracted folder to opt directory
sudo mv Sublime_Text_2 /opt/
Create a symlink in bin
sudo ln -s /opt/Sublime_Text_2/sublime_text /usr/bin/sublime
Finaly use alacart command to put an appilation icon on gnome 3 application menu
Restore Grub2 on sdb3 disk partition
Boot the pc with any linux live distribution. Open a terminal and run the following commands:
mount /dev/sdb3 /mnt
mount --bind /dev /mnt/dev
chroot /mnt
mount /proc or mount -t proc proc proc/
mount /sys or mount -t sysfs sys sys/
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-install /dev/sdb
exit && sudo umount /mnt/sys && sudo umount /mnt/proc && sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt
Next reboot pc without cd-rom
Solving the problem of missing Windows 7 entry in grub2
1.sudo fdisk -l
2.Create a file 15_Windows in the /etc/grub.d folder and add the following lines to it.
- 15_Windows
#! /bin/sh -e echo "Adding Windows" >&2 cat << EOF menuentry "Windows" { set root=(hd0,1) chainloader +1 } EOF
3.chmod +x /etc/grub.d/15_Windows
4.grub2-mkconfig -o /boot/grub2/grub2.cfg
Source: http://linuxaria.com/howto/windows-entry-grub2-men?lang=en
Automount Windows partition at boot
sudo nano /etc/fstab
UUID=xxxxxxxxxxx /mnt/Your\040Chosen\040Name ntfs-3g defaults,windows_names,locale=en_US.utf8 0 0
Source:http://askubuntu.com/questions/123234/how-to-automount-my-windows-partition-at-boot
How can I edit/create new launcher items in Unity by hand
sudo nano /usr/share/applications/myapplication.desktop
- myapplication.desktop
[Desktop Entry] Name=the name you want shown Comment= Exec=command to run Icon=icon name Terminal=false Type=Application StartupNotify=true
Source:https://askubuntu.com/questions/13758/how-can-i-edit-create-new-launcher-items-in-unity-by-hand
Change the date modified/created of a file
touch -d “2 hours ago” filename
Install Composer
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer
Type composer at the command prompt. This will provide you composer version details along with options available with composer command.
composer
Source:https://tecadmin.net/install-php-composer-on-ubuntu/
Arch
Useful links
Arch Linux: System Installation http://www.youtube.com/watch?v=kQFzVG4wZEg
Arch Linux: From Post-Install to Xorg http://www.youtube.com/watch?v=DAmXKDJ3D7M
pacman https://wiki.archlinux.org/title/Pacman
Install Nginx, PHP, MySQL (LEMP) and phpMyAdmin https://archlinuxarm.org/forum/viewtopic.php?t=5024
List of applications https://wiki.archlinux.org/title/List_of_applications
twm - Tab Window Manager for the X Window System http://www.x.org/archive/X11R6.8.2/doc/twm.1.html
Index of /twm/configs http://www.custompc.plus.com/twm/configs/
Keyboard configuration in Xorg https://wiki.archlinux.org/title/Keyboard_configuration_in_Xorg
Arch Beginners' Guide https://wiki.archlinux.org/title/Beginners%27_guide
LEMP Server on Arch Linux https://www.linode.com/docs/guides/lemp-server-on-arch-linux/
Debian - RaspberryPi
Useful links
Raspberry Pi - Tutorial 11 - Installing a Webserver (Nginx, PHP, Perl) http://www.youtube.com/watch?v=I_2yGGPus90
WordPress for Raspberry Pi using Nginx and MySQL http://www.cnx-software.com/2012/08/03/wordpress-for-raspberry-pi-using-nginx-and-mysql/
LAMP, Linux Apache MySQL PHP https://wiki.debian.org/LaMp
How to
Keyboard Layouts & Language Abbreviations in LXDE
/etc/default/keyboard
# KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="us,ru,gr,il" XKBVARIANT="polytonic gr" XKBOPTIONS="grp:alt_shift_toggle" BACKSPACE="guess"
Then run udevadm trigger –subsystem-match=input –action=change
Installing Guest Additions on Debian
Follow these steps to install the Guest Additions on your Debian virtual machine:
- Login as root;
- Update your APT database with apt-get update;
- Install the latest security updates with apt-get upgrade;
- Install required packages with apt-get install build-essential module-assistant;
- Configure your system for building kernel modules by running m-a prepare;
- Click on Install Guest Additions… from the Devices menu, then run mount /media/cdrom.
- Run sh /media/cdrom/VBoxLinuxAdditions.run, and follow the instructions on screen.
https://virtualboxes.org/doc/installing-guest-additions-on-debian/
Firefox bookmarks subfolder icons missing
Putting this in ~/.mozilla/firefox/<profile_name>/chrome/userChrome.css
- userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); menu.bookmark-item > .menu-iconic-left { visibility: visible; }