- Dir:
/var/www/my-website.com/
- User:
john
- Web server group:
www-data
Set folder permissions for laravel project:
<?php | |
App::uses('Model', 'Model'); | |
class AppModel extends Model | |
{ | |
/** | |
* Connects to specified database | |
* | |
* @param String name of different database to connect with. | |
* @param String name of existing datasource |
#!/bin/bash | |
# declare the following variables: SRC, DEST, LIST_FILE | |
# cmd: copy_file_list.sh "subdir" | |
SRC=/d/path/to/A | |
DEST=/d/path/to/B | |
# (subdir) | |
DEST_PARENT=$1 |
curl
curl
:sudo apt install libssh2-1-dev libssl-dev
cd curl/
./configure --with-ssl --with-libssh2
make
sudo make install