Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
content:apache_phpfpm [2020/09/26 04:50] – [Manage Database with phpMyAdmin] Danielcontent:apache_phpfpm [2020/09/26 07:36] Daniel
Zeile 270: Zeile 270:
 This should give you the complete Info of your php-configuration. If something fails, check if the above services are started an/or the logfiles. This should give you the complete Info of your php-configuration. If something fails, check if the above services are started an/or the logfiles.
  
-In Production, you should not run a plain http-server, but switch to SSL. Therefore, you can get ssl-certificates from let's encrypt and follow the instructions there to switch to ssl. You need some internet Name like www.myname.com registered for your server to get this (e.g. via Dyndns). The process to make your server visible is something to be explained a bit more, but thats basically what you need to do (official internet-name/DNS- entry and ssl-encryption). as long as you don't want to make the server world-reachable and use it nly fr testing, your are also fine without DNS and SSL, but you should make sure, that your firewall blocks http(80) and https(443)-ports.+In Production, you should not run a plain http-server, but switch to SSL. Therefore, you can get ssl-certificates from let's encrypt and follow the instructions there to switch to ssl. You need some internet Name like [[http://www.myname.com|www.myname.com]] registered for your server to get this (e.g. via Dyndns). The process to make your server visible is something to be explained a bit more, but thats basically what you need to do (official internet-name/DNS- entry and ssl-encryption). as long as you don't want to make the server world-reachable and use it nly fr testing, your are also fine without DNS and SSL, but you should make sure, that your firewall blocks http(80) and https(443)-ports.
  
 Well: You are done. Now its up to you to fill Apache with content. Have fun! Well: You are done. Now its up to you to fill Apache with content. Have fun!
 +
  
 ==== Manage Database with phpMyAdmin ==== ==== Manage Database with phpMyAdmin ====
Zeile 281: Zeile 282:
  
  
-===== Mein erstes phpSoftwareprojekt =====+===== Installing Eclipse ===== 
 + 
 +Get Eclipse with PDT here: [[https://www.eclipse.org/pdt/|https://www.eclipse.org/pdt/]] 
 + 
 +You may download the file, extract the contents (e.g. to ~/eclipse) and run the installer there in userspace (no superuser is required). 
 + 
 + 
 +===== Filling Content to your Server ===== 
 + 
 +This is e demo to install some small Software to your Server. I will use the githubProject [[https://github.com/obel1x/ep3-bs.git|EP3-BS]] for testing. 
 + 
 + 
 +==== Install git-web ==== 
 + 
 +This is a nice tool, to view your git-repositorys. Install it, and create a directory named /srv/git and make it writeable to users. Restart your webserver. 
 + 
 +You should already be able to go to [[http://localhost/git/|http://localhost/git/]] and see an empty project- Directory. 
 + 
 +==== Download some Project ==== 
 + 
 +To get the git-project, open a terminal, change to /srv/git and execute "git clone https://github.com/obel1x/ep3-bs.git"
 + 
 +Than create the Apache configuration to point to that directory: 
 + 
 +<code> 
 + 
 +Alias /ep3 "/srv/git/ep3-bs/public/"\\ 
 +<Directory "/srv/git/ep3-bs/">\\ 
 +require local\\ 
 +Options FollowSymLinks\\ 
 +AllowOverride All\\ 
 +</Directory> 
 + 
 +</code> 
 + 
 +After that, follow the instructions in [[https://github.com/tkrebs/ep3-bs/blob/master/data/docs/install.txt|https://github.com/tkrebs/ep3-bs/blob/master/data/docs/install.txt]]. 
 + 
 +As Database you can create a new user (e.g. named ep3) with corresponid database and fill the configuration to fit. 
 + 
 +After that, your testinstallation should work already.
  
  
  • content/apache_phpfpm.txt
  • Zuletzt geändert: 2023/10/01 10:24
  • von Daniel