Server setup with Debian

      Tak ada komentar pada Server setup with Debian

How to setup Web, GIT and monitoring server with Debian Squieeze. This site, actually, was set up by following these instructions.

Installing Linux is not a complex task, you only need to follow instructions and have basic understanding of how computer software and hardware work. Of course, correct installation and maintaining of a Linux server is complex but nobody starts from administering a large datacenter – everyone starts from something smaller and here is an instruction on how to build a Debian web-server on your computer and not damage it.

If you are a software developer (like the most of my site readers), you may know that server side scripts are executed by the web server. Most famous of them is Apache, but many people nowadays consider nginx better and some even use node.js with its build-in server.

In this set of instructions I will show how to quickly install and configure Debian Linux server with PHP and node.js behind nginx. Experimenting with a real hard disk, especially with the hard disk of your primary computer, usually is a bad idea. I recommend using some virtualization software (VirtualBox, VMWare Player, or Virtual PC) to install the Debian Linux on the virtual machine.

Conceptual diagram of the services and applications:

Summary:

  • nginx, php-fpm, php and mysql are installed from the dotdeb.org repository
  • nginx listens the http(80) port and proxies requests to php-fpm and node.js.
  • node.js is installed from sources, applications listen the ports starting from 3001
  • one user per application (virtual host), own fpm pool and node.js instance for each application

Installation:

Basic

Servers

Infrastructure

Applications

Deployment

Other

DebianHelp

              Apache2 Installation

                Apache2 Installation with PHP5 support

                Installing Apache2 with PHP4 and PHP5 Support at the same time

                LAMP (Linux Apache Mysql PHP) Configuration and Installing ASP Support For Apache

Apache Web Server Web interface or GUI Tools

                Apache Webserver Security testing Using nikto 

                Apache Web server Useful Tips

                Running ASP.NET Applications in Debian using XSP and Mono

                Apache Webserver Performance tuning

                    Self-Signed Certificate using OpenSSL

                Authenticate Apache using PAM

                    Websites Counter Software

                    Creating Name and IP Based Virtual Hosts

                Configure Per-user web directories in Apache

                Lighttpd Webserver Installation in Debian

                Hosting Multiple Websites or Namebased,IPbased Virtual hosts in Lighttpd

                PHP and Fastcgi Configuration in Lighttpd

                Configuring SSL in Lighttpd and Limit Bandwidth Usage in Lighttpd

                Optimizing Performance in Lighttpd

                XAMPP Installation and Configuration

                HTAccess File Configuration  

                Htaccess file Webinterface or GUI Tools

                Apache and IIS webservers alternatives

                Apache benchmarking tool – ab

                    ServerTokens Directive, Security and Performance Configuration

                    Webalizer Configuration (Apache logfile Analysis)

                URL Rewriting Using mod_rewrite

                Mapping URLs to Local Filesystem in Apache

                Apache Upgrade from 1.3 to 2.0 in debian

                Apache Response codes or Error Codes  

                Using Mod_Auth_MySQL with Apache 2

                Loadbalanced High-Availability Apache Cluster Using Ultramonkey

                Apache Common Configuration Problems

                Apache Common Problems and Solutions 

                Enable custom error messages on the Apache web server 

                Apache2 Installation with PHP support 

                eAccelerator(increases performance of PHP scripts) configration in Debian

                Apache2 Authentication Against Active Directory   

                Awstats Configuration in Debian   

                Analog Configuration in Debian  

                Tighten security Using mod_security for Apache 2.x 

                Apache,Tomcat With mod_jk Installation and Configuration  

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *