This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install php7.2-fpm | |
$ sudo a2enmod proxy_fcgi | |
$ sudo a2enconf php7.2-fpm | |
$ sudo a2dismod php7.2 | |
$ sudo a2dismod mpm_prefork | |
$ sudo a2enmod mpm_event | |
$ sudo service apache2 restart | |
#nstalling and Enabling HTTP/2 in Apache | |
#Enable the module mod_http2: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#On Ubuntu simply export the qmake path using the following command: | |
$ export PATH=/opt/qt511/bin:$PATH | |
#Check qmake location and version: | |
$ which qmake && qmake -query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################### | |
# INSTALL OPENCV ON UBUNTU OR DEBIAN # | |
###################################### | |
# | THIS SCRIPT IS TESTED CORRECTLY ON | | |
# |----------------------------------------------------| | |
# | OS | OpenCV | Test | Last test | | |
# |----------------|--------------|------|-------------| | |
# | Ubuntu 18.10 | OpenCV 4.0.0 | OK | 18 Nov 2018 | | |
# | Ubuntu 18.04 | OpenCV 4.0.0 | OK | 18 Nov 2018 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get install -y language-pack-en-base | |
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.2 | |
sudo apachectl stop | |
sudo apt-get install php7.2-fpm | |
sudo a2enmod proxy_fcgi setenvif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get install -y language-pack-en-base | |
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.2 | |
sudo apachectl stop | |
sudo apt-get install php7.2-fpm | |
sudo a2enmod proxy_fcgi setenvif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install php7.2 | |
sudo apt-get install php7.2-mysql | |
sudo apt-get install php7.2-cli php7.2-common libapache2-mod-php7.2 php7.2 php7.2-mysql php7.2-fpm | |
sudo apt-get install php7.2-mbstring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-keygen -t rsa -b 4096 -C "your@domain.com" | |
ssh-add -k ~/.ssh/new_osx_id_rsa | |
// copy to osx clipboard | |
pbcopy < ~/.ssh/new_osx_id_rsa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gpg --full-generate-key | |
gpg --list-secret-keys --keyid-format LONG | |
//gpg --armor --export [insert the sec id after rsa4096/9872634985729442] | |
gpg --armor --export 9872634985729442 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#source: https://launchpad.net/~beineri/+archive/ubuntu/opt-qt-5.11.1-bionic | |
sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-bionic | |
sudo apt-get update | |
sudo apt install qt511-meta-full qt511creator qt511meta-dbg-full qt511-meta-minimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo xcode-select –install | |
$ cd ~/Desktop | |
$ mkdir macports | |
$ cd macports | |
$ curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.5.3.tar.gz | |
$ tar -xzvf MacPorts-2.5.3.tar.gz | |
$ cd MacPorts-2.5.3 | |
$ ./configure | |
$ make | |
$ sudo make install |