1. Su

2. Zypper install apache2

3. Typ y

4. Systemctl start apache2.service

5. Cd /srv/www/

6. Ls

7. Mkdir vhosts

8. Cd vhosts/

9. Ls

10. Mkdir (naam map)

11. Mkdir (naam 2e map. als dit niet hoeft kan je het overslaan)

12. Vi (naam map)/index.html

13. Type your text

14. :wq!

15. Vi (naam map)/index.html

16. Type your text

17. :wq!

18. Ls (Check)

19. Tree (Check)

20. Cd /etc/apache2/vhosts.d/

21. Ls (check)

22. Cp vhosts.template (naam map).conf

23. Cp vhosts.template (naam map).conf

24. Ls (check)

25. Vi (naam map).conf

26. % s/dummy-host.example.com/(naam map).test/g

27. :wq!

28. Vi se3b.conf

29. % s/dummy-host.example.com/(naam map).test/g

30. Systemctl restart apache2.service

31. Ip a

32. Vi /etc/hosts

33. Type your IP address under Localhost 192.168.176.131 se3a.test

34. 192.168.176.131 se3b.test

35. :wq!

36. Systemctl restart apache2.service

37. Systemctl stop firewalld.service

38. Open your browser on your Linux

39. Type (website naam)

40. Type (website naam) 

 

 

Promotie-aanbieding

Grijp je kans om te besparen terwijl je geniet van de kwaliteit en service waar je van houdt. Houd deze pagina in de gaten voor de nieuwste updates en profiteer van deze geweldige aanbiedingen zolang de voorraad strekt!

Maak jouw eigen website met JouwWeb