Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## installer packages ##
- apt-get install apache2 ssh
- fichiers conf: /etc/apache2/mods-available/nom_du_module.conf
- enable module: a2enmod nom_du_module
- ## virtual host ##
- add in /etc/hosts your ip + a name (reboot ou reload mais je sais plus comment)
- add a file in /etc/apache2/site-available/ (copy on default)
- change DocumentRoot by /usr/share/phpmyadmin/ to allow access to phpmyadmin from your vh
- if you have any problem, change Listen in /etc/apache2/ports.conf:
- Listen 80 buy Listen your_ip:80 + NameVirtualblabla *:80 by your_ip:80
- in your virtualHost file add NameServer sub_domain.your_name_in_hosts
- you have to add your virtualhost domain too in hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement