Saturday, October 3, 2015

Upload server backup directly to dropbox

Hi friends,
Drop-box provides an elegant way to upload, download and view filed.  It is a good choice for storing personal files with the advantage of sharing public links. Today, lets take a peep into dropbox PHP api and see how it can be auomate the task of creating online backups in no time.
1. To get started, you need to create a dropbox app by loging into your dropbox account at https://www.dropbox.com/developers/apps
2. Once done with app creation, download the SDK. I am using PHP SDK available at https://www.dropbox.com/developers/core/sdks/php
As mentioned in the above guide, create a .json file containing the app credentials. After first authentication, your app will get access to all the dropbox files.
3. To list all files, use the below PHP CLi command:

Network unreachable in virtualbox centOS host

When ethX is not listed upon running : ifconfig
check that the HWADDR listed in
/etc/udev/rules.d/70-persistent-net.rules
and
/etc/sysconfig/network-scripts/ifcfg-ethx
are same or the interface will be ignored and not brought up.
Now that is is listed and not communicating.
still stuck here…

connecting local xampp server to internet using dynamic dns

1. Create account on no-ip.org ( or similar websites).
2. Install xampp server (from http://www.apachefriends.org/en/xampp-windows.html) and install wordpress in it.
3. Install no-ip daemon to automatically monitor IP address change (from http://www.noip.com/download) and sign into your account you created in step 1.
Accessed vishwakarma09.no-ip.org and vishwakarma09.no-ip.biz!
Security: Set password for xampp directory and change mysql root password from (http://localhost/security/xamppsecurity.php).