Posts

Showing posts from October, 2016

How to Use Find Command to Find Files

find is a linux command for recursively filtering objects in the file system based on simple conditions. It's pretty easy to use this command to search files and directories. Find files by name or extensions If you want to find all .html files on /var/www/ directory, just type the following command into the computer find /var/www/ -name "*.html" If you want to delete all the files founded by the previous command, please add -delete option to the end of the previous command. Please carefully use this option when you are certain that the results only match the files that you wish to delete. find /var/www/ -name "*.html" -delete Find files by modification time If you want to find files by modification time, just add -mtime option. Here is the command for you to find all the .php files in /var/www/ directory modified in 3 day. find /var/www -name "*.php" -mtime 3 Find files based on content If you need to search files based on the conte...

ONE-CLICK L2TP/IPSec VPN Installer

Today, I am sharing you a one-click l2tp vpn installer. It's pretty easy to install and use. Before you run the script, make sure that your VPS is not a OpenVZ VPS. This script has been installed on Vultr successfully. Step 1 Run the following commands one by one. wget --no-check-certificate https://raw.githubusercontent.com/teddysun/across/master/l2tp.sh chmod +x l2tp.sh ./l2tp.sh Step 2 Input the information needed according to the instruction the script given. For example, IP range, PSK, username and password. Several minutes later, your L2TP/IPsec VPN server is running. Step 3 If you want to add and delete users, here is a list of commands. l2tp -a : Add a user l2tp -d : Delete a user l2tp -m : Modifies all the passwords of existing users l2tp -l : List all the username and passwords l2tp - h : Help This script of one-click l2tp vpn is pretty straight forward, give it a try, and you will find it is a time saver.

Vultr Singapre Now is Online

Image
Vultr announced the 15th location - Singapore about a month ago.You can now provision and manage high performance cloud servers from the heart of this island nation, strategically positioned for low latency in the APAC region. This new location is as great as other 14 locations, here is a screenshot of benchmark of Singapore and Japan. Singapore Japan

Linode Accepts PayPal Payments

Linode now accepts Paypal payments, to start using PayPal just log into your Linode Manager and go to the Account -> Make a Payment tab. While any customer can use PayPal to fund their account, new customers will still need to sign up using a credit card. You can use PayPal from then on. PayPal has a “recurring payment” scheme for automatic payments, but Linode doesn't support it yet. Before you transferring funds from Paypal, you need to ensure that you have enough credit on your Linode account to cover your next invoice.Otherwise, Linode's billing system will attempt to collect any remaining balance from the credit card you have on file.