Accessing Apache Solr
Open in browser: http://<SERVER_IP>:8983
Login:
- Username:
user - Password: stored inside
/root/.cloudzy-creds
Retrieve credentials:
cat /root/.cloudzy-creds
Ports and Services
Default exposed ports:
0.0.0.0:8983- Solr Web UI / API127.0.0.1:9983- Internal ZooKeeper communication127.0.0.1:7983- Internal Solr communication
Important Files and Directories
- Solr Install Path:
/opt/solr - Credentials File:
/root/.cloudzy-creds - Solr Config:
/etc/default/solr.in.sh - Solr Service:
/etc/systemd/system/solr.service - Solr Data Directory:
/var/solr
Managing Apache Solr
Check service status:
systemctl status solr
Restart Solr:
systemctl restart solr
View logs:
journalctl -u solr -f
Stop Solr:
systemctl stop solr
Start Solr:
systemctl start solr
Notes
- Apache Solr runs as a systemd service
- Solr is exposed on port
8983 - ZooKeeper listens locally on port
9983 - Solr startup configuration can be customized in
/etc/default/solr.in.sh - Restart Solr after modifying configuration files or security settings
- Basic authentication is enabled using Solr's built-in authentication system
- Java (OpenJDK) is required and installed automatically