Created
November 13, 2009 05:41
-
-
Save oliyoung/233626 to your computer and use it in GitHub Desktop.
installing LAMP stack with subversion, xdebug and phpUndeControl
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/bash | |
# belongs in /etc/init.d/cruisecontrol | |
PIDFILE=/opt/cruisecontrol/cc.pid | |
start() { | |
ebegin "Starting CruiseControl" | |
cd /opt/cruisecontrol/ | |
./cruisecontrol.sh > /dev/null 2>&1 | |
eend $? | |
} | |
stop() { | |
ebegin "Stopping CruiseControl" | |
start-stop-daemon --stop --quiet --pidfile $PIDFILE | |
rm -f $PIDFILE | |
eend $? | |
} | |
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
aptitude install apache2 php5 php5-gd mysql-server php5-mysql / | |
apache2-dev php5-dev php-pear make / | |
subversion subversion-tools sun-java6-jre sun-java6-jdk | |
pear channel-discover pear.phpunit.de | |
pear install --alldeps phpunit/PHPUnit | |
pear install --alldeps PHP_CodeSniffer | |
pear install --alldeps phpunit/phpUnderControl | |
pecl install --alldeps xdebug | |
pear channel-discover components.ez.no | |
pear install --alldeps channel://components.ez.no/Graph | |
pear install --alldeps channel://pear.phpunit.de/phpUnderControl-0.4.7 |
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
extension=xdebug.so | |
zend_extension=/usr/lib/php5/20060613+lfs/xdebug.so | |
[debug] | |
xdebug.remote_autostart=off | |
xdebug.remote_enable=on | |
xdebug.remote_handler=dbgp | |
xdebug.remote_mode=req | |
xdebug.remote_host=localhost | |
xdebug.remote_port=9000 | |
xdebug.auto_trace=off | |
xdebug.collect_includes=on | |
xdebug.collect_params=off | |
xdebug.collect_return=off | |
xdebug.default_enable=on | |
xdebug.extended_info=1 | |
xdebug.manual_url=http://www.php.net | |
xdebug.show_local_vars=0 | |
xdebug.show_mem_delta=0 | |
xdebug.max_nesting_level=100 | |
;xdebug.idekey= | |
xdebug.trace_format=0 | |
xdebug.trace_output_dir=/tmp | |
xdebug.trace_options=0 | |
xdebug.trace_output_name=crc32 | |
xdebug.profiler_append=0 | |
xdebug.profiler_enable=0 | |
xdebug.profiler_enable_trigger=0 | |
xdebug.profiler_output_dir=/tmp | |
xdebug.profiler_output_name=crc32 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment