User:WikiSysop/TECH: Difference between revisions

Find traditional instrumental music
m (Protected "TECH" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
Line 11: Line 11:
<br>
<br>
Error message: Cannot get command line arguments, register_argc_argv is set to false (TODO: Investigate).<br>
Error message: Cannot get command line arguments, register_argc_argv is set to false (TODO: Investigate).<br>
php -n -f register_argc_argv=true
/usr/bin/php -n -d register_argc_argv=true
<br>
<br>
<br>
<br>

Revision as of 14:17, 14 August 2011

TUNEARCH PROCEDURES

MYSQLDUMP /usr/bin/mysqldump -u tunearch_user --password=AD41f018 --default-character-set=latin1 tunearch_wikidb -c | /bin/gzip -9 > ~/public_html/tunearchftp/TuneArch-$(date '+%Y%m%d').sql.gz

XMLDUMP /usr/bin/php -n -d register_argc_argv=true /home/tunearch/public_html/w/maintenance/dumpBackup.php --full | /bin/gzip -9 > ~/public_html/tunearchftp/TuneArch-$(date '+%Y%m%d').xml.gz

Error message: Cannot get command line arguments, register_argc_argv is set to false (TODO: Investigate).
/usr/bin/php -n -d register_argc_argv=true

scp tunearch@184.154.160.18:/home/tunearch/backup/TTA-20110430.xml.gz .
password: TI46;DSC;A

UPGRADE
tar xvzf mediawiki-1.17.0.tar.gz -C /path/to/your/wiki/ --strip-components=1

INDEXING
cronjob
/home/tunearch/opt/usr/bin/indexer --quiet --config /home/tunearch/opt/etc/sphinx/sphinx.conf --rotate > /dev/null 2>&1

manual indexing
/home/tunearch/opt/usr/bin/indexer --config /home/tunearch/opt/etc/sphinx/sphinx.conf --all

SEARCH DAEMON
start
/home/tunearch/opt/usr/bin/searchd --config /home/tunearch/opt/etc/sphinx/sphinx.conf

stop
/home/tunearch/opt/usr/bin/searchd --config /home/tunearch/opt/etc/sphinx/sphinx.conf --stop