[SOLVED] Apache2 Installation
[SOLVED] Apache2 Installation
Good morning Crew, I have installed Apache2 from the repository only to discover not only is it installed in the File System but also the local web sites are located in File System/Var/www/as well. I try and keep my operating system separate and would rather install working files such as www/ in the Home folder/partition. How can I overcome this? Thank you.
Last edited by Seagasm on Sat Jun 29, 2019 12:43 am, edited 1 time in total.
MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.
Re: Apache2 Installation
Install it using Package Installer might do it.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: Apache2 Installation
Hi Jerry, no, that is what I did, twice.
MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.
- Mishimainizu
- Posts: 30
- Joined: Sat Apr 20, 2019 2:11 am
Re: Apache2 Installation
If it's the same as the Windows version, you should be able to change the www folder location in the configuration file.Seagasm wrote: Thu Jun 27, 2019 7:28 pm ...but also the local web sites are located in File System/Var/www/as well. I try and keep my operating system separate and would rather install working files such as www/ in the Home folder/partition. How can I overcome this? Thank you.
Last edited by Mishimainizu on Fri Jun 28, 2019 1:44 am, edited 1 time in total.
Re: Apache2 Installation
If this will be a dedicated webserver, rather than just an experiment with apache on your own desktop/laptop PC, you may be interested in my Bare Server Edition respin:
viewtopic.php?f=100&t=51060
viewtopic.php?f=100&t=51060
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.
Re: Apache2 Installation
Thank you for your reply Mishimainizu, I have been wondering about that, I cannot do any harm as long as I do a Backup.Mishimainizu wrote: Fri Jun 28, 2019 12:40 amIf it's the same as the Windows version, you should be able to change the www folder location in the configuration file.Seagasm wrote: Thu Jun 27, 2019 7:28 pm ...but also the local web sites are located in File System/Var/www/as well. I try and keep my operating system separate and would rather install working files such as www/ in the Home folder/partition. How can I overcome this? Thank you.
MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.
Re: [SOLVED] Apache2 Installation
Ok, I relocated the websites into the home folder, then changed the config files in apache2 folder to redirect to the sites in the respective home folder instead of File System/var/www/. All good so thank you all. 

MX-21.2.1 default user, Toshiba Qosmio F60 model laptop, Boot 5.10.0-19 BTRFS amd-64 Sysytem.