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
Linux/Unix Command: find http://linux.about.com/od/commands/l/blcmdl1_find.htm
Linux Network Configuration http://www.yolinux.com/TUTORIALS/LinuxTutorialNetworking.html
FastCGI Example (with PHP FPM) http://wiki.nginx.org/PHPFcgiExample
HowTo: Nginx Redirect All HTTP Request To HTTPS Rewrite Rules http://www.cyberciti.biz/faq/linux-unix-nginx-redirect-all-http-to-https/
Creating a Linux Mail Server http://www.hypexr.org/linux_mail_server.php
MLDonkey http://mldonkey.sourceforge.net/Quickstart_guide
Mixxx - Free MP3 DJ Mixing Software http://www.mixxx.org/
Libdvdcss http://directory.fsf.org/wiki/Libdvdcss
Finding a File Containing a Particular Text String In Linux Server http://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/
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 http://serverfault.com/questions/6895/whats-the-best-way-of-handling-permissions-for-apache2s-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://btrfs.wiki.kernel.org/index.php/Btrfsck
Fail2ban https://www.howtoforge.com/fail2ban_debian_etch
Systemd https://wiki.archlinux.org/index.php/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/learn/full-metal-backup-using-dd-command
psad: Linux Detect And Block Port Scan Attacks In Real Time http://www.cyberciti.biz/faq/linux-detect-port-scan-attacks/
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 Secure an nginx Server with Fail2Ban https://snippets.aktagon.com/snippets/554-how-to-secure-an-nginx-server-with-fail2ban
How to install Stremio on Linux http://www.htpcbeginner.com/install-stremio-on-linux-windows-and-mac/
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.linux.com/learn/how-rescue-non-booting-grub-2-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/tutorial/ispconfig-automated-install-script/
Διόρθωση ή ρύθμιση locales σε Debian και Ubuntu https://www.linuxinsider.gr/forum/tutorials/9077/diorthosi-i-rythmisi-locales-se-debian-kai-ubuntu
2 Ways to Install Nvidia Driver on Ubuntu 18.04 (GUI & Command Line) https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04
How to disable IPv6 in Ubuntu ? https://askubuntu.com/questions/440649/how-to-disable-ipv6-in-ubuntu-14-04
Automatically enable HTTPS on your website with EFF's Certbot, deploying Let's Encrypt certificates. https://certbot.eff.org/lets-encrypt/debianjessie-nginx
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 http://planet.opensuse.org/gr/
http://eiosifidis.blogspot.gr/
SDB:Vendor change update http://en.opensuse.org/SDB:Vendor_change_update
Apache 2.4 on OpenSUSE Tumbleweed use current repo http://download.opensuse.org/distribution/openSUSE-current/repo/oss/ if you have any problems
LAMP setup https://en.opensuse.org/SDB:LAMP_setup#Installing_Apache2
How to have the latest kernel in openSUSE http://pvdm.xs4all.nl/wiki/index.php/How_to_have_the_latest_kernel_in_openSUSE
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
Re-install Grub2 from DVD Rescue https://forums.opensuse.org/content.php/128-Re-install-Grub2-from-DVD-Rescue
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/index.php/Pacman
Install Nginx, PHP, MySQL (LEMP) and phpMyAdmin http://archlinuxarm.org/forum/viewtopic.php?t=5024
List of applications https://wiki.archlinux.org/index.php/List_of_applications
twm - Tab Window Manager for the X Window System http://www.x.org/archive/X11R6.8.2/doc/twm.1.html
Graham's TWM Page! http://www.custompc.plus.com/twm/twmrc.htm
Index of /twm/configs http://www.custompc.plus.com/twm/configs/
Keyboard configuration in Xorg https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg
Arch Beginners' Guide https://wiki.archlinux.org/index.php/Beginners%27_Guide
Build a Killer Customized Arch Linux Installation (and Learn All About Linux in the Process) http://lifehacker.com/5680453/build-a-killer-customized-arch-linux-installation-and-learn-all-about-linux-in-the-process
LEMP Server on Arch Linux https://library.linode.com/lemp-guides/arch-linux
Debian - RaspberryPi
Useful links
Raspberry Pi - Tutorial 11 - Installing a Webserver (Nginx, PHP, Perl) http://www.youtube.com/watch?v=I_2yGGPus90
Raspberry Pi - Raspbian Locale Settings http://www.ardupi.com/2013/01/raspberry-pi-raspbian-locale-settings.html
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.
http://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; }