search-engines:searxng:install-update
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
search-engines:searxng:install-update [2024/09/01 19:42] – [4. Verify the Update] odefta | search-engines:searxng:install-update [2024/09/01 19:44] (current) – [Conclusion] odefta | ||
---|---|---|---|
Line 49: | Line 49: | ||
If any old containers are still in place and no longer needed, you might want to clean them up. You can remove unnecessary containers with the following command: | If any old containers are still in place and no longer needed, you might want to clean them up. You can remove unnecessary containers with the following command: | ||
- | | + | < |
- | docker container prune | + | docker container prune |
- | </ | + | </ |
This command removes all stopped containers and frees up space. | This command removes all stopped containers and frees up space. | ||
Line 67: | Line 67: | ||
Navigate to your desired installation directory and clone the SearXNG Docker repository: | Navigate to your desired installation directory and clone the SearXNG Docker repository: | ||
- | | + | < |
- | cd /data1/ | + | cd /data1/ |
- | git clone https:// | + | git clone https:// |
- | cd searxng-docker/ | + | cd searxng-docker/ |
- | </ | + | </ |
==== 3. Configure Environment Variables ==== | ==== 3. Configure Environment Variables ==== | ||
Line 77: | Line 77: | ||
Edit the **`.env`** file to set the appropriate hostname and email address: | Edit the **`.env`** file to set the appropriate hostname and email address: | ||
- | | + | < |
- | nano .env | + | nano .env |
- | </ | + | </ |
Generate a secret key to be used in SearXNG by running: | Generate a secret key to be used in SearXNG by running: | ||
- | | + | < |
- | sed -i " | + | sed -i " |
- | </ | + | </ |
==== 4. Customize SearXNG Settings ==== | ==== 4. Customize SearXNG Settings ==== | ||
Line 91: | Line 91: | ||
Edit the **`searxng/ | Edit the **`searxng/ | ||
- | | + | < |
- | nano searxng/ | + | nano searxng/ |
- | </ | + | </ |
==== 5. Start SearXNG in the Background ==== | ==== 5. Start SearXNG in the Background ==== | ||
Line 99: | Line 99: | ||
After finishing the configuration, | After finishing the configuration, | ||
- | | + | < |
- | docker-compose up -d | + | docker-compose up -d |
- | </ | + | </ |
==== 6. Check if SearXNG is Running ==== | ==== 6. Check if SearXNG is Running ==== | ||
Line 107: | Line 107: | ||
Ensure that SearXNG is running correctly by checking the status of the Docker container: | Ensure that SearXNG is running correctly by checking the status of the Docker container: | ||
- | | + | < |
- | docker container ls | + | docker container ls |
- | </ | + | </ |
You can also visit your SearXNG instance by navigating to the hostname you set in the **`.env`** file. | You can also visit your SearXNG instance by navigating to the hostname you set in the **`.env`** file. | ||
- | ===== Conclusion ===== | ||
- | Whether you are updating or installing SearXNG, following these steps will ensure that your instance is properly set up and maintained. Always verify the settings and configurations, | ||
- | |||
- | For further assistance, consult the official SearXNG documentation or seek support from the community. |
search-engines/searxng/install-update.1725208967.txt.gz · Last modified: 2024/09/01 19:42 by odefta