Computers

All about computers

MySQL for Mac OS X

Get MySQL from dev.mysql.com Make alias for Terminal alias mysql=/usr/local/mysql/bin/mysql alias mysqladmin=/usr/local/mysql/bin/mysqladmin if you want to make the alias permanent, you need to create / edit a file call [.bash_profile] nano ~/.bash_profile and add the command to the file save and exit. reference Reset MySQL server root account password $ cd /usr/local/mysql/bin $ ./mysqladmin -u …

MySQL for Mac OS X Read More »

Synology + Composer

Turn on PHAR directive from DSM Control Panel shh into BusyBox cd to the project directory get composer from getcomposer.org curl -sS https://getcomposer.org/installer | php Enable Customize PHP open_basedir from DSM control panel and append the following path to it. :/root:/usr/bin Restart apache /usr/syno/etc/rc.d/S97apache-user.sh restart

Remote Desktop Enable

To enable remote desktop using command line reg add “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server” /v fDenyTSConnections /t REG_DWORD /d 0 /fTo disable remote desktop using command line reg add “HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server” /v fDenyTSConnections /t REG_DWORD /d 1 /f