Linux.com

Home Linux Community Community Blogs

Community Blogs



How to install Nvidia drivers on Linux Mint 16 Petra

Dedicated Nvidia GPU Having a dedicated graphics processing unit ( GPU or graphics card ), boosts graphics performance significantly, especially when playing 3d games. Nvidia GPUs are very popular on desktop computers and they work very well on linux, as drivers are available from Nvidia. It is necessary to install the right drivers to ensure proper utilisation GPU. Otherwise the performance would be limited, or totally unused. Nouveau - the default driver...

Read more... Comment (0)
 

SMPlayer 14.3.0 released and PPA installation instructions included

SMPlayer is a free media player for Windows and Linux with built-in codecs that can play virtually all video and audio formats. It doesn't need any external codecs. Just install SMPlayer and you'll be able to play all formats without the hassle to find and install codec packs.
One of the most interesting features of SMPlayer: it remembers the settings of all files you play. So you start to watch a movie but you have to leave... don't worry, when you open that movie again it will be resumed at the same point you left it, and with the same settings: audio track, subtitles, volume...

SMPlayer is a graphical user interface (GUI) for the award-winning MPlayer, which is capable of playing almost all known video and audio formats. But apart from providing access for the most common and useful options of MPlayer, SMPlayer adds other interesting features like the possibility to play Youtube videos or download subtitles.

Full Article

 

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

     "The Linux Kernel 3.14.1 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.1 in your Ubuntu or Linux Mint system.

 

Fixes

  • crypto: ghash-clmulni-intel - use C implementation for setkey()
  • m68k: Skip futex_atomic_cmpxchg_inatomic() test 
  • futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test 
  • ARC: [nsimosci] Change .dts to use generic 8250 UART 
  • iwlwifi: mvm: rs: fix search cycle rules 
  • net/at91_ether: avoid NULL pointer dereference 
  • rds: prevent dereference of a NULL device in rds_iw_laddr_check 
  • isdnloop: several buffer overflows 
  • isdnloop: Validate NUL-terminated strings from user. 
  • net: vxlan: fix crash when interface is created with no group 
  • xen-netback: disable rogue vif in kthread context 
  • netlink: don't compare the nul-termination in nla_strcmp 
  • ipv6: some ipv6 statistic counters failed to disable bh 
  • xen-netback: BUG_ON in xenvif_rx_action() not catching overflow 
  • xen-netback: worse-case estimate in xenvif_rx_action is underestimating

Read More at YourOwnLinux.

 

Make Your Linux Machine An Internet Access Point [Hotspot]

It can be tough staying at a place without so much as a router, right? It's incredibly annoying, especially considering it's 2014 -- a year where technology is supposed to be at its best. Today, I thought it would be useful if I introduced you to a concept I consider totally badass. All you'll need is your Linux machine and an ethernet cable. What's that? No, this process won't ask for your firstborn in return -- it's not Micrsoft. It's kind of like reverse tethering. [Thanks for asking, imaginary person that I just created to answer my own question.]

 

Step 1: Add PPA

sudo add-apt-repository ppa:nilarimogard/webupd8

Step 2: Update

sudo apt-get update


Step 3: Install

sudo apt-get install ap-hotspot


Step 4: Configure

sudo ap-hotspot configure


If you're connected to an Ethernet cable, it should detect your network as something like etch0 -- just continue. Once it asks to name your network, name it something like awesomenetwork. Your WPA password should be of the following length (this is what I use as my password: fivefifty. No longer, no shorter.

 

To Start

Sudo ap-hotspot start

To Stop

sudo ap-hotspot stop

To Restart

sudo ap-hotspot restart

 

How to Download and Upload Files using FTP Command Line

FTP (File Transfer Protocol) is the most popular protocol to transfer files (download and upload) from one system to other system. It provides the fastest way transfer files. There are many application available on Linux and windows to FTP services like vsftpd, proftpd for Linux, FileZilla Server for windows.


Read complete artilce at  How to Download and Upload Files using FTP Command Line - TecAdmin.net

 

The Official Launch of VPN Unlimited for Linux

The recent news from Simplex Solutions Inc. state that the company has launched their VPN Unlimited for Linux on the April 10th 2014. Prior, VPN Unlimited was available to iOS, Mac, and Windows users, but now they are able to protect Linux platforms too.

