How to install megatools on Ubuntu 16.04

# apt sudo apt-get install -y autoconf build-essential libglib2.0-dev libssl-dev libcurl4-openssl-dev libgirepository1.0-dev asciidoc # compile if [[ -d “$HOME/tmp/git/megatools” ]]; then cd “$HOME/tmp/git/megatools” git pull else mkdir -p “$HOME/tmp/git” cd “$HOME/tmp/git” git clone “https://github.com/megous/megatools.git” cd “$HOME/tmp/git/megatools” fi make clean make distclean ./autogen.sh ./configure make if [[ $? -eq 2 ]]; then make clean make distclean… Continue reading How to install megatools on Ubuntu 16.04

How to install LevelDB on Ubuntu 16.04

# compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/leveldb-1.20.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/leveldb-1.20.tar.gz” “https://github.com/google/leveldb/archive/v1.20.tar.gz” fi tar xf “$HOME/tmp/tar_gz/leveldb-1.20.tar.gz” cd “$HOME/tmp/tar_gz/leveldb-1.20” make clean make distclean make # install cd “$HOME/tmp/tar_gz/leveldb-1.20” sudo scp -r out-static/lib* out-shared/lib* “/usr/local/lib” cd “$HOME/tmp/tar_gz/leveldb-1.20/include” sudo scp -r leveldb “/usr/local/include” sudo ldconfig

How to install jpegoptim on Ubuntu 16.04

# compile and install libjpeg mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/jpegsrc.v9c.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/jpegsrc.v9c.tar.gz” “http://www.ijg.org/files/jpegsrc.v9c.tar.gz” fi tar xf “$HOME/tmp/tar_gz/jpegsrc.v9c.tar.gz” cd “$HOME/tmp/tar_gz/jpeg-9c” make clean make distclean ./configure make sudo make install sudo ldconfig # compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/jpegoptim-1.4.4.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/jpegoptim-1.4.4.tar.gz”… Continue reading How to install jpegoptim on Ubuntu 16.04

How to install hashcat on Ubuntu 16.04

# apt sudo apt-get install -y nvidia-opencl-dev ocl-icd-libopencl1 opencl-headers clinfo # compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/hashcat-4.0.1.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/hashcat-4.0.1.tar.gz” “https://github.com/hashcat/hashcat/archive/v4.0.1.tar.gz” fi tar xf “$HOME/tmp/tar_gz/hashcat-4.0.1.tar.gz” cd “$HOME/tmp/tar_gz/hashcat-4.0.1” make clean make distclean make # install sudo make install sudo ldconfig

How to install Gifsicle on Ubuntu 16.04

# compile mkdir -p “$HOME/tmp/tar_gz” cd “$HOME/tmp/tar_gz” if [[ ! -f “$HOME/tmp/tar_gz/gifsicle-1.91.tar.gz” ]]; then wget -O “$HOME/tmp/tar_gz/gifsicle-1.91.tar.gz” “https://www.lcdf.org/gifsicle/gifsicle-1.91.tar.gz” fi tar xf “$HOME/tmp/tar_gz/gifsicle-1.91.tar.gz” cd “$HOME/tmp/tar_gz/gifsicle-1.91” make clean make distclean ./configure make # install sudo make install sudo ldconfig

How to install Fail2ban on Ubuntu 16.04

Edit the variables jail_local_ignoreip and jail_local_destemail. If you access SSH from your home connection and have a static IP you can put your IP to be ignored and not be blocked by mistake. # apt sudo apt-get install -y fail2ban # configure sudo cp “/etc/fail2ban/jail.conf” “/etc/fail2ban/jail.local” jail_local_ignoreip=”127.0.0.2 127.0.0.3 127.0.0.4″ jail_local_destemail=”admin@stackinstall.com” jail_local_sender=”root@localhost” jail_local_subject=$(cat

How to install cURL with HTTP/2 on Ubuntu 16.04

# apt sudo apt-get install -y git g++ make binutils autoconf automake autotools-dev libtool pkg-config zlib1g-dev libcunit1-dev libssl-dev libxml2-dev libev-dev libevent-dev libjansson-dev libjemalloc-dev cython python3-dev python-setuptools sudo apt-get install -y libspdylay7 libspdylay-dev libspdylay-utils sudo apt-get install -y gtk-doc-tools sudo apt-get install -y libunistring-dev # compile and install libmetalink if [[ -d “$HOME/tmp/git/libmetalink” ]]; then cd… Continue reading How to install cURL with HTTP/2 on Ubuntu 16.04

How to install CouchDB on Ubuntu 16.04

sudo mkdir -p “/etc/apt/sources.list.d” echo “deb https://apache.bintray.com/couchdb-deb xenial main” | sudo tee “/etc/apt/sources.list.d/couchdb.list” wget -qO- “https://couchdb.apache.org/repo/bintray-pubkey.asc” | sudo apt-key add – sudo apt-get update sudo apt-get install -y couchdb

How to install Composer on Ubuntu 16.04

php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php -r “if (hash_file(‘SHA384’, ‘composer-setup.php’) === ‘544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;” php composer-setup.php php -r “unlink(‘composer-setup.php’);” sudo cp composer.phar /usr/local/bin/composer sudo chmod +x /usr/local/bin/composer sudo rm -f composer.phar Source: Get Composer