This file discribe all the steps in order to setup a Vagrant box (using the Ansible Ubuntu simple Symfony App config - please refer to this repository for more info).
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
# encoding: utf8 1,1 Top# encoding: utf8 | |
import argparse | |
from datetime import datetime | |
import json | |
from random import randint | |
import requests | |
import sys | |
from time import sleep |
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
(based on http://www.whatsmypass.com/the-top-500-worst-passwords-of-all-time) | |
123456 | |
porsche | |
firebird | |
prince | |
rosebud | |
password | |
guitar | |
butter |
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
#!/bin/bash | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 | |
# Remove any existing packages: | |
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
# Get the dependencies (Ubuntu Server or headless users): | |
sudo apt-get update |
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
### Keybase proof | |
I hereby claim: | |
* I am saydulk on github. | |
* I am masum (https://keybase.io/masum) on keybase. | |
* I have a public key whose fingerprint is 1FE4 2770 9C02 8778 B29F 9D81 3DA3 25E9 D32C 94EB | |
To claim this, I am signing this object: |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
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
#!/bin/sh | |
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python | |
sudo wget http://prdownloads.sourceforge.net/webadmin/webmin_1.870_all.deb | |
sudo dpkg --install webmin_1.870_all.deb | |
sudo xdg-open http://localhost:10000/ | |
exit |
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
#!/bin/sh | |
echo "deb https://download.webmin.com/download/repository sarge contrib" | sudo tee -a /etc/apt/sources.list | |
wget http://www.webmin.com/jcameron-key.asc | |
apt-key add jcameron-key.asc | |
## You will now be able to install with the commands : | |
apt-get update | |
apt-get install apt-transport-https | |
apt-get install webmin | |
## Login from browser URL | |
xdg-open http://localhost:10000/ |
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
উবুন্টু ইন্সটল করার পরবর্তী কাজ সমূহ | |
Thinga to do after install ubuntu | |
- Enable Partner Repositories | |
system seetings ক্লিক করে Software & Updates চালু করি। Other Software এ গিয়ে Canonical Partners এবং Canonical Partners (Source Code) এ টিক চিহ্ন দেই এবং Close বাটন ক্লিক করে কাজ সমাপ্ত করি। | |
আবার system seetings ক্লিক করে Brightness & Lock চালু করে Dim screen to save power টিক চিহ্ন উঠিয়ে দেই। Turn screen off when inactive for "Never" এ ক্লিক করে কাজ সমাপ্ত করি। | |
তারপর এই command চালু করি |
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
#!/bin/sh | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo apt-get update | |
sudo apt-get install oracle-java8-installer | |
sudo apt-get install oracle-java8-set-default | |
cat >> /etc/environment <<EOL | |
JAVA_HOME=/usr/lib/jvm/java-8-oracle | |
JRE_HOME=/usr/lib/jvm/java-8-oracle/jre | |
EOL | |
java -version |