The main Bubble source repository. Contains the Bubble API server, the web UI, documentation and utilities. https://getbubblenow.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dist-README.md 3.4 KiB

4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
4 vuotta sitten
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # Bubble: a privacy-first VPN
  2. Bubble helps you start and manage your own private VPN.
  3. It also adds tools to this VPN to improve your Internet experience by modifying your traffic: to
  4. remove ads, block malware, and much more.
  5. ## Operating System Support
  6. Once your Bubble is running, any device can connect to it: Windows, Linux, Mac, iOS, Android; if it supports VPN connections,
  7. it will probably work just fine.
  8. However, to launch your own Bubble using this software, you will need a Linux machine to run the launcher.
  9. It *probably* works on MacOS, but it has not been tested and there are likely to be issues. Pull requests are welcome!
  10. If you'd like to enjoy all the benefits of Bubble without going through this hassle, please try out the Bubble launching
  11. service available on [bubblev.com](https://bubblev.com). Any Bubble you launch from [bubblev.com](https://bubblev.com)
  12. will also be "yours only" -- all Bubbles disconnect from their launcher during configuration.
  13. ## Getting Started
  14. ### Install OpenJDK 11
  15. Install [Java 11](https://openjdk.java.net/install/) from OpenJDK.
  16. It will probably be easier to install using an OS package, for example `sudo apt install openjdk-11-jre-headless`
  17. ### Install PostgreSQL and Redis
  18. Install [PostgreSQL 10](https://www.postgresql.org/download/) if it is not installed on your system.
  19. It will probably be easier to install using an OS package, for example `sudo apt install postgresql`
  20. Install [Redis](https://redis.io/download) if it is not already installed on your system.
  21. It will probably be easier to install using an OS package, for example `sudo apt install redis`
  22. ### Configure PostgreSQL
  23. The Bubble launcher connects to a PostgreSQL database named 'bubble' as the PostgreSQL user 'bubble'.
  24. If your current OS user account has permissions to create PostgreSQL databases and users, you can skip this step
  25. since the database and user will be created upon startup.
  26. Otherwise, please either:
  27. * Update the PostgreSQL `pg_hba.conf` file to allow your current OS user to create databases and DB users, OR
  28. * Create a PostgreSQL database named `bubble` and a database user named `bubble`. Set a password for the `bubble` user,
  29. and set the environment variable `BUBBLE_PG_PASSWORD` to this password when starting the Bubble launcher.
  30. ### Download a Bubble Distribution
  31. Download and unzip the latest [Bubble Distribution ZIP](https://bubblev.com/download).
  32. ### Start the Bubble launcher
  33. Run the `./bin/run.sh` script to start the Bubble launcher. Once the server is running, it will try to open a browser window
  34. to continue configuration. It will also print out the URL, so if the browser doesn't start correctly, you can paste this
  35. into your browser's location bar.
  36. ### Activate your local Bubble
  37. Your Bubble is running locally in a "blank" mode. It needs an initial "root" account and some basic services configured.
  38. #### Activate via Web UI
  39. The browser-based admin UI should be displaying an "Activate" page. Complete the information on this page and submit the
  40. data. The Bubble Launcher will create an initial "root" account and other basic system configurations.
  41. #### Activate via command line
  42. Copy the file in `config/activation.json`, then edit the file. There are comments in the file to guide you.
  43. After saving the updated file, run this command:
  44. `./bin/bactivate /path/to/activation.json`
  45. ### Launch a new Bubble!
  46. Using the web UI, click "Bubbles", select "New Bubble". Fill out and submit the New Bubble form, and your Bubble will be created!