සිංහ‍ල Keep it simple.. Sri Lanka Webvision Sri Lanka
clients
web design home
domain registration
web hosting
සිංහල
about
தமிழ்
blog
contact us
server
 

Archive for the ‘Ubuntu 16.04’ Category

How to download a website using wget Linux command

Wednesday, November 21st, 2018

Website codeThe wget utility is a powerful and effective mode that enables you to download web pages, files and images from the web using the Linux command line.

For this guide, we will learn how to download this free one page template – https://blackrockdigital.github.io/startbootstrap-coming-soon/.

So you open up the terminal on Linux.

It is worth creating your own folder on your machine using the mkdir command and then moving into the folder using the cd command.

For example, let’s make a folder named “onepage”:

mkdir onepage
cd onepage
wget https://blackrockdigital.github.io/startbootstrap-coming-soon/ 

The result is a single index.html file. On its own, this file is useless as the content, images and stylesheets are not included.

To download the full site and all the pages you can use the following command:

wget -r https://blackrockdigital.github.io/startbootstrap-coming-soon/

This downloads the pages recursively up to a maximum of 5 levels deep.

Five levels deep might not be enough to get everything from the site. You can use the -l switch to set the number of levels you wish to go to as follows:

wget -r -l10 https://blackrockdigital.github.io/startbootstrap-coming-soon/

If you want infinite recursion you can use the following:

wget -r -l inf https://blackrockdigital.github.io/startbootstrap-coming-soon/

You can also replace the inf with 0 which means the same thing.

There is still one more problem. You might get all the pages locally but all the links in the pages still point to their original place. It is therefore not possible to click locally between the links on the pages.

You can get around this problem by using the -k switch which converts all the links on the pages to point to their locally downloaded equivalent as follows:

wget -r -k https://blackrockdigital.github.io/startbootstrap-coming-soon/

If you want to get a complete mirror of a website you can simply use the following switch which takes away the necessity for using the -r -k and -l switches.

wget -m https://blackrockdigital.github.io/startbootstrap-coming-soon/

Therefore, if you have your own website you can make a complete backup using this one simple command.

Do remember though, not all websites will grant you permission to download all the pages.  If you are the legitimate owner, you can still get though by using the following switches to specify the username and password.

wget --user=yourusername --password=yourpassword

Beware, on a multi user system if somebody runs the ps command, they will be able to see your username and password.

The wget command has a huge number of options and switches. It is worth reading the manual page for wget by typing the following into your terminal window:

man wget

Enjoy!

Chrome Remote Desktop on Linux Ubuntu

Tuesday, September 19th, 2017

Chrome Remote DesktopGoogle provides a free and powerful tool, Chrome Remote Desktop (CRD), that lets you connect to and control your Windows, Linux, Mac or even Android device over the internet. The computer has to be running the Chrome browser, of course, and you also need a Gmail account to sign in and use this feature.

It’s quick to set up, it’s easy to use and provides a stable connection between remote computers. Okay, CRD has been out there for several years but it was just a few days ago that I installed it on Ubuntu 16.04 and was able to successfully access it effortlessly through a Windows machine and vice versa.

We’ve all been there before: we’re away from home and suddenly realize that we are in need of a particular file or document that’s on another computer. What’s more, the files aren’t on Dropbox or any other cloud storage. This would usually lead to a lot of frustration, but that’s where remote desktop applications come into play. TeamViewer is another popular application but, as you know, is only available for personal use – so, CRD works as a good alternative. This means, I can also use it to assist our clients using non-Linux machines.

If you are having issues installing CRD on Ubuntu, just drop us a line and we would be happy to assist.

Older versions of Skype being phased out

Tuesday, June 6th, 2017

Skype for LinuxTo those of you have been using older versions of Skype for Linux, please be aware that after Ju‍ly 1, 20‍17, you will no longer be able to sign in to these versions!

Before this happens, it would be best for users on the Linux OS to download the beta version of Skype for Linux 5.0. It’s available in both DEB and RPM package formats for a variety of Linux distribution. The DEB package has been tested on Ubuntu 16.04, Ubuntu Gnome 16.04, and Debian 8.5. The RPM package has been tested on Fedora 23, OpenSuse KDE 13.2, and OpenSuse Leap 42.1 KDE.

It’s currently only a 64-bit package, and 32-bit Linux distributions aren’t supported.

Skype has now reached over 300 million users around the world! It’s comforting that Microsoft has taken into account the importance of the Linux desktop.  Ubuntu remains the main player in this field, with 80% share in the Linux desktop market.

According to Skype, they have added the following in addition to performance improvements and bug fixes:

  • Calling updates: Calls to mobiles and landlines with Skype credit, one-to-one video calls can be made from Linux to Skype users on the latest versions of Skype for Android, iOS, Windows, and Mac.
  • Better collaboration: Linux users can now view shared screens from other Skype desktop clients (Windows 7.33 and above, Mac 7.46 and above).
  • Usability improvements: Unity launcher now shows the number of unread conversations, online contacts in contact list now include Away and Do Not Disturb statuses.

You can download Skype for Linux Beta version 5.0 by visiting skype.com/download.


© 2002-2019 Webvision (Private) Limited | home | sitemap | about | faq | web design | web hosting | domain registration | blog | clients | contact