805 |
x use 'postgres' |
x use 'postgres' |
806 |
x use 'mnogosearch' |
x use 'mnogosearch' |
807 |
x apt-get install postgresql |
x apt-get install postgresql |
808 |
|
x use 'Enter default encoding (SQL_ASCII):' |
809 |
|
Success. You can now start the database server using: |
810 |
|
|
811 |
|
/usr/lib/postgresql/bin/postmaster -D /var/lib/postgres/data |
812 |
|
or |
813 |
|
/usr/lib/postgresql/bin/pg_ctl -D /var/lib/postgres/data -l logfile start |
814 |
|
|
815 |
|
PostgreSQL database now installed. |
816 |
|
Use /usr/bin/createdb to create a specific database and |
817 |
|
/usr/bin/createuser to enable other users to connect to a |
818 |
|
PostgreSQL database. |
819 |
|
|
820 |
|
In the first instance, these commands must be run by the |
821 |
|
user 'postgres'. |
822 |
|
|
823 |
|
Restarting PostgreSQL database: postmaster |
824 |
|
No /usr/lib/postgresql/bin/postmaster found running; none killed. |
825 |
|
Starting PostgreSQL postmaster. |
826 |
|
postmaster successfully started |
827 |
|
. |
828 |
|
Enabling the PL procedural language in all PostgreSQL databases... |
829 |
|
plpgsql added to template1 |
830 |
|
x apt-get install postgresql-dev |
831 |
|
e apt-get install libpostgresql |
832 |
|
e apt-get install libpgtcl |
833 |
|
x apt-get install mnogosearch-pgsql mnogosearch-pgsql-dev |
834 |
|
x dpkg-reconfigure mnogosearch-common |
835 |
|
x su postgres |
836 |
|
x /usr/lib/postgresql/bin/createuser mnogosearch |
837 |
|
x /usr/lib/postgresql/bin/createdb mnogosearch |
838 |
|
|
839 |
|
x changed to "mysql" in /etc/mnogosearch/indexer.conf and |
840 |
|
e deployed schemas at /usr/share/doc/mnogosearch-common/create/mysql/ |
841 |
|
x mysql -e "insert into user (host, user, password) values ('localhost', 'mnogosearch', password('mno123'));" mysql |
842 |
|
c mysql -e "insert into user (host, user, password) values ('%', 'mnogosearch', password('mno123'));" mysql |
843 |
|
x mysql -e "insert into db values ('localhost', 'mnogosearch', 'mnogosearch', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');" mysql |
844 |
|
x mysql -e "create database mnogosearch;" |
845 |
|
x cd /usr/share/doc/mnogosearch-common/create/mysql/ |
846 |
|
x mysql mnogosearch < categories.txt |
847 |
|
x mysql mnogosearch < crc-multi.txt |
848 |
|
x deployed schemas at /usr/share/doc/mnogosearch-common/create/pgsql/ |
849 |
|
x psql -U mnogosearch mnogosearch < create.txt |
850 |
|
x ... |
851 |
|
x added to /data/www/virtual/netfrag/conf/applications.conf |
852 |
|
php_value include_path /usr/share/mnogosearch-php:/etc/mnogosearch-php |
853 |
|
Alias /search/ /var/www/search.php |
854 |
|
x apt-get install php4-pgsql |
855 |
|
|
856 |
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done) |
857 |
|
|