This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# if compiled from sources | |
# place this file inside /usr/local/etc/rc.d | |
# point _pidfrefix where nginx holds pid file | |
. /etc/rc.subr | |
name="nginx" | |
rcvar=nginx_enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# freebsd-10 | |
# php55, postgresql92-client | |
# search and install postgresql92-server | |
root# pkg search postgre | |
root# pkg install ... | |
root# passwd pgsql // set password | |
root# su pgsql | |
root# vi /usr/local/pgsql/data/postgresql.conf // listen_addresses='*' for remote connection (dev mode) | |
pgsql# initdb -D /usr/local/pgsql/data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Калькулятор доставки</title> | |
</head> | |
<body> | |
<form action="/" method="get"> | |
<?php |