Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Masum Chowdhury saydulk

🏠
Working from home
Block or report user

Report or block saydulk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View firefly iii install on 18.04.md

Firefly III install on Ubuntu 18.04

These instructions will install Firefly III on Ubuntu 18.04. It includes setup for:

  • PHP 7.2
  • Nginx
  • MariaDB
  • Securing an Ubuntu server
  • Securing Maria DB
  • Let's Encrypt
@saydulk
saydulk / GitLab.sh
Last active Mar 12, 2019
GitLab Update To Latest
View GitLab.sh
#!/bin/sh
sudo wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo chmod 777 gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo touch /etc/gitlab/skip-auto-migrations
sudo dpkg -i gitlab-ce_7.10.4~omnibus-1_amd64.deb
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
sudo wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/trusty/gitlab-ce_8.2.0-ce.0_amd64.deb/download.deb
sudo chmod 777 gitlab-ce_8.2.0-ce.0_amd64.deb
@saydulk
saydulk / rc.local.sh
Created Feb 28, 2019
rails app running after linux reboot
View rc.local.sh
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
@saydulk
saydulk / RabbitMQ.sh
Created Jan 28, 2019
Install RabbitMQ on Ubuntu 16.04
View RabbitMQ.sh
#!/bin/bash
sudo apt-get update
sudo apt-get upgrade
cd ~
wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_general/esl-erlang_20.1-1~ubuntu~xenial_amd64.deb
sudo dpkg -i esl-erlang_20.1-1\~ubuntu\~xenial_amd64.deb
echo "deb https://dl.bintray.com/rabbitmq/debian xenial main" | sudo tee /etc/apt/sources.list.d/bintray.rabbitmq.list
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add -
sudo apt-get update
@saydulk
saydulk / mariadb.sh
Created Jan 28, 2019
Setting up MariaDB Ubuntu 16.04 LTS
View mariadb.sh
#!/bin/bash
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,arm64,i386,ppc64el] http://ftp.kaist.ac.kr/mariadb/repo/10.0/ubuntu xenial main'
sudo apt update
sudo apt install mariadb-server
sudo /etc/init.d/mysql start
sudo /etc/init.d/mysql reload
sudo /etc/init.d/mysql restart
@saydulk
saydulk / rails.sh
Created Jan 28, 2019
Rails install Ubuntu 16.04+ LTS
View rails.sh
#!/bin/bash
# run from root user
apt-get update
apt-get install curl
\curl -sSL https://get.rvm.io | bash -s stable
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
source ~/.rvm/scripts/rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
gpg --import mpapis.asc
@saydulk
saydulk / rvm.sh
Created Jan 28, 2019
Installing RVM in Ubuntu 16.04+ LTS
View rvm.sh
#!/bin/bash
# run from root user
apt-get update
apt-get install curl
\curl -sSL https://get.rvm.io | bash -s stable
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
source ~/.rvm/scripts/rvm
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
gpg --import mpapis.asc
@saydulk
saydulk / docker-compose.sh
Created Jan 25, 2019
docker compose install Debian 9 Stretch
View docker-compose.sh
#!/bin/bash
apt-get update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
@saydulk
saydulk / php559.sh
Last active Jan 20, 2019
php 5.5.9 install ubuntu 18.0
View php559.sh
#!/bin/bash
# run all commands from root
# source http://www.linuxfromscratch.org/blfs/view/7.5/general/php.html
apt update && sudo apt-get upgrade --fix-missing
apt install build-essential checkinstall
apt install ubuntu-restricted-extras
apt list --upgradable
apt upgrade -y
apt update -y
@saydulk
saydulk / qt512.sh
Last active Jan 16, 2019
Install qt 5.12 into Ubuntu 18.10 Box
View qt512.sh
#!/bin/bash
# this script will install qt 5.12 into Ubuntu 18.10 Box
# http://download.qt.io/official_releases/qt/5.12/5.12.0/
# https://wiki.qt.io/Install_Qt_5_on_Ubuntu
sudo wget http://download.qt.io/official_releases/qt/5.12/5.12.0/qt-opensource-linux-x64-5.12.0.run
sudo chmod +x qt-opensource-linux-x64-5.12.0.run
./qt-opensource-linux-x64-5.12.0.run
sudo apt-get install build-essential
sudo apt-get install libfontconfig1
You can’t perform that action at this time.