Tag Archives: linux

[Event] Ubuntu Installation Party – Bionic Beaver 18.04 LTS – 22 May 2018
Lesbian-Feminist University organized the »Ubuntu/Linux installation party« on Tuesday, May 22nd 2018, at club Tiffany (SKUC-Cultural center Q), Metelkova, [...]
httpie: HTTP GET, POST … requests in console
https://httpie.org/ github Install sudo apt install httpie Sample request http GET http://localhost:4000/api/users http GET :4000/api/users http GET [...]
Run a local server and make it available remotely
Run a local server cd /path/to/your-project-folder # python2 python -m SimpleHTTPServer 8080 # python3 python3 -m http.server 8080 Open a browser and visit [...]
Install Win7, Win 8.1 and Win 10 on the Virtual machine
Download Windows Go to Windows Download Page And choose the preferred virtual machine and platform. You can choose between the following virtual machines: [...]
JPG and PNG image optimization on Linux
JPG optimization Download jpegoptim from https://github.com/tjko/jpegoptim git clone git@github.com:tjko/jpegoptim.git Install jpegoptim ./configure make [...]
Local WordPress development on Ubuntu is super easy
If you are tired of changing localhost domain to the correct one before the siteis published this tutorial is for you. We will create a local domain so [...]
Force https in .htaccess
RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] Change example.com to your domain name. More info
Install Anki Flashcards
Installation First download the Compiled package from the Anki official page and execute the following commands: Then execute the following code (make sure [...]
Force https in .htaccess
RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} SOURCE
The structure of Apache Server Log
Apache2 server log is located at /var/log/apache2/access.log. It displays entries like: - - [30/May/2017:11:36:50 +0200] "GET [...]
Homepage Installation Refresh the package database. sudo apt-get update Install the apache2-utils package to get access to ApacheBench. apt-get install [...]
Download a list of pdfs
To download a list of pdfs, gather the all in one txt file and run the following in the console: wget -i url-list.txt Wait until they are all downloaded. [...]
Ubuntu – issues after restart
Try to reboot into earlier linux image in GRUB. If it works, try to reinstall the faulty version // caution - not tested yet! + change the version! sudo [...]
Upgrade Ubuntu to new version
https://www.linuxbabe.com/ubuntu/upgrade-ubuntu-16-04-to-ubuntu-16-10 in Software and Updates Select the Updates tab and then at the bottom of window, [...]
Install and Uninstall .deb Packages
Install .deb package sudo dpkg -i DEB_PACKAGE Uninstall .deb package sudo dpkg -r DEB_PACKAGE Reconfigure the package sudo dpkg-reconfigure PACKAGE_NAME
Install Stacer on Ubuntu
Stacer is a nice tool for Linux System Optimization adn Monitoring. Instalation Download Stacer from GitHub. Choose .deb file for Ubuntu Then run the [...]
Install PyCharm on Ubuntu
sudo add-apt-repository ppa:mystic-mirage/pycharm && sudo apt-get update && sudo apt-get install pycharm-community Source
Install Atom on Ubuntu
sudo add-apt-repository ppa:webupd8team/atom sudo apt-get update sudo apt-get install atom
Export list of installed programs and install them on another computer (Ubuntu)
Step 1: Store the list of installed packages Run the following command on the source machine to store the installed packages names in ~/pkglist: sudo dpkg [...]
Fix Error: No Bootable Device after Installation on Ubuntu
Enter into Boot menu with F2 – Boot Tab – make sure that Secure Boot is turned on – Security tab and look for “Select an UEFI file as [...]
Chroot Ubuntu from Live CD
sudo mount /dev/sdXY /mnt sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc [...]
Install Brackets on Ubuntu
sudo apt-add-repository ppa:webupd8team/brackets sudo apt-get update sudo apt-get install brackets
Install gulp.js on Ubuntu
Installation steps sudo npm install gulp-cli -g sudo npm install gulp -D touch gulpfile.js gulp --help Use gulp with your project Make sure you have files [...]
Install Node.js on Ubuntu
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt install -y nodejs # or curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash [...]
Install LAMP server and phpmyadmin on Ubuntu
Install Lamp server sudo apt-get install lamp-server^ http://localhost/ or Restart server sudo /etc/init.d/apache2 restart Install [...]
sudo apt install tmux sudo yum install tmux To make aliases available in tmux open .bash_profile and add source ~/.bashrc
Generate ssh keys
ssh-keygen -t rsa -b 4096 ssh-copy-id -i ~/.ssh/kcq_stage.pub kcqstage@companion.dreamhost.com ssh kcqstage@companion.dreamhost.com Setup for github ls -al [...]
Install mysqldump (Database backup program) on Ubuntu
sudo apt-get install mysql-client
Install wpscan on Ubuntu
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev su -l cd ~ curl -sSL [...]
Install wp-cli
Project homepage: https://github.com/wp-cli/wp-cli $ curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar $ php wp-cli.phar [...]
Cheat Install
What you do when you are not sure of the command you are running especially in case of complex commands which uses a lot of options. We use man pages to [...]
Python install tkinter
#python2 sudo apt-get install python-tk # python3 sudo apt-get install python3-tk