|
| 1 | +--- |
| 2 | +draft: false |
| 3 | +title: 'How to Access and Manage Your Server on OctaByte' |
| 4 | +date: "2025-05-27" |
| 5 | +description: "Learn how to access your virtual machine on OctaByte, update environment variables, and restart your application using Docker." |
| 6 | +tags: ["OctaByte", "VM access", "update environment variables", "edit .env file", "restart docker app", "OctaByte support", "managed open source hosting"] |
| 7 | +categories: ["Fully managed", "Guides", "How to"] |
| 8 | +cover: |
| 9 | + image: images/cover.png |
| 10 | + caption: 'How to Access and Manage Your Server on OctaByte' |
| 11 | + relative: true |
| 12 | +ShowToc: true |
| 13 | +TocOpen: true |
| 14 | +--- |
| 15 | + |
| 16 | +At OctaByte, we make it simple for you to manage your virtual machines. Whether you want to tweak environment variables or restart your app, this guide walks you through each step with images to help you along the way. |
| 17 | + |
| 18 | +--- |
| 19 | + |
| 20 | +## Step 1: Request Access to Your Server |
| 21 | + |
| 22 | +To get started, request access to your server. You can contact our support team in two ways: |
| 23 | + |
| 24 | + |
| 25 | +- **Live Chat:** Available on [octabyte.io](https://octabyte.io) |
| 26 | + |
| 27 | +--- |
| 28 | + |
| 29 | +## Step 2: Receive Email with Credentials |
| 30 | + |
| 31 | +Our support team will email you the login credentials you need to access your server. |
| 32 | + |
| 33 | +--- |
| 34 | + |
| 35 | +## Step 3: Log in to Your Server |
| 36 | + |
| 37 | +Use the provided credentials to log in to your server. You'll land in your workspace where you can view and manage files. |
| 38 | + |
| 39 | +--- |
| 40 | + |
| 41 | +## Step 4: Navigate the File System |
| 42 | + |
| 43 | +On the left-hand side, you’ll find the file explorer. You can switch between directories and locate the files you need to modify. |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +--- |
| 48 | + |
| 49 | +## Step 5: Edit the `.env` File |
| 50 | + |
| 51 | +To update environment variables, open the `.env` file. You can add or modify values as needed. |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | +--- |
| 56 | + |
| 57 | +## Step 6: Open the Terminal |
| 58 | + |
| 59 | +After saving changes to the `.env` file, open the terminal from the dashboard to apply the updates. |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | +--- |
| 64 | + |
| 65 | +## Step 7: Restart Your App |
| 66 | + |
| 67 | +Run the following two commands in the terminal to restart your Docker-based application: |
| 68 | + |
| 69 | +```bash |
| 70 | +docker-compose down |
| 71 | +docker-compose up -d |
| 72 | +``` |
| 73 | + |
| 74 | +This will gracefully restart your app with the updated environment variables. |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +## Step 8: You're Done! |
| 79 | + |
| 80 | +That’s it! Your app is now running with the updated settings. If you run into any issues, don’t hesitate to reach out to our support team. |
| 81 | + |
| 82 | +Need help? Reach us anytime at [email protected] or through live chat on [octabyte.io ](https://octabyte.io) |
0 commit comments