Skip to content

How to Manage Apache Server Using “Apache GUI” Tool

Apache Web Administration Tool

Requirements

  • How to Install LAMP Stack in RHEL-based Distributions
  • How to Install LAMP Stack on Debian 11/10/9
  • How to Install LAMP Stack in Ubuntu 20.04

For the purpose of this article, I will be installing Apache GUI Web Tool on a Linode Rocky Linux 8 VPS with IP address 192.168.0.100 and provide you a short init script for starting or stopping the Apache GUI process.

Step 1: Download and Install Apache GUI

1. Before getting started with downloading and installing the Apache GUI tool, you need to assure that Java JDK provided by the Java-openjdk package is installed on your system, so you can run Apache GUI.

Use the following commands to install the Java-openjdk package on RHEL-based and Debian-based distributions.

$ sudo yum install java-1.8.0    [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo apt install default-jre   [On Debian, Ubuntu and Mint]
Install Java JDK in Linux
Install Java JDK on Linux

2. Assuming, that you are logged in as root and your current working directory is /root, use the following link to download the latest version of Apache GUI source package (i.e. ApacheGUI-1.12.0.tar.gz) installation files from Sourceforge.net.

Alternatively, you can also grab the Linux-Solaris-Mac –> ApacheGUI tar archive source files using the following wget command as shown below.

# wget https://sourceforge.net/projects/apachegui/files/1.12-Linux-Solaris-Mac/ApacheGUI-1.12.0.tar.gz/download -O ApacheGUI-1.12.0.tar.gz

3. After the archive is downloaded, extract it and move the entire directory to /opt system path, which will be the installation location of your Apache GUI Server.

# tar xfz ApacheGUI-1.12.0.tar.gz
# mv ApacheGUI /opt
# cd /opt
Extract Apache GUI Files
Extract Apache GUI Files

4. Now, it’s time to start and verify Apache GUI Web Tool functionality. Change your directory to ApacheGUI/bin/ path and use run.sh script to start the tool and stop.sh script to stop the server.

# cd ApacheGUI/bin/
# ./run.sh 
Start Apache GUI Server
Start Apache GUI Server

5. After the tool starts it will display some environmental information and you can access it only from your localhost using the following URL address on your browser.

http://localhost:9999/ApacheGUI/

To gain remote control over Apache GUI Web Tool from a browser, you need to add a rule on your system Firewall that opens Port 9999/TCP, which is the default port that Apache GUI Tools listens on.

Use the following commands to open port 9999 on the Firewalld utility.

# firewall-cmd --add-port=9999/tcp --permanent
# firewall-cmd --reload

If you are using a UFW firewall, then run:

$ sudo ufw allow 1191/tcp

6. If port 9999 used by Apache GUI overlaps with another application on your system you can change it by editing the ApacheGUI server.xml configuration file, searching for Connector port=”9999” protocol=”HTTP/1.1” directive, and replacing the port statement with your favorite port number (don’t forget to apply port firewall rule the same time).

# vi /opt/ApacheGUI/tomcat/conf/server.xml
OR
# nano /opt/ApacheGUI/tomcat/conf/server.xml
Configure Apache GUI Port
Configure Apache GUI Port

Step 2: Configure Apache GUI

7. Now it’s time to configure Apache GUI Web Tool for Apache Web Server administration from a remote point. Assuming that you have configured your system Firewall and allowed external connections, open a remote browser and type use your server external IP address to access Apache GUI

http://192.168.0.183:9999/ApacheGUI/

8. Next, the tool will prompt you on How Apache Web Server was installed? Choose the Package option, if you installed Apache on RHEL/CentOS using the yum package management tool and hit OK to move forward.

Choose Apache Server Installation
Choose Apache Server Installation

9. Provide your Apache Web Server Package Parameters with the following configurations and, also, choose a username and a strong password to log in to Apache GUI next time.

Apache Server Installation Details
Apache Server Installation Details
Apache GUI Login
Apache GUI Login

10. After you finish hit on Submit button to apply the configuration and you’re done. Now you can control Apache Web Server with all its configuration files and edit web documents directly from your browser as in the screenshots below.

Apache Server Settings
Apache Server Settings
Apache Server Configuration
Apache Server Configuration

Step 3: Create Systemd Unit File

11. If you need a method to manage Apache GUI Tool without always changing the directory to [APACHEGUI_HOME], which for this installation is /opt/ApacheGUI/, execute run.sh and stop.sh scripts, create a systemd configuration file /etc/systemd/system/apachegui.service as in the following excerpt.

# vi /etc/systemd/system/apachegui.service
OR
# nano /etc/systemd/system/apachegui.service

Copy the below text without any modification, save it, and apply for execution permissions.

[Unit]
Description=Apache GUI Service
After=multi-user.target

[Service]
ExecStart="/opt/ApacheGUI/bin/run.sh"
ExecStop="/opt/ApacheGUI/bin/stop.sh"
Type=simple

[Install]
WantedBy=multi-user.target

12. Use the following commands to manage the Apache GUI process.

# systemctl daemon-reload
# systemctl enable apachegui
# systemctl start apachegui
# systemctl stop apachegui

Even though Apache GUI Web Tool has some limitations and doesn’t provide the same degree of flexibility for Apache Web Server as you can achieve from the command line.

It can provide a modern free Java web interface to administer your web server and has a full inline editor for web documents such as HTML, CSS, JavaScript, XML, Json, PHP, Perl, Shell, and Python and can generate some detailed graphs of Apache Transactions.

Tags Apache Tips, apachegui

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Previous article:

Arpwatch – Monitor Ethernet Activity {IP and Mac Address} in Linux

Next article:

How to Create Fillable Forms with User Roles in ONLYOFFICE Docs
Matei Cezar
I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

20 Comments

Leave a Reply
  1. Had to change the apachegui.service as given below on a proxmox container to make sure tomcat doesn’t stop after starting.

    cat /etc/systemd/system/apachegui.service
    
    [Unit]
    Description=Apache GUI Service
    After=multi-user.target
    
    [Service]
    Type=forking
    WorkingDirectory=/opt/ApacheGUI/bin/
    ExecStart="/opt/ApacheGUI/bin/run.sh"
    ExecStop="/opt/ApacheGUI/bin/stop.sh"
    RemainAfterExit=yes
    
    #StandardOutput=syslog
    #StandardError=syslog
    #Type=simple
    
    [Install]
    WantedBy=multi-user.target
    
    # Execute pre and post scripts as root
    #PermissionsStartOnly=true
    
    Reply
  2. The download filename and the tar version filename are different:

    ApacheGUI-1.12.0.tar.gz
    tar xfz ApacheGUI-1.9.3.tar.gz

    Most novice users are dazed as it is. Are you trying to bother them as well?

    Thank you for the article, anyway excellent info as always from tecmint.

    Reply
  3. Thanks, mate.

    SSH is a pain in the…

    Reply
  4. Things get easier and easier as the tech continues to evolve.

    BTW, is this Apache GUI tool is developed by the same team as this VPSrobots?

    I see the quite similar features in VPSrobots too.

    Reply
  5. What’s going on here. This article has comments dating back to September 8,2014, but is was supposedly post today October 8, 2018! You can’t comment on an article that doesn’t exist yet.

    Reply
  6. apache2-2.4.35

    Haha LogFormat is an invalid configuration command according to ApacheGUI in mod_log_conf Funny apache doesn’t register any errors.
    Error message abound.
    Tree view seems broken

    I don’t see the benefit, all configurations shown is a web based notepad.

    About the only thing it has is hover over links to the apache documentation, its not even in-line help like sublime, phpstorm or etc.

    Logs are no better than standard GREP over ssh.
    Control can’t retrieve extended info, and won’t tell me how to fix it.
    Global Settings “Sorry, an error has occured” WOW very helpful
    Mime Types “Sorry, an error has occured” WOW very helpful
    Virtual hosts /etc/apache2/conf.d/apache2-manual? conf (No such file or directory)
    Add virtual hosts gets stuck Loading Active Files
    History ditto virtual hosts error.

    Reply
  7. OMG… I did it again… 1.8 is what I had. The latest release is 1.11.0

    Reply
  8. Sorry, I forgot to mention that the latest release is is 1.8.0

    Reply
  9. admin@centos75 /]$ sudo wget http://downloads.sourceforge.net/project/apachegui/1.9%20Linux-Solaris-Mac/ApacheGUI-1.9.3.tar.gz
    –2018-09-05 08:42:30– http://downloads.sourceforge.net/project/apachegui/1.9%20Linux-Solaris-Mac/ApacheGUI-1.9.3.tar.gz
    Resolving downloads.sourceforge.net (downloads.sourceforge.net)… 216.105.38.13
    Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80… connected.
    HTTP request sent, awaiting response… 404 Not Found
    2018-09-05 08:42:30 ERROR 404: Not Found.

    Reply
  10. Nice post. I am currently having issues with mine, i install SNAP server on ubuntu 14.04 server and it has apache installed but things are not working right for me. I can not access the portal to manage the server using username and password. when i typed localhost it just show that it worked that all

    Reply
  11. I am like a newbie network admin, for the time being I am following your this tutorial for a gui for my apache server. But, I wanted to ask about webmin or plesk or the puppet for apache gui configurations.

    Can Anyone please point out which one is the best among the webmin, plesk, puppet or the ApacheGui explained in this tutorial..

    Regards

    Reply
  12. Nice post. To the point and crisp. Keep up the good work.

    Thanks,
    Sandeep

    Reply
  13. Make sure that /etc/init.d/apache-gui file has execution permission ( chmod +x /etc/init.d/apache-gui ) and start the service from root account or a system user with root privileges.
    Also make sure that the file has the same content as presented on above excerpt ( file comments are important here)

    Reply
  14. friend error

    env: /etc/init.d/apache-gui: Permiso denegado

    Failed to start LSB: Start the apache-gui.

    Reply

