User Tools

Site Tools


web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web [2021/04/15 01:56]
nanodano [Nginx]
web [2022/03/13 19:17] (current)
nanodano
Line 1: Line 1:
-====== Web Servers ======+====== Web ======
  
 +====== Servers ======
  
-===== One-line HTTP servers =====+  * [[web_servers:one_line_http_servers|One-line HTTP servers]] 
 +  * [[web_servers:apache|Apache httpd]] 
 +  * [[web_servers:nginx|Nginx]] 
 +  * [[web_servers:tomcat|TomCat]]
  
-See [[https://www.devdungeon.com/content/one-line-http-servers]]. 
  
-===== Apache2 httpd =====+===== Browsers =====
  
-Debian instructions:+  * Epiphany 
 +  * Links 
 +  * ELinks 
 +  * lynx 
 +  * Firefox 
 +  * Chromium
  
-<code bash> +===== Tools =====
-apt install apache2 php libapache2-mod-php php-pdo-sqlite+
  
-# Enable/disable modules (/etc/apache2/mods-avaialable/) +  * curl 
-a2enmod userdir +  * wget 
-a2dismod userdir+  * Filezilla 
 +  * ftp 
 +  * scp 
 +  * netstat
  
-# Enable/disable sites (/etc/apache2/sites-available/+===== Development =====
-a2ensite mysite +
-a2dissite mysite +
-</code>+
  
-The user is ''www-data'' and the default webroot is ''/var/www/html/'' (Debian). +  * HTML/CSS 
- +  * JavaScript 
-===== Nginx ===== +  * Create Firefox browser extension 
- +  * WebRTC 
-See [[https://www.devdungeon.com/content/nginx-tutorial]]. +  * PHP 
- +  * Python 
-<code bash> +  * Ruby 
-apt install nginx +  * Java
-</code> +
- +
-To add PHP, use PHP FPM +
- +
-<code bash> +
-apt install php-fpm +
-</code> +
- +
-Then in your vhost file, include the following snippet: +
- +
-<code> +
-  # In your nginx vhost server entry: +
-  index index.php; +
-  # Have all .php files pass through php-fpm +
-  location ~ \.php$ { +
-    include snippets/fastcgi-php.conf; +
-    # Find the right socket in /run/php/ +
-    fastcgi_pass unix:/run/php/php7.3-fpm.sock; +
-  +
-</code>+
web.1618451813.txt.gz · Last modified: 2021/04/15 01:56 by nanodano