Today, many users are aware of the fact any Internet connection should have a good protection. Whether you are surfing the net using your home computer, or laptop, or you are on a ‘go’ and exploiting your favorite WiFi hotspots, staying unprotected or vulnerable to the attackers is simply not good. VPN services are able to encrypt data that is being sent from your electronic device to another computer. The VPN data encryption is the vital protection.

Note that the company Simplex Solutions Inc. is rather young but thanks to the popularity of their services their database includes over 300.000 users. Every day, over 20.000 go online and use VPN services as their basic online safety measure. There is an option to try the VPN completely free by using the 10-day trial that the company offers.

Download your copy here https://www.vpnunlimitedapp.com/downloadlinux

Requires Debian GNU/Linux 7.0 and later, (K/X)Ubuntu 12.04 and later, Mint 12 and later.

 

5 Important cPanel Settings For Beginners

cPanel control panel is most widely used in the web hosting industry. The main reason behind the popularity of WHM / cPanel is the flexibility and the user friendliness offered. cPanel is easy to manage, easy to customize and it is backed by great quality support. Most of us dealing in the web hosting industry know about the potential of the cPanel control panel. However, if you are new to cPanel, there are a few things that are recommended for you for the initial phase.

Here is an insight on the 5 important cPanel settings for you:

Strong Password

Every user gets a username and password for logging into cPanel. The username and password provided for cPanel is also applicable to the MySQL database user, FTP account, email address and at times the system user login as well. The system user login can be used for accessing the server remotely through SSH (if this feature is enabled by the server administrator). Modifying the cPanel login password is an important action to be done initially. If your password can be easily retrieved or guessed by anyone, that person will also get unwarranted privileges to the server and this is dangerous.

It is important to follow good password practice. Some important tips for password management are mentioned below:

  • Keep changing your password
  • Avoid using dictionary words
  • Avoid using easy things like vehicle registration number, date of birth or phone number as password
  • Use a complex password that is hard to guess
  • Set the length of the password to 8 characters or more
  • Do not use the option of ‘remember password’ in any browser

Server Environment

Make sure that you have complete understanding of the server environment before using it. Some important aspects that you need to know include server operating system, server architecture, kernel version, the versions of the installed applications (Apache, PHP, MySQL, cPanel, Pearl). It is also important to know about the IP address and hosting package limitations. This information is available on the main page; it usually appears on the sidebar of the cPanel interface. A good hosting server should be operated on the updated version of the kernel and applications should be operated under the 64 bit architecture.

It is also crucial to check the cPanel service status. This can be done by logging into cPanel > Stats > Service Status. Here you can see the number of CPUs that are running on the server, memory usage and the disk space status. This feature will provide you with the real time information for the server. All the services should be up and running properly. Ideally, a stable server should run at below 80% of disk usage and below 10% of swap; the server load average should be 2 times below the total number of CPUs.

File & Directory Permissions

By default, with a cPanel hosting account, users get a home directory under /home/{username}. All the files and directories present under the user’s home directory should be operated on the respective permissions and ownership. The most important directory that should run with correct permissions and ownership is public_html. Before we proceed further, it is important for you to know how PHP is managed.

Create a phpinfo page under the public_html directory. Access this page through the browser and check the ‘Server API’. If the value is CGI / FastCGI, then the PHP handler is suPHP, FastCGI or CGI. Most of the web hosting companies use suPHP because of security verification and also because it is the default handler for the cPanel servers. Under suPHP, PHP is executed as a different process along with Apache. All the file permissions should be run under 644 and the directory permissions under 755. Permissions that are higher than this will result in ‘Internal Server Error’ when the PHP script is executed.

If the Server API value is Apache 2.0 handler, then PHP is run under DSO. This handler does not need any strict file permissions or ownership because the PHP file is completely handled by Apache.

You can utilize the cPanel file manager, FTP client or SSH access for fixing the permissions and ownership issues. Make sure to delete the phpinfo page once you have got the necessary information.

Add Protection

Even though the server administrator has the responsibility of managing protection and security, cPanel users can make use of the flexible cPanel interface for adding some protection to the domain, website and cPanel account. Enable the spam assassin (cPanel > Mail > Spam Assassin). This feature is not provided by some web hosting providers as a default because a domain that is newly registered does not receive any spam emails. Discard all the unrouted emails in the default address (cPanel > Mail > Default Address) that contain error to sender at SMTP time. Avoid using the options like ‘blackhole’ or ‘forward to email address’ unless they are actually required. Hackers might take the advantage of these two features for creating a DOS attack on the SMTP service.

