Linux.com

Community Blogs



RSync Command to Backup and Synchronize Files in Linux

RSync or Remote Sync is the Linux command usually used for backup of files/directories and synchronizing them locally or remotely in an efficient way. One of the reasons of why RSync is preferred over all other alternatives is the speed of operation, RSync copies the chunk of data to other location at a significantly faster rate. This is because, whenever Rsync is executed for the very first occasion, it transfers all the data from source to the destination. On the next turn, it would just copy the files/directories whose contents are changed.

    Another plus point of using this utility is, as it makes use of SSH protocol to encrypt the data to be replicated, so it is much more secure and trustworthy. One more advantage of using Rsync is, as it performs compression of the data at source end and decompresses it at the destination, the bandwidth used during the sync operation will be considerably less. Also, the file permissions, their user/group information and the timestamps is/can be preserved.

Syntax:

rsync [OPTIONS] SOURCE DESTINATION

Important Options:
-v : indicates Verbose mode which provides detailed information.
-r : indicates Recursive operation, timestamps and file permissions are not preserved
-a : indicates Archive mode,timestamps and file permissions are preserved
-z : indicates Compression, it compresses the data before it is transferred to destination.
-h : indicates Human Readable output format.

Read More at YourOwnLinux.

 

How To : Install/Upgrade to Linux Kernel 3.14.5 in Ubuntu/Linux Mint Systems

   "The Linux Kernel 3.14.5 is now available for the users and all the users of 3.14 kernel series must upgrade", announced Greg Kroah-Hartman.This Linux Kernel version comes with plenty of fixes and improvements. This article will guide you to install or upgrade to Linux Kernel 3.14.5 in your Ubuntu or Linux Mint system.

Fixes

  • net-gro: reset skb->truesize in napi_reuse_skb()
  • ipv4: initialise the itag variable in __mkroute_input
  • ipv6: gro: fix CHECKSUM_COMPLETE support
  • ip_tunnel: Initialize the fallback device properly
  • batman-adv: fix local TT check for outgoing arp requests in DAT
  • batman-adv: increase orig refcount when storing ref in gw_node
  • batman-adv: fix reference counting imbalance while sending fragment
  • batman-adv: fix indirect hard_iface NULL dereference
  • net: gro: make sure skb->cb[] initial content has not to be zero
  • bonding: fix out of range parameters for bond_intmax_tbl
  • net: phy: Don't call phy_resume if phy_init_hw failed
  • rtnetlink: wait for unregistering devices in rtnl_link_unregister()
  • ipv6: fix calculation of option len in ip6_append_data
  • net: avoid dependency of net_get_random_once on nop patching and many more.

Read More at YourOwnLinux

 

How To : Install NVIDIA 337.25 (Stable) Graphics Drivers in Ubuntu/Linux Mint Systems

  The latest version of Nvidia Graphics driver for Linux which is Nvidia 337.25 has been released and is available for download. It comes with plenty of fixes and changes. This article will guide you to install Nvidia 337.25 in Ubuntu and Linux Mint systems.

Fixes

  • Added support for the following GPUs:
      GeForce GTX TITAN Z GeForce GT 740 GeForce 830M GeForce 840M GeForce 845M GeForce GTX 850M
  • Fixed a bug that caused X to crash when querying clock offsets for non-existent performance levels.
  • Fixed a performance regression when running KDE with desktop effects using the OpenGL compositing backend.
  • Fixed a bug that caused duplicate entries to appear in some dropdown menus in the "Application Profiles" page of nvidia-settings.
  • Fixed a regression that could cause OpenGL rendering corruption on X screens with 30 bit per pixel color.
  • Fixed a bug causing mode validation to fail for 4K resolutions over HDMI in certain situations.
  • Added nvidia-settings command line controls for over- and under-clocking attributes.  Please see the nvidia-settings(1) manual page for more details.
  • Fixed several cosmetic issues in the clock control user interface of nvidia-settings.
  • Added support for the GLX_EXT_stereo_tree extension.  For more details, see the extension specification:http://www.opengl.org/registry/specs/EXT/glx_stereo_tree.txt
  • Enabled support for using Unified Back Buffer (UBB) and 3D Stereo with the composite extension on Quadro cards.  Using stereo with a composite manager requires a stereo-aware composite manager.  Otherwise, only the left eye of stereo applications will be displayed.  See the GLX_EXT_stereo_tree extension specification for more details.

More details in the Release Notes.

Read more at YourOwnLinux.

 

Giayee $49 P105 Quard-Core ARM Ubuntu/Android Mini PC--a more powerful alternative to Raspberry Pi

There is no denying the fact that Raspberry Pi has helped raise awareness of the possibilities for not only small but also inexpensive computers. But it's not powerful enough to do some CPU-heavy work, while faster options are emerging for users attracted to such board-like devices.
Giayee P105 Quard-Core ARM Ubuntu/Android Mini PC is just a powerful alternative.

Giayee P105 is based on a Quad core 1.6GHz Rockchip RK3188 SoC with integrated GPU (quad Mali-400), enabling the device to run as a server (email, file, web) and also as a media center. Although Raspberry Pi can do these things also but Giayee P103C is faster. Besides, Giayee P103C can support high-end features such as 1080P video.

Compared with Raspberry Pi's one HDMI port, Giayee P103C supports VGA port, with 16 or 32bpp color depth, can be set up to 1920x1080 definition. The Giayee P105's three USB ports also gives it a bit more breathing room, relative to the one on BeagleBone Black.

There are two configurations depending on which CPU ,how much RAM and on-board flash storage you want. The less expensive Giayee P105 goes for $49 and has Rockchip RK3168 Dual core ARM Cortex A9 1.2GHz CPU, 1GB of RAM, 8GB of flash.By comparation the BeagleBone Black revision C has a single core ARM with 1GB of RAM and 4GB of flash and is offered at $55.

Giayee P105 will blow your doors off with high-performance specs, but it will not blow all the cash in your wallet. If you want a small low-powered, low-cost but powerful machine Giayee P105 might be just what you are looking for. Even if you are happy with your current device, this would make a great gift or perhaps a great backup device.

 

Legal Issues Related To Cloud Hosting

In South Africa, President Zuma recently signed a Privacy Protection Act into law. Various countries have similar laws in place.

Section 11 of said Act makes it a criminal offence to divulge/make known any personal details, contact information, etc., by any person to a third party. It seems a bit drastic but service providers, retailers, even banks have been selling contact details without consent.

This leaves one in a position where you may end up with a criminal record if you have been using cloud services to synchronize contacts, calendars, tasks, etc., via services such as Google and it gets leaked from there. The recent 145 million exposed accounts at eBay comes to mind.

In a criminal court, the state prosecutor may argue that the "reasonable man" should have foreseen such leaks, based upon the history of successful hacking attempts. It could be argued that the user should have refrained from using cloud services.


The sad thing is that, especially for Linux users, there currently is no local sync alternative, except for those who have the resources to run a server with something like ownCloud. Most users simply have no options as device manufacturers are adamant about pushing everything through the cloud.


I stand corrected on this, but I am almost 100% sure that a legal advisor from New Zealand or Australia voiced a similar concern. It is my hope that someone really develops a user-friendly (read: newbie) solution that can be easily installed and configured, at least for Android devices as this is used by the majority.

 

How To : Install Webmin 1.690 - A Web Based Utility for System Administration in Ubuntu/Linux Mint

Webmin, an open-source tool written in Perl, is a web-based interface used for Linux system administration purposes. Webmin helps the users in user accounts management, disk quota management and file configurations. Not only this, with Webmin, ont can easily manage services like Apache server, MySQL, PHP and file sharing, to name a few. Being a web-based application, it uses TCP port 10000for handling the communication part through a web browser.

    This article will guide you to install the latest version on the said application - Webmin 1.690 in your Ubuntu/Linux Mint Systems (or Debian based systems I should say). Before that, make sure that you have installed LAMP server in your system. If you do not know how to do that, please refer to our article: LAMP Server- Installation and Configuration in Linux.

Fixes in This Version

  • Several security fixes for XSS attacks in popup windows.
  • Added the Fail2Ban module, for blocking the IP addresses of systems that have many failed logins.
  • More German translation updates thanks to Raymond Vetter, Catalan from Jaume Badiella and Norwegian updates from Stein-Aksel Basma.
  • Fixed handling of the url_rewrite_children directive in the Squid module to support all the process count options.
  • Improved Ubuntu 14.04 support.

Read more on YourOwnLinux

 

How To : Install Dropbox 2.8.2 in Ubuntu/Linux Mint

    When you wish to send images/photos or files to your friend who is residing far away from your location, you would prefer to send them by attaching those files to an email. But, there is a limitation to the maximum size of files those can be attached to an email, which generally is a few MBs. So, when it comes to sharing a large chunk of data, say an entire movie of 1.5GB, you would not be allowed to send it as an email attachment. So, the remedy is 'DropBox'. Just store the data you wish to share with your friends in the Dropbox and you're done.

    With Dropbox, you can not only store or send the documents worldwide, but you can also put the back up data into the Dropbox. Very very useful application available for no cost !

Read more on YourOwnLinux.

 

How To : Install/Upgrade to Linux Kernel 3.15-RC6 in Ubuntu/Linux Mint Systems

The Linux Kernel 3.15-RC6 is now available for the users, announced Linus Torvalds. This Linux Kernel version comes with plenty of fixes and improvements. This article will guide you to install or upgrade to Linux Kernel 3.15-RC6 in your Ubuntu or Linux Mint system.

Fixes

  • MIPS/loongson2_cpufreq: Fix CPU clock rate setting
  • ACPI / video: correct DMI tag for Dell Inspiron 7520
  • drm/i915: restore backlight precision when converting from ACPI
  • ALSA: hda - Add new GPU codec ID to snd-hda
  • clk: bcm281xx: don't use unnamed structs or unions
  • iommu/amd: Fix interrupt remapping for aliased devices
  • ARM: Kirkwood: T5325: Fix double probe of Codec
  • i2c: qup: Fix pm_runtime_get_sync usage
  • target: Allow non-supporting backends to set pi_prot_type to 0
  • target: Don't allow setting WC emulation if device doesn't support
  • x86, mm, hugetlb: Add missing TLB page invalidation for hugetlb_cow()
  • powerpc: irq work racing with timer interrupt can result in
  • timer interrupt hang
  • [media] rtl28xxu: do not hard depend on staging SDR module

Read more at YourOwnLinux.

 

Install / Uninstall NVIDIA Driver 331.79 On Ubuntu / LinuxMint

In this Tutorial I will tell you how to install the Latest stable version of NVIDIA Graphics driver 331.79 On Ubuntu 14.04 LTS / 13.10 /12.04 LTS and LinuxMint 15 / 14

This Version 331.79 released on 20th May 2014 with a fix of 5 bugs and no new support to GPU's

 Installation instructions 

Step 1: Remove the Older version of Nvidia driver before installation
sudo apt-get purge nvidia*
Step 2: Reboot the system

Step 3: Download the Nvidia Driver 331.79
For 32bit  

wget http://us.download.nvidia.com/XFree86/Linux-x86/331.79/NVIDIA-Linux-x86-331.79.run
For 64 bit 

wget http://us.download.nvidia.com/XFree86/Linux-x86_64/331.79/NVIDIA-Linux-x86_64-331.79.run


Step 4: Switch to command prompt and stop the running Graphics session

Press Ctrl+Alt+F1-F6 for switching to command prompt
For Ubuntu
sudo service lightdm stop
sudo service gdm stop
For LinuxMint
sudo mdm stop
Step 4: Give execute permissions to the installer
sudo chmod 755 NVIDIA-Linux-x86_64-331.79.run
Step 5: Install the Nvidia 331.79 driver
sudo ./NVIDIA-Linux-x86_64-331.79.run
After successfull installation reboot the system

SOURCE : ASKMETUTORIALS

 

 

How To : Install NVIDIA 331.79 (Stable) Graphics Drivers in Ubuntu/Linux Mint Systems

The latest version of Nvidia Graphics driver for Linux which is Nvidia 331.79 has been released and is available for download. It comes with plenty of fixes and changes. This article will guide you to install Nvidia 331.79 in Ubuntu and Linux Mint systems.

Fixes

  • Fixed a bug that caused nvidia-installer to crash in environments where /proc is not mounted.
  • Fixed a bug that prevented module signing from working correctly for the NVIDIA Unified Memory kernel module when using module signing keys generated by nvidia-installer.
  • Fixed a bug that caused blank screens and flickering when rotating displays in a Base Mosaic layout.
  • Fixed a bug that caused BadRRCrtc or BadRROutput errors for big-endian X11 clients making certain XRandR requests.
  • Fixed a bug that corrupted certain software rendering, notably the stippled text used to represent disabled entries in xterm's pop-up menus.

Read more at YourOwnLinux

 

How To : Install Nagios Core 4 on Ubuntu Linux

Nagios is one of the most popular Open Source application being used for the purpose of IT Infrastructure and Network Monitoring. Basically, this tool is available in two editions, namely, Nagios Core edition which is Open Source and absolutely free to download and Nagios XI edition that has to be purchased by the user. Of course, Nagios XI will have additional features as compared to Nagios Core, but when configured with additional open source plugins and softwares, Nagios Core can provide you with similar or exact results as those in Nagios XI. But, using open source tools is always preferred by most of the users.

    So, this article we guide you to install Nagios Core 4 on your Ubuntu System. The upcoming commands are tested on Ubuntu 13.04 and you will see the screenshots of the same.

He we begin!


Read more on YourOwnLinux

 
Page 8 of 136

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    15 Dec » 19 Dec - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board