Got Something to Say? Join the Discussion... Cancel reply

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.

聚圣源属牛女孩起名带三点水的字悲伤的秋千2019年李姓起名龙湖御景湾姓仲怎么起名字电影晚娘晁错论男双胞胎起名字在龙椅上玩皇后京东商城有假货偶像活动第三季王兆星起姓张的名字大全潘字姑娘起名大全2018女宝宝4月起名字蘑菇品牌起名今年出生小孩起名大全吞食天地时空之轮小孩起名字大全免费2020年女孩沈妙谢景行全文免费阅读猪婴儿起名适合用什么字起名字一什么食用大豆油商标起名铄字起名有什么意思战网国际服账号注册免费起名网免费取名网重生于康熙末年三月出生起什么小名徐起名弃旧迎新淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻让美丽中国“从细节出发”清明节放假3天调休1天男孩疑遭霸凌 家长讨说法被踢出群国产伟哥去年销售近13亿网友建议重庆地铁不准乘客携带菜筐雅江山火三名扑火人员牺牲系谣言代拍被何赛飞拿着魔杖追着打月嫂回应掌掴婴儿是在赶虫子山西高速一大巴发生事故 已致13死高中生被打伤下体休学 邯郸通报李梦为奥运任务婉拒WNBA邀请19岁小伙救下5人后溺亡 多方发声王树国3次鞠躬告别西交大师生单亲妈妈陷入热恋 14岁儿子报警315晚会后胖东来又人满为患了倪萍分享减重40斤方法王楚钦登顶三项第一今日春分两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?周杰伦一审败诉网易房客欠租失踪 房东直发愁男子持台球杆殴打2名女店员被抓男子被猫抓伤后确诊“猫抓病”“重生之我在北大当嫡校长”槽头肉企业被曝光前生意红火男孩8年未见母亲被告知被遗忘恒大被罚41.75亿到底怎么缴网友洛杉矶偶遇贾玲杨倩无缘巴黎奥运张立群任西安交通大学校长黑马情侣提车了西双版纳热带植物园回应蜉蝣大爆发妈妈回应孩子在校撞护栏坠楼考生莫言也上北大硕士复试名单了韩国首次吊销离岗医生执照奥巴马现身唐宁街 黑色着装引猜测沈阳一轿车冲入人行道致3死2伤阿根廷将发行1万与2万面值的纸币外国人感慨凌晨的中国很安全男子被流浪猫绊倒 投喂者赔24万手机成瘾是影响睡眠质量重要因素春分“立蛋”成功率更高?胖东来员工每周单休无小长假“开封王婆”爆火:促成四五十对专家建议不必谈骨泥色变浙江一高校内汽车冲撞行人 多人受伤许家印被限制高消费

聚圣源 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化