Use this command in terminal:
scp -r /Applications/MAMP/htdocs/aurelie.no/wp-includes/ daniel@mappen.no:/var/www/dev.aurelie.no/
Then it’ll prompt for the password.
Use this command in terminal:
scp -r /Applications/MAMP/htdocs/aurelie.no/wp-includes/ daniel@mappen.no:/var/www/dev.aurelie.no/
Then it’ll prompt for the password.
you’ll need to do so via the Terminal command line using the following:
open -n -a "APPLICATION NAME"
This command tells the system to open a new instance (the “-n” flag) of an application (the “-a” flag) that is the given name in quotes.
1. Login with ssh
2. Then use this command:
crontab -e
3. Press “a” to enter edit mode
4. Make any necessary changes*
5. Press ESC then write -wq to save and exit
* Necessary changes:
For example, use this
5 * * * * curl http://google.com
to execute the curl every 5 minutes
Also, on top of the cron file, you can have the email notification like this line:
MAILTO=daniel.oraca@gmail.com
and this will send email notifications each time the cron job gets executed
1. Login with ssh
2. Then use this command:
vi /etc/php.ini
3. Press “a” to enter edit mode
4. Make any necessary changes
5. Press ESC then write -wq to save and exit