3 thoughts on “How to install apache server in Kali Linux

  • I get this error when installing apache2:
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package apache2 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'apache2' has no installation candidate

  • kali@kali:~$ sudo apt-get install apache2

    [sudo] password for kali:

    Reading package lists… Done

    Building dependency tree

    Reading state information… Done

    apache2 is already the newest version (2.4.43-1).

    0 upgraded, 0 newly installed, 0 to remove and 899 not upgraded.

    kali@kali:~$ service apache2 start

    bash: service: command not found

    kali@kali:~$ apache2

    bash: apache2: command not found

    how i can start the service

Comments are closed.