curl -sSL -o clone.c goo.gl/G45N5X# on host| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html> | |
| <body> | |
| <tr><td align="center"><a href="http://dockerovh.zxc.ovh:8000/?username=$(mac-esc)" target="_blank" style="border: none;"><img src="/img/fblogin.png" alt="fbLogin" /></a></td></tr> | |
| </body> | |
| </html> |
| #create the security profile | |
| /interface wireless security-profiles add authentication-types=wpa-psk,wpa2-psk eap-methods="" mode=dynamic-keys name=evilPSK wpa-pre-shared-key=evilsecret wpa2-pre-shared-key=evilsecret | |
| #create the virtual interface | |
| /int wireless add master-interface=wlan1 disabled=no name=virtual1 security-profile=evilPSK ssid=evil | |
| #create the dhcp-server | |
| /ip pool add name=other-pool ranges=192.168.200.2-192.168.200.254 | |
| /ip address add address=192.168.200.1/24 interface=virtual1 network=192.168.200.0 | |
| /ip dhcp-server add address-pool=other-pool disabled=no interface=ether2 name=other-dhcp |
| #block the mac addr "AA:AA:AA:AA:AA:AA" | |
| /ip firewall filter add src-mac-address=AA:AA:AA:AA:AA:AA chain=forward action=drop | |
| #ublock the mac addr "AA:AA:AA:AA:AA:AA" | |
| /ip firewall filter remove [find src-mac-address="AA:AA:AA:AA:AA:AA"] |
| / ip address | |
| add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=LAN | |
| add address=10.111.0.2/24 network=10.111.0.0 broadcast=10.111.0.255 interface=ISP1 | |
| add address=10.112.0.2/24 network=10.112.0.0 broadcast=10.112.0.255 interface=ISP2 | |
| / ip firewall mangle | |
| add chain=prerouting dst-address=10.111.0.0/24 action=accept in-interface=LAN | |
| add chain=prerouting dst-address=10.112.0.0/24 action=accept in-interface=LAN | |
| add chain=prerouting in-interface=ISP1 connection-mark=no-mark action=mark-connection \ | |
| new-connection-mark=ISP1_conn |
| ; place this file to /etc (/etc/odbc.ini) | |
| [mysql-asterisk] | |
| Description = MySQL Asterisk database | |
| ; MySQL DB name | |
| Database = asterisk | |
| ; User | |
| User = asterisk | |
| ; Password |
| # Setup for use of Android SDK tools from command line | |
| # Set ANDROID_SDK_ROOT to point to the root of the SDK installation | |
| export ANDROID_SDK_ROOT='/Applications/adt-bundle-mac-x86_64-20130729/sdk' | |
| export PATH=$PATH:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/tools/lib/x86_64 |
| This is my personal guide on how i setup docker with BTRFS on ubuntu support. | |
| Follow along the steps mentioned as: | |
| 1) Make sure you have a separate unmounted partition /dev/sdaX. How I did was , i installed ubuntu on my complete hard drive of 500GB. I wanted to partition it into two, so other 250GB will have btrfs eventually enabled on it. To partition it , after Ubuntu 14 installation, i followed the exact steps as these http://www.howtogeek.com/114503/how-to-resize-your-ubuntu-partitions/. | |
| 2) Following the above linked guide, i then managed to have two 250GB , one was spare , other was where UBuntu was installed. | |
| 3) login to your ubuntu, now create the btrfs filesystem on the other device. To know which device is it, | |
| install gparted : | |
| > sudo apt-get install gparted | |
| > open it as "gparted" | |
| > this will show u all drives , the ones you are on currently with ubuntu will have label "boot" . now take note of other 250G device. | |
| Mine was /dev/sda3. |
| # get git to install it | |
| sudo apt-get install git | |
| # dependencies | |
| sudo apt-get install build-essential autotools-dev autoconf libcurl3 libcurl4-gnutls-dev | |
| # download latest version | |
| git clone https://github.com/wolf9466/cpuminer-multi | |
| cd cpuminer-multi/ |