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

Archive for the ‘Linux’ 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.

Meet up with RedHat’s Arun Eapen

Friday, December 11th, 2015
Arun Eapen

Arun Eapen

Here’s a good opportunity for Sri Lankan RedHat enthusiasts to meet up with the Linux expert, Arun Eapen CISSP, RHCA, RHCSS, RHCDS, RHCVA, the Technical Delivery Manager & Certification Poobah at RedHat, India.

With more than 18 years of industry experience, Arun is the first in the SAARC region to be certified as a Red Hat Certified Architect, Red Hat Certified Security Specialist, Red Hat Certified Datacenter Specialist and Red Hat Certified Virtualization Administrator.

Where:  PACE Institute, Pannipitiya
When:  Saturday, December 19, 2015 from 9.15 am to 11.45
Entrance: Complimentary seats can be reserved.

For more details, contact the PACE Institute.

Installing Red Hat on Ubuntu

Sunday, August 23rd, 2015

Red Hat LinuxYes, you can install Red Hat Enterprise Linux (RHEL) on Ubuntu using a VM such as VirtualBox. So where do we start?

First let’s get VirtualBox installed on Ubuntu.  This is really easy.  Just click on the Ubuntu Software Center and search for VirtualBox.  Once it’s found, just click install and all the needed files get downloaded and installed without a hassle.

Okay, now that you have VirtualBox, you need to download the iso file for Red Hat.  Now depending on you PC, you need to download either the 32 bit or 64 bit version.  This is important, because even if you have a 64 bit version of Ubuntu, you would need to check your system.  Note, VirtualBox will not allow a 64 bit version to be installed on 32 bit system so be doubly sure before you download.

Assuming your downloading a 32 bit version of RHEL 6.4, the file size would be around 3 GB.  If you are using Firefox, then I would recommend installing the “DownThemAll!” extension for a smooth download.  So a 32bit iso file would look like this:
rhel-server-6.4-i386-dvd.iso
and a 64 bit like this:
rhel-server-6.4-x86_64-dvd.iso

So how long would this take?  That would depend on your network of course.  In my case, it took around 2 hours on a 4G wireless broadband.  Not bad at all!

Right!  Now we have VirtualBox installed and we have the iso file. Now all you need is to install it.  So fire up VirtualBox and go install.  To make the process smooth, just follow the step by step instructions on the following video:

Once done, you can start using Red Hat.  Well done and welcome to the world of RHEL!

Why I stayed with Ubuntu

Wednesday, May 13th, 2015

It’s more than 3 years now and the experience with Linux’s desktop operating system, Ubuntu has been really good. It hasn’t been rosy all the time but when you have an amazing community of followers, there’s valuable help all the time.

It’s open-source and free, it’s safe, it’s simple and it’s fast. No more malware and viruses that used to haunt the Windows machines.

Some of the pre-installed software include LibreOffice for word processing, spreadsheets, databases and presentations. Then there’s Thunderbird for emails and Firefox for browsing. I moved into 14.04 recently and the first change that I noticed is that the OS had picked up my wireless card automatically! It’s done the same with the printer and Android phone – no notice, no noise, just ready to use! I have also installed BlueGriffon, a cool open-source, WYSIWYG, HTML editor that creates web pages in conformance to the latest web standards.

Check out this Ubuntu tour and be amazed:

http://www.ubuntu.com/tour/en/

Server move announcement

Wednesday, July 2nd, 2014

As of late, we have been dealing with resource heavy applications and this has had an impact on the performance of our server.  As a result, we are now in the process of moving all our sites to a more powerful platform.  Here, we would get more access to RAM and CPU power that is vital to keeping our sites running optimally when they’re under load.

We hope to have all sites moved to the new server by mid July. In most situations, you shouldn’t even notice an interruption of service.

The biggest change will be the IP address, which is changing to a new one. DNS changes will need to occur for your site to continue to be available on the internet.

Here at Webvision, you can continue to enjoy a secure, affordable, and fully scalable pool of resources with over 12 years of web development and hosting knowledge.

We thank you for your business and are striving to make this move as seamless as possible.

Webvision turns ten

Wednesday, May 23rd, 2012

Webvision Sri Lanka 10 years in web design and developmentThis month, Webvision turns ten years old. Ten years ago, I vividly remember working on a project using an assembled AMD PC. That too, from my bedroom!

Ten years later and almost everything has changed. We spend more time doing work on Linux rather than on Windows. We have more satisfied clients from all parts of Sri Lanka and overseas and we have moved into a spacious office that overlooks a tea plantation. We have also shifted our focus from static web design to dynamic, database driven content management systems.

So what has not changed? It’s Ella! The place in which we started our business in the hills of Sri Lanka. Many have asked us how we operate from here and reach out to the rest of the world? Let’s face it, we are doing business on the Internet and that makes the world a very very small place.

We thank God for his guidance throughout these ten years. Thank you to our faithful customers – thank you for doing business with Webvision. Thank you for your patience and understanding and thank you for your referrals. We are truly grateful!

(more…)

CeylonLinux gives out free CDs

Monday, August 15th, 2011

I have been using Linux for some time now and am very satisfied! Although upgrades of Ubuntu is possible online, it really helps when one has his/her own CD. It was refreshing when I heard recently that CeylonLinux was offering the Ubuntu CD free. So now you don’t have to wait for weeks till the CD arrives from overseas nor spend hours online until the OS upgrades. Just visit the CeylonLinux website and the guys there are really helpful!

So why did I make that huge step from Windows to Linux?

Firstly, it’s the assurance of being open-source and free. Secondly, I have the consolation that I am using original software and not those 150 rupee pirates.

If you ask me how the process has been, I would confidently say great, really great. Initially, it takes some time to get the hang of it but at the end of the day, it’s very fruitful. The OS loads in a flash and so do the programs.  Gone are the days that I had to stare at the monitor till the programs finally loaded. I mean loading, loading…

The Ubuntu 11.04 interface also looks nice, very nice!


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