Omid Raha Mystack Documentation Release 0.1
Total Page:16
File Type:pdf, Size:1020Kb
Omid Raha MyStack Documentation Release 0.1 Omid Raha Oct 28, 2019 Contents 1 Aircrack-ng 3 1.1 Install...................................................3 1.1.1 Install aircrack-ng 1.2-beta1 from source............................3 2 APPLE 5 2.1 Tips....................................................5 2.1.1 Apple ID............................................5 2.1.2 Hackintosh...........................................5 3 Astronomy 7 3.1 astronomical unit (AU, or au)......................................7 3.2 What Is the Distance Between Earth and Mars?.............................7 3.3 What is the Distance to the Moon?....................................7 3.4 What Is the Distance Between Earth and sun?..............................7 3.5 Software.................................................8 3.6 Galaxy..................................................8 4 Atlassian 9 4.1 Tips....................................................9 4.1.1 Atlassian installation approach.................................9 4.1.2 Atlassian license Prices..................................... 10 4.1.3 Run Jira with docker...................................... 11 4.1.4 Run Confluence with docker.................................. 12 4.1.5 Run Bitbucket Server with docker............................... 12 4.1.6 JIRA is Unable to Start due to Could not create necessary subdirectory............ 12 4.1.7 Atlassian Docker compose file................................. 13 4.1.8 Backup atlassian product.................................... 15 4.1.9 Bamboo............................................. 16 5 benchmark 17 5.1 Tips.................................................... 17 5.1.1 Using Apache Bench for Simple Load Testing......................... 17 6 Block Chain 19 6.1 Tips.................................................... 19 6.2 Ethereum................................................. 19 6.2.1 Solidity............................................. 21 i 6.2.2 Online solidity......................................... 21 6.2.3 Links.............................................. 21 7 Browser 23 7.1 Firefox.................................................. 23 7.1.1 Disable Dns Cache....................................... 23 7.1.2 Increase download them all maximum segments........................ 23 7.1.3 Set security tls.......................................... 24 7.1.4 Disable automatic loading of Images in Firefox........................ 24 7.1.5 Fix Firefox Phishing...................................... 24 7.2 Opera................................................... 24 8 Ceph 25 9 Citus 27 9.1 Tips.................................................... 27 9.1.1 Install citus on single machine with docker.......................... 27 9.1.2 Install citus on a single machine on ubuntu........................... 28 9.1.3 Install citus on multi-machine cluster on Ubuntu........................ 29 9.1.4 Have a unique constraint on one field of table......................... 30 9.1.5 Limitation of Citus Community................................ 30 9.1.6 Django............................................. 31 10 CockRoachDB 33 10.1 Tips.................................................... 33 10.1.1 NewSql............................................. 33 10.1.2 Support SQL and Postgres................................... 33 10.1.3 Support Django......................................... 33 10.1.4 Support k8s........................................... 34 10.1.5 Scale.............................................. 34 10.1.6 Performance........................................... 34 10.1.7 Deploy multi-node cluster using HAProxy load balancer................... 34 10.1.8 Adapting SQLAlchemy to CockroachDB........................... 34 11 Cothority 35 11.1 Tips.................................................... 35 11.1.1 Install.............................................. 35 11.1.2 Apps............................................... 37 12 Crypto currency 47 12.1 Tips.................................................... 47 12.1.1 Create your own block chain.................................. 47 12.1.2 Coins Analysis......................................... 47 12.1.3 Exchange coins......................................... 47 12.1.4 Buy/Sell coins.......................................... 48 12.1.5 Buy coins by Paypal...................................... 48 12.1.6 Tools.............................................. 48 12.1.7 Python.............................................. 48 12.1.8 Bitcoin............................................. 48 12.1.9 Universal JavaScript Client-Side Wallet Generator....................... 48 12.1.10 NXT............................................... 49 12.1.11 Dogecoin............................................ 49 12.1.12 Ripple XRP........................................... 50 12.1.13 Cloud Mining.......................................... 50 12.2 Mining.................................................. 50 ii 12.2.1 Mining software......................................... 50 12.2.2 Pool............................................... 51 12.2.3 Hash Rate............................................ 52 12.2.4 Best coin to mine........................................ 52 13 CTF 53 13.1 Tips.................................................... 53 13.1.1 Tools.............................................. 53 14 Deploy 55 14.1 Open shift................................................ 55 14.1.1 Installing the OpenShift Client Tools.............................. 55 14.1.2 Django admin pass....................................... 57 14.1.3 Openshift Environment Variables List............................. 57 14.1.4 Update rhc........................................... 57 14.1.5 How to create and unset environment variables on the server ?................ 57 14.1.6 Restart the application..................................... 57 14.1.7 Using redmine on openshift................................... 58 14.1.8 Payment............................................. 58 14.1.9 To see where an existing application is being hosting..................... 58 14.2 Amazon.................................................. 58 14.2.1 RDS............................................... 63 14.2.2 EC2 Container Service..................................... 64 14.3 Configuration management....................................... 65 14.3.1 Operating System configuration management......................... 65 14.4 Tips.................................................... 65 14.4.1 PaaS (platform as a service).................................. 65 14.4.2 VPS Provider.......................................... 65 14.4.3 Digital Ocean.......................................... 66 14.4.4 Amazon............................................. 66 14.4.5 Blue Green Deployment.................................... 67 14.4.6 Continuous Delivery...................................... 67 14.4.7 Continuous Integration..................................... 67 14.4.8 Feature toggle.......................................... 67 14.4.9 Log collection service...................................... 67 14.4.10 How to configure Google Client Id and Google Client Secret?................ 68 14.4.11 Kong with docker........................................ 68 14.4.12 Combine and minimize JavaScript, CSS and Images files................... 69 14.5 Vagrant.................................................. 69 14.5.1 Quick Guide to Vagrant on Amazon EC2........................... 69 14.5.2 How to use vagrant in a proxy enviroment?.......................... 69 14.5.3 Disable or remove the proxy.................................. 69 14.5.4 Install ubuntu.......................................... 70 14.5.5 Multi-Machine......................................... 70 14.5.6 CPU and Memory........................................ 70 14.5.7 Update plugin.......................................... 70 14.6 Monitoring Tools............................................. 70 14.6.1 New Relic............................................ 70 14.6.2 What is bam.nr-data.net..................................... 71 14.6.3 How to install Nginx New Relic plugin............................ 71 14.6.4 Real-time web log analyzer and interactive viewer....................... 72 14.7 Ansible.................................................. 72 14.7.1 Install.............................................. 73 14.8 Microservices.............................................. 73 iii 14.8.1 Multiple Services Per Host................................... 73 14.8.2 Single Service Per Host..................................... 74 14.8.3 Mantl.............................................. 74 14.8.4 lattice.............................................. 75 14.8.5 vamp.............................................. 75 14.8.6 calico.............................................. 75 14.8.7 marathon............................................ 75 14.8.8 terraform............................................ 75 14.9 Simple Storage Service (S3)....................................... 75 14.9.1 S3cmd configuration to use with Swift storage object..................... 75 14.9.2 Sync remote s3 objects to the local file system......................... 76 14.10 VPS services............................................... 76 14.10.1 VPS with more Storage..................................... 76 14.10.2 Cheap VPS........................................... 76 14.11 kubernetes................................................ 76 14.11.1 Monitoring........................................... 78 14.11.2