Repair Grub with GUI in Ubuntu
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
sudo apt-get install python-letsencrypt-apache
letsencrypt --apache
nano /etc/apache2/apache2.conf
<VirtualHost *:443> SSLEngine on SSLCertificateKeyFile /etc/letsencrypt/live/dl.mhdr.ir/privkey.pem SSLCertificateFile /etc/letsencrypt/live/dl.mhdr.ir/cert.pem SSLCertificateChainFile /etc/letsencrypt/live/dl.mhdr.ir/chain.pem DocumentRoot "/var/www/html/dl" ServerName dl.mhdr.ir </VirtualHost>
service apache2 restart
PPA
$ sudo add-apt-repository ppa:certbot/certbot $ sudo apt-get update $ sudo apt-get install python-certbot-apache
note : only the last VitualHost will be detected by letsencrypt
References
https://certbot.eff.org/#ubuntuxenial-apache
https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension
https://letsencrypt.org/
ssh-keygen -t rsa -C "GitLab" -b 4096
copy the public key
xclip -sel clip < ~/.ssh/id_rsa.pub
sudo apt-get install curl openssh-server ca-certificates postfix
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash sudo apt-get install gitlab-ce
sudo gitlab-ctl reconfigure
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder sudo apt-get update sudo apt-get install simplescreenrecorder # if you want to record 32-bit OpenGL applications on a 64-bit system: sudo apt-get install simplescreenrecorder-lib:i386
sudo lsof -i sudo netstat -lptu sudo netstat -tulpn
References
https://www.cyberciti.biz/tips/linux-display-open-ports-owner.html
curl -s get.sdkman.io | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install groovy
References
http://www.groovy-lang.org/install.html
echo "deb http://www.apache.org/dist/cassandra/debian 39x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
sudo apt-get update
sudo apt-key adv --keyserver pool.sks-keyservers.net --recv-key A278B781FE4B2BDA
sudo apt-get install cassandra
sudo service cassandra start
sudo service cassandra stop
References
http://cassandra.apache.org/download/