Installing Wordpress on Redbrick: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Added a unix command to automatically update the WP files)
No edit summary
Line 54: Line 54:
  wp-admin/setup-config.php
  wp-admin/setup-config.php


You can use this command on Redbrick to automatically modify the files but replace file1, file2, etc. with the files from the list above.
You can use this command on Redbrick to automatically modify the files. Run it from the directory that you have unzipped the Wordpress distribution to.
 
  perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' file1 file2 file3
  find . -name "*.php" -exec perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' {} \;


Once you've correctly modified the files, you can follow the instructions included with Wordpress to finish the installation.
Once you've correctly modified the files, you can follow the instructions included with Wordpress to finish the installation.
6

edits

Navigation menu