Some integrated devices have less than stellar support and even the proprietary binary graphics drivers have left something to be desired. Worse, modern laptops that contain the ‘Optimus’ technology (multiple GPU configurations – NVidia and Intel) either had to be used in one mode or the other (one or the other X Server, but not both). Enter the ‘bumblebee’ project. This project allows you to compile support onto your system to allow you to designate certain applications to use the discrete driver (NVidia) for better video/game performance but did not address the ability to use both video cards for desktop display of multiple monitors. Today, we will address that shortcoming.
In this configuration tutorial we will guide you through the process of configuring sendmail to be an email relay for your gmail or google apps account. This allows you to send email from your bash scripts, hosted website or from command line using mail command. Other examples where you can utilize this setting is for a notification purposes such or failed backups etc. Sendmail is just one of many utilities which can be configured to rely on gmail account where the others include postfix, exim , ssmpt etc. In this tutorial we will use Debian and sendmail for this task.
# apt-get install sendmail mailutils sendmail-bin
# mkdir -m 700 /etc/mail/authinfo/
# cd /etc/mail/
next we need to create a auth file with a following content. File can have any name, in this example the name is gmail-auth:
Read MoreMost of the time as a system administrator you are managing your servers over the network. It is very rare that you will need to have a physical access to any of your managed servers. In most cases all you need is to SSH remotely to do your administration task. In this article we will configure a GUI alternative to a remote access to your RHEL server, which is VNC. VNC allows you to open a remote GUI session to your server and thus providing you with a full graphical interface accessible from any remote location.
Once you downloaded a Raspberry PI *.img file you may have a reason to look inside the image. Here is a shot config on how you do it:
First get your image file:
# ls -lh
total 1.9G
-rw-r--r-- 1 root root 1.9G Apr 24 14:35 2013-02-09-wheezy-raspbian.img
Next, check the filesystem table with fdisk:
# fdisk -l 2013-02-09-wheezy-raspbian.img
Disk 2013-02-09-wheezy-raspbian.img: 1939 MB, 1939865600 bytes
255 heads, 63 sectors/track, 235 cylinders, total 3788800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00014d34
Device Boot Start End Blocks Id System
2013-02-09-wheezy-raspbian.img1 8192 122879 57344 c W95 FAT32 (LBA)
2013-02-09-wheezy-raspbian.img2 122880 3788799 1832960 83 Linux
The important note to take from the above output is:
With the recent release of VMWare ESXi 5.1 and the associated fully featured web client management (which we may cover in a later article), Linux in general is getting closer and closer to the ‘do anything’ desktop operating system we have all wanted it to be for some time. Maturity breeds integration and although we have always had any number of tools to manage our command line servers, our Windows desktops and Mac OSX or other Linux graphical environments separately, we were lacking in a tool that put all the pieces together and managed our connections for us. There are several tools that are attempting to integrate system management, today we are going to talk about one, the “Remmina Remote Desktop Client”.
Today’s topic is going to cover the Samba client setup and your ability to mount your Windows shares (Windows 8 included) on your Ubuntu desktop. Although you will get the basic information you need to install and configure your Ubuntu system for accessing Windows shares
If your Redhat server is not connected to the official RHN repositories, you will need to configure your own private repository which you can later use to install packages. The procedure of creating a Redhat repository is quite simple task. In this article we will show you how to create a local file Redhat repository as well as remote HTTP repository.
So as we have all heard by now (at least those of us who use Ubuntu Linux every day), Ubuntu 13.04, otherwise known as Raring Ringtail, may be the last ‘named’ release in the Ubuntu family. Canonical is (still) debating on moving to the ‘rolling release’ lifecycle for their desktop distribution outside of their ‘LTS’ offerings. What this means is that they are tightening up support for upcoming releases (shorter support windows) and will not release new LTS version as often. Let’s take a quick look at a late Alpha of Ubuntu 13.04.
Hostgator VPS generates apache's httpd.conf file automatically. Therefore, any new lines you add to apache's configuration file will be overwritten. In order to add new configuration settings we need to include a configuration. Open up your main config file /etc/httpd/conf/httpd.conf and search for a virtual host with the domain name you wish to edit. Last two lines of your virtual host should look similar to this:
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2/linuxcon/linuxconfig.org/*.conf"
uncomment the Include line by remove leading "#".
Next, create a directory to reflect the Include location:
# mkdir -p /usr/local/apache/conf/userdata/std/2/linuxcon/linuxconfig.org/
Once your directory is created add a new .conf file. For example:
# cd /usr/local/apache/conf/userdata/std/2/linuxcon/linuxconfig.org/
# echo "redirect 301 /some-url http://linuxconfig.org" > redirects.conf
Read More
Logrotate is a utility designed for administrators who manage servers producing a high volume of log files to help them save some disk space as well as to avoid a potential risk making a system unresponsive due to the lack of disk space. Normally, a solution to avoid this kind of problem is to setup a separate partition or logical volume for a /var mount point. However, logrotate may also be a viable solution to this problem especially if it is too late to move all logs under different partition. In this article we will talk about usage and configuration of logrotate on RedHat / CentOS Linux server.