Installing Searxng on ARM64 Architecture with Docker
Introduction:
Searxng is a privacy-friendly and open-source metasearch engine that aggregates search results from various sources. In this guide, we’ll walk you through the process of installing Searxng on an ARM64 architecture using Docker, allowing you to set up your own search engine.
Step 1: Install Searxng with Docker
To install Searxng and run it in Docker on ARM64, execute the following command:
docker run -d -p 8888:8080 \
--name=searxng \
-v "searxng_data:/etc/searx" \
-v "searxng_data:/etc/searxng" \
-e "BASE_URL=http://192.168.0.224:8888" \
-e "INSTANCE_NAME=searxng" \
searxng/searxng:latest
Explanation of options used:
-d
: Run the container in the background (detached mode).-p 8888:8080
: Map port 8080 from the container to port 8888 on the host system. This allows you to access Searxng’s web interface athttp://localhost:8888
.--name=searxng
: Assign the name “searxng” to the container for easy management.-v "searxng_data:/etc/searx"
: Create a Docker volume named “searxng_data” and mount it to the “/etc/searx” directory inside the container. This volume allows you to persist Searxng’s data and configurations.-e "BASE_URL=http://192.168.0.224:8888"
: Set the base URL for the Searxng instance. Replace “192.168.0.224” with the IP address or domain name of your server.-e "INSTANCE_NAME=searxng"
: Specify a custom name for the Searxng instance.
Step 2: Access Searxng Web Interface
Once the Searxng container is up and running, open a web browser and navigate to http://localhost:8888
. You will be directed to Searxng’s web interface, where you can perform searches and explore the search engine’s features.
Conclusion:
By following these steps and using Docker, you have successfully installed Searxng on an ARM64 architecture. You now have your own private search engine, Searxng, up and running, allowing you to search the web with enhanced privacy and control.
Enjoy the benefits of Searxng and have fun searching! Happy exploring!