0% found this document useful (0 votes)
10 views2 pages

Middleware Admin Commands Tools

The document provides a comprehensive guide for Middleware Administrators with commands and tools for managing Apache HTTP Server, Apache Tomcat, and AWS EC2. It includes essential commands for starting, stopping, and checking the status of servers, as well as network troubleshooting techniques. Additionally, it lists useful tools and their versions for effective system administration.

Uploaded by

liontiger466
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Middleware Admin Commands Tools

The document provides a comprehensive guide for Middleware Administrators with commands and tools for managing Apache HTTP Server, Apache Tomcat, and AWS EC2. It includes essential commands for starting, stopping, and checking the status of servers, as well as network troubleshooting techniques. Additionally, it lists useful tools and their versions for effective system administration.

Uploaded by

liontiger466
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Middleware Administrator Commands

and Tools
Level: 3.4 Years of Experience

Apache HTTP Server


Version: 2.4.x (latest stable)

 Start Apache: sudo systemctl start httpd


 Stop Apache: sudo systemctl stop httpd
 Restart Apache: sudo systemctl restart httpd
 Check Apache status: sudo systemctl status httpd
 Check Apache version: httpd -v
 Test configuration: sudo apachectl configtest
 View access log: tail -f /var/log/httpd/access_log
 View error log: tail -f /var/log/httpd/error_log

Apache Tomcat
Version: 10.1.x (latest stable)

 Start Tomcat: ./startup.sh


 Stop Tomcat: ./shutdown.sh
 Check logs: tail -f logs/catalina.out
 Deploy WAR: Copy WAR to webapps/ directory
 Check server status: Access http://<server>:8080
 Check version: Check RELEASE-NOTES or logs

AWS EC2
Common AWS CLI Version: 2.x

 List EC2 instances: aws ec2 describe-instances


 Start EC2 instance: aws ec2 start-instances --instance-ids <id>
 Stop EC2 instance: aws ec2 stop-instances --instance-ids <id>
 Connect to EC2 instance: ssh -i <key.pem> ec2-user@<public-ip>
 Check instance status: aws ec2 describe-instance-status
Network Troubleshooting
 Ping a server: ping <hostname or IP>
 Traceroute to a host: traceroute <hostname>
 Check open ports: netstat -tuln or ss -tuln
 Check DNS resolution: nslookup <hostname>
 Check IP configuration: ip a or ifconfig

Useful Tools & Versions


 Apache HTTP Server: 2.4.x
 Apache Tomcat: 10.1.x
 AWS CLI: 2.x
 Java (JDK): 17 or 21 (LTS)
 Linux OS (e.g. RHEL/CentOS/Ubuntu): Latest stable releases
 Net-tools: for ifconfig, netstat (deprecated but still used)
 iproute2: for ip, ss commands
 Log analyzers: GoAccess, AWStats
 Monitoring Tools: Nagios, Prometheus + Grafana
 Automation Tools: Ansible, Shell Scripting

You might also like