• How can I install LAMP Stack?


    I want to install a tool to be able to mount a local server, similar to windows xampp where I only have to click and the services are started next to the server, I have seen some tutorials to install the tools separately, but it is not really what I search, I want to use a tool that allows me to do everything with just a few clicks.

    I’m using Antergos with Gnome

  • @PedroFumero said in How can I install LAMP Stack?:

    mount a local server

    you want to enable an server to share a webside over the external internet? or share files on the local network?

    LAMP means:
    Linux
    Apache
    MySQ
    PHP

    But may you do not need a database or PHP ?

    then may:

    darkhttpd --help
    darkhttpd/1.12, copyright (c) 2003-2016 Emil Mikulic.
    usage:	darkhttpd /path/to/wwwroot [flags]
    
    flags:	--port number (default: 8080, or 80 if running as root)
    		Specifies which port to listen on for connections.
    		Pass 0 to let the system choose any free port for you.
    
    	--addr ip (default: all)
    		If multiple interfaces are present, specifies
    		which one to bind the listening port to.
    
    	--maxconn number (default: system maximum)
    		Specifies how many concurrent connections to accept.
    
    	--log filename (default: stdout)
    		Specifies which file to append the request log to.
    
    	--chroot (default: don't chroot)
    		Locks server into wwwroot directory for added security.
    
    	--daemon (default: don't daemonize)
    		Detach from the controlling terminal and run in the background.
    
    	--index filename (default: index.html)
    		Default file to serve when a directory is requested.
    
    	--no-listing
    		Do not serve listing if directory is requested.
    
    	--mimetypes filename (optional)
    		Parses specified file for extension-MIME associations.
    
    	--default-mimetype string (optional, default: application/octet-stream)
    		Files with unknown extensions are served as this mimetype.
    
    	--uid uid/uname, --gid gid/gname (default: don't privdrop)
    		Drops privileges to given uid:gid after initialization.
    
    	--pidfile filename (default: no pidfile)
    		Write PID to the specified file.  Note that if you are
    		using --chroot, then the pidfile must be relative to,
    		and inside the wwwroot.
    
    	--no-keepalive
    		Disables HTTP Keep-Alive functionality.
    
    	--forward host url (default: don't forward)
    		Web forward (301 redirect).
    		Requests to the host are redirected to the corresponding url.
    		The option may be specified multiple times, in which case
    		the host is matched in order of appearance.
    
    	--forward-all url (default: don't forward)
    		Web forward (301 redirect).
    		All requests are redirected to the corresponding url.
    
    	--no-server-id
    		Don't identify the server type in headers
    		or directory listings.
    
    	--ipv6
    		Listen on IPv6 address.
    

    serves you…

    for easy lamp install there is the xampp package from apachefriends…
    What is XAMPP?
    XAMPP is the most popular PHP development environment
    XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • @joekamprad I only want to install LAMP to start learn PHP :)

  • @joekamprad said in How can I install LAMP Stack?:

    xampp

    is the only aviable LAMP-tack for ArchLinux based systems install from webside or use the PKGBUILD from AUR:

    https://wiki.archlinux.org/index.php/XAMPP

    [updates once a week] = [90% less problems]
    [Li{u}n//u//{i}x] since 1988 - overcoming failure means success
    howto-install-antergos
    how to add system logs
    i3 GNOME

  • Spend one Night learning docker and you’ll have exactly what you want! (On any platform).

    I make things work…
    My humble wiki: https://anotherlinux.com/

Posts 6Views 154
Log in to reply