If the FrontPage is not used, disable it (cPanel > Advanced > FrontPage Extensions). Check the ‘PHP disabled_function’ through phpinfo page. All the critical functions should be disabled inside the server.

Enable the hotlink protection through (cPanel > Security > Hotlink Protection) for preventing anyone from stealing your bandwidth. People might link your image to their website thus making a part of their content. Enable your website URL to only access static content like .png, .jpeg, .jpg and .bmp.

Notification & Monitoring

It is important to add a secondary email in order to receive notifications through cPanel. By default, the registered email of the user will be the primary contact. Go to the option – Update Contact Info (cPanel > Preferences > Update Contact Info) and add a secondary email that will serve as a backup in case the primary email cannot be reached.

Subscribe to the monitoring tools that are available online for monitoring your website and domain availability. Although this service is offered for free by some of the web hosting companies, it is always good to have another external monitoring source for accurate results. Configure the monitoring system in order to trigger and send notification emails / alerts to your email id.

The information contained in this article is useful for both, new cPanel users and for the users who have been using cPanel. By implementing the essential settings mentioned above, you will get better control over your website and domain name.

 

16 Commands to Check Hardware Information on Linux

Hardware information Like for every thing, there are plenty of commands to check information about the hardware of your linux system. Some commands report only specific hardware components like cpu or memory while the rest cover multiple hardware units. This post takes a quick look at some of the most commonly used commands to check information and configuration details about various hardware...

Read more... Comment (2)
 

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

     "The Linux Kernel 3.13.9 is now available for the users and all the users of 3.13 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.13.9 in your Ubuntu or Linux Mint system.


Fixes

  • x86: fix boot on uniprocessor systems
  • Input: synaptics - add manual min/max quirk
  • netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
  • drm/i915: Undo gtt scratch pte unmapping again
  • mm: close PageTail race
  • Revert "xen: properly account for _PAGE_NUMA during xen pte translations"
  • Input: mousedev - fix race when creating mixed device
  • Input: synaptics - add manual min/max quirk for ThinkPad X240
  • Input: cypress_ps2 - don't report as a button pads
  • cgroup: protect modifications to cgroup_idr with cgroup_mutex
  • random32: avoid attempt to late reseed if in the middle of seeding
  • i2c: cpm: Fix build by adding of_address.h and of_irq.h
  • ext4: atomically set inode->i_flags in ext4_set_inode_flags()
  • net: mvneta: rename MVNETA_GMAC2_PSC_ENABLE to MVNETA_GMAC2_PCS_ENABLE
  • net: mvneta: fix usage as a module on RGMII configurations
  • xen/balloon: flush persistent kmaps in correct position

 

Read More at YourOwnLinux.

 

Check hardware information on Linux with hwinfo command

Hwinfo The hwinfo command is a very handy command line tool that can be used to probe for details about hardware components. It reports information about most hardware units like cpu, hdd controllers, usb controllers, network card, graphics cards, multimedia, printers etc. Hwinfo depends on the libhd library to gather hardware information which depends on libhal. Hwinfo is available in the repositories of Ubuntu and Debian. # ubuntu, debian $ sudo apt-get install hwinfo To install...
Read more... Comment (0)
 

How to install hwinfo (hardware information tool) on Fedora 20

Hwinfo - Hardware Information Tool Hwinfo is a command line utility to probe and gather information about hardware components on a system in a easy to read format. It was initially a opensuse specific tool that was later compiled for other systems like Debian, Fedora, Arch etc. Hwinfo is not available in the Fedora repositories, and neither is it present in any of the popular 3rd party repositories like repoforge or rpmfusion. Install Hwinfo on Fedora Here we are going to install hwinfo on Fedora 20. The hwinfo rpm packages for Fedora are available on the opensuse site at the following hidden place http://download.opensuse.org/repositories/home:/zhonghuaren/ The...
Read more... Comment (0)
 
Page 10 of 142

Upcoming Linux Foundation Courses

  1. LFS230 Linux Network Management
    06 Oct » 09 Oct - Virtual
    Details
  2. LFD331 Developing Linux Device Drivers
    13 Oct » 17 Oct - Virtual
    Details
  3. LFS430 Linux Enterprise Automation
    13 Oct » 16 Oct - 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