= Installing Tewi HTTPd This page describes how to install Tewi HTTPd. == Unix-like, and Haiku Currently, following platforms are checked to be working with this way: 1. NetBSD 2. Linux === Compiling the code 1. Checkout the [http://svn.nishi.boats/repo/tewi Subversion repository], or from [TewiMirrors mirrors]. 2. Copy `config.h.tmpl` to `config.h`. 3. Edit `config.h` if you want to, or need to. 4. Run `make PLATFORM= PREFIX=`. Replace `` with your platform name, but lower-case, `` with the prefix. 5. Run `make install PREFIX=` with root. == Windows Currently, following versions are checked to be working: 1. Windows 2000 2. Windows XP 3. Windows Vista === Using the installer 1. Get the installer from [http://f.nishi.boats/f/g/tewi Nishi CDN], [https://jenkins.nishi.boats/job/tewi Jenkins], or [https://github.com/pnsk-lab/tewi/releases GitHub releases]. 2. Run it. === Compiling the code (installer) 1. Checkout the [http://svn.nishi.boats/repo/tewi Subversion repository], or from [TewiMirrors mirrors]. 2. Copy `config.h.tmpl` to `config.h`. 3. Edit `config.h` if you want to, or need to. 4. Run `./installer.sh win32` for 32-bit, `./installer.sh win64` for 64-bit. NSIS is required. === Compiling the code (bare) 1. Checkout the [http://svn.nishi.boats/repo/tewi Subversion repository], or from [TewiMirrors mirrors]. 2. Copy `config.h.tmpl` to `config.h`. 3. Edit `config.h` if you want to, or need to. 4. Run `make PLATFORM=win32` for 32-bit, and `make PLATFORM=win64` for 64-bit. Use `win32-service` or `win64-service` for `PLATFORM` to create a service executable.