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 | |
cd /var/www/typo | |
if [[ ! -e /tmp/typo3ramdisk ]]; then | |
sudo mkdir /tmp/typo3ramdisk | |
sudo mount /tmp/typo3ramdisk | |
sudo chmod 700 /tmp/typo3ramdisk | |
sudo chown mysql:mysql /tmp/typo3ramdisk | |
sudo mysqld_safe --port=3307 --socket="/var/run/mysqld/mysqld-testing.sock" --user mysql --pid-file="/var/run/mysqld/mysqld-testing.pid" --datadir="/tmp/typo3ramdisk" --skip-grant-tables & |
NewerOlder