No Image

Installing Xorg on Gentoo with the nouveau Driver

November 3, 2013 Andy 0

I configured my kernel as shown here. That was based on the information found here and here. Check out the resources section at the bottom. Because my kernel is good-to-go, I should just need to make the following changes to my make.conf file before installing xorg-server. nano /etc/portage/make.conf These are the changes I made. INPUT_DEVICES=”evdev” VIDEO_CARDS=”nouveau” Make sure you have the following USE flag. echo “x11-base/xorg-server” >> /etc/portage/package.use Before installing xorg-server. emerge –ask xorg-server Now refresh your environment. env-update source /etc/profile I choose to reboot here. Starting X Xorg “should” work out-of-the-box so there “should” be no need to manually […]

No Image

Unable to Install mkpasswd on CentOS 6.4

November 3, 2013 Andy 0

I was surprised to find the mkpasswd utility missing from my new installation of CentOS 6.4. Yum has a feature called whatprovides, which can be used to find out which installable package provides some feature, utility or file. The below demonstrates its use. You just need to prefix ‘*/’ to the utility name that your searching for. [root@server ~]# yum whatprovides */mkpasswd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile base/filelists_db | 5.9 MB 00:00 extras/filelists_db | 10 kB 00:00 updates/filelists_db | 2.8 MB 00:00 expect-5.44.1.15-4.el6.x86_64 : A program-script interaction and testing utility Repo : base Matched from: Filename […]

No Image

Connect to a NFS Share with Gentoo

November 3, 2013 Andy 0

Install NFSv4 The below command will install with the default USE flags of ipv6, tpcd and nfsv4. emerge –ask nfs-utils Find NFS Shares If you don’t know or can remember the name of your NFS shared drives, you can use the below command to list the exports. storm ~ # showmount -e “192.168.111.200” Export list for 192.168.111.200: /personal shared /Web /Usb /Recordings /Public /Network Recycle Bin 1 /Multimedia /Download storm ~ # I want to connect to “/personal shared“, but note the space in the share name. mount -t nfs “192.168.111.200:/personal shared” ~/nfs/ To mount a share like this you […]

No Image

The Secure Copy (scp) Command

November 3, 2013 Andy 0

Secure Copy (scp) is a Linux remote file copy command. It can be used like the Copy (cp) command but supports the secure transfer of file between hosts on a network. The basic synopsis for this program is as follows. See the manual page for more information. scp [[ user@ ] host1: ] file1 … [[ user@ ] host2: ] file2 To copy a file from a remote machine to the local host. scp yourusername@remotehost.com:file.txt /home/yourusername/ To copy a file from the local host to a remote machine. scp file.txt yourusername@remotehost.com:/remote/directory

No Image

Installing XMonad on Gentoo

November 3, 2013 Andy 0

I have already installed Gentoo with a Kernel supporting NVidia graphics cards using the open-source Nouveau driver. I also have a working installation of Xorg server. Now all that’s left to do now is install XMonad! emerge –ask xmonad xmonad-contrib Notes that will probably be removed/deleted The above pulled in a lot of additional software and took quite a long time to complete. However, all seemed to work. Here I should mention about how to start and link to command/cheatsheet etc. Include .xinitrc and how .xsession does not work (should be removed it present). After that I decided to install […]

No Image

Gentoo: Installing a File Manager

November 3, 2013 Andy 0

After a little research I have decided to install krusader as my file manager. Installing it should be fairly simple. emerge –ask krusader After seeing the below output… …I run the below to make use of the English/British USE flag. I install both en_GB and uk USE flags. echo “kde-misc/krusader en_GB uk” >> /etc/portage/package.use For some reason the change in USE flags were not picked up. However, I proceeded and installed it anyway. The below was the output. This seems to have worked anyway. Resources Tech Republic – 10 Linux file managers worth checking out http://www.techrepublic.com/blog/10things/10-linux-file-managers-worth-checking-out/993 Krusader.org – Twin panel […]

No Image

Rackspace Cloud DNS

November 3, 2013 Andy 0

Rackspace provides a great easy to use tool for managing your DNS. The first thing you need to do is create a zone file for the domain you want to manage. To do this, first log into the mycloud.rackspace.co.uk customer portal and navigate to the DNS tab at the top of the page. Click on “Create Domain” and fill out the details from the drop-down menu. Click on “Create Domain” to create the zone file. Now we need to add some DNS records to the zone file. Here I add an A record so the domain dummydomains.org.uk resolves to the […]

No Image

Load Balance you Rackspace Cloud Server

November 3, 2013 Andy 0

Rackspace cloud load-balancers allow you to easily distribute the traffic across multiple nodes. Every time you create a new cloud server, it is assigned a new public IP address. If you were to image that server, delete it and then re-create it, it will be given a new IP address. For this reason, I would recommend a load-balancer from the off. Especially if you know the site is going to be about for a while. That way, the IP address will not change, even if the IP address of the nodes behind it do….And yes, you only need one node […]

No Image

Install Apache on Ubuntu Server 13.10

November 3, 2013 Andy 0

First you need to prepare the machine that you are going to use. I’m using a Rackspace cloud server. In which case, all I need to do is spin up a server and update the Operating System software. Install Apache2 Installing Apache is easy, simply run apt-get install apache2 as the root user. root@apache:~# apt-get install apache2 Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap ssl-cert Suggested packages: www-browser apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils openssl-blacklist The following NEW packages will be installed: apache2 apache2-bin apache2-data […]