linux:lampp

This is an old revision of the document!


LAMPP local server

Multiple users

Create a gitusers group, join the required users to the group and give ownership of htdocs folder to the group

$groupadd gitusers
$usermod -a -G gitusers USER
$cd /opt/lampp
$chown root.gitusers htdocs
$chmod 755 htdocs

Single users

Just give ownership of the htdocs folder to desired user

$cd /opt/lampp
$chown mh.mh htdocs

Inside /opt/lampp/htdocs

$git clone ssh:address/to/repository

Access the module with the url : localhost/repository

  • linux/lampp.1539036760.txt.gz
  • Last modified: 2020/06/01 16:35
  • (external edit)