Page 1 of 2

Centos 6.5

Posted: 14 Feb 2014, 02:40
by viking60
Image
I thought that I would have a look at the free RedHat so I downloaded Centos 6.5.

Centos 6.5 is the same as RedHat 6.5.

To save space I picked the minimum install CD without a gui. but with a graphical installer:
Image
Nice installer that works well if you know where you are and what language you speak.
You get to set the root password and the installer comes with a lot of options for partitioning. All fairly straight forward and nicely presented.
So time to reboot then...
And after that GUI install I am now at the CLI login....

Good berserks have no problem with that because we can only install a DE later. BUT there was this slight problem:
I could not get a network. Ok I thought I should try to edit /etc/resolv.conf with nano - but nano was not installed... :wall:
So I had to refresh my rusty vi knowledge.
I managed to edit the file but that did not help so I went to edit the network scripts ...with vi.

Code: Select all

vi /etc/sysconfig/network-scripts/ifcfg-eth0

and there I found

Code: Select all

ONBOOT=no

and changed it to:

Code: Select all

ONBOOT=yes


Then I added myself as a user:

Code: Select all

adduser viking

and gave myself a password:

Code: Select all

passwd viking

I also edited the sudoers file and gave myself superduper rights

Then I re-booted......

Oh wonder I finaly had the network so I installed nano and updated Centos:

Code: Select all

sudo yum update

and

Code: Select all

yum install nano

I have said before during Fedora tests, that yum has the same logic as I have - so yum understands me +1
Time to see if I can get a DE up and running then...

Centos 6.5 setting up a DE after minimal install

Posted: 14 Feb 2014, 16:56
by viking60
Gnome is the default desktop in Centos.. so I picked Xfce4 +1
Xfce is lighter than Gnome which makes total sense on a server.

To make that happen I need to install wget:

Code: Select all

sudo yum install wget


The Redhat Family is big and they can borrow from each other so we need to borrow epel from Fedora:

Code: Select all

wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Epel stands for: Extra Packages for Enterprise Linux, and we need to add it in the standard rpm manner:

Code: Select all

rpm -ivh epel-release-6-8.noarch.rpm


So those were the preparations needed according to my studies.

Time to install Xfce4 then:

Code: Select all

sudo yum groupinstall Xfce

Centos has a lot of meta packages or groups that can be installed with yum groupinstall.
They can be listed with yum grouplist

So that should be it!
Time to start xfce4

Code: Select all

startxfce4

and....
Image

:shock:
Eh not exactly what I expected that.
When Centos provides a minimal install; they are not kidding. It seems I am completely lacking fonts.

According to my quirky logic's that could be done with

Code: Select all

sudo yum groupinstall fonts

and...
Image

:dance1 That's more like it. :dancer
I told you that yum understands me.
I now have Centos 6.5 installed with Xfce4.

Centos 6.5 - setting up VB guest additions

Posted: 15 Feb 2014, 00:24
by viking60
Since I set up Centos in a Virtualbox I am tired of looking at that tiny little window but the CDrom with VB Guest additions do not auto-mount - so it is time for a little somersault to make it work:

Code: Select all

cd /media

Then we need to make the directory to mount the Virtualbox CDrom (That is chosen under Storage in the VB-manager)

Code: Select all

sudo mkdir cdrom

Finally we mount it:

Code: Select all

sudo mount /dev/sr0 /media/cdrom


Yes it is that easy (almost)
We need to install a lot of stuff to make it work:
I installed dkms first:

Code: Select all

sudo yum install dkms

then I installed the load of other needed stuff:

Code: Select all

yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel

Piece of cake +1
Now we have to run the script on the cdrom
cd /media/cdrom/

Code: Select all

sudo ./VBoxLinuxAdditions.run

Time to reboot then....
:A
Image

Oh yes -that's more like it! :dance1

Now I can drag my Centos as big as I want it, and copy and paste between the WM and my desktop ..and.. you know; all that other stuff that you can do with Virtualbox.
By now this thing is totally usable.
:tux5:
So since this is the Rolls Royce of servers naturally I had to install a Lamp server with Phpmyadmin.
:A
Image :dance1 Image
And finally I set up Webmin as the server control panel.
To achieve that I had to go to the opt directory where it is customary to install third party stuff

Code: Select all

cd /opt

And downloaded Webmin

Code: Select all

sudo wget http://prdownloads.sourceforge.net/webadmin/webmin-1.660-1.noarch.rpm


Then I installed it;

Code: Select all

rpm -Uvh webmin-1.660-1.noarch.rpm

Then I went to my browser and entered the panel like this:
http://localhost:10000
Webmin lets you control pretty much everything on your *nix in a user friendly way - like Grub, partitioning ,RAID, the servers, and Firewall+++. It is a good tool for servers.
:A
Image :dance1 Image

So here I am then with an Apache server, PHP, Mysql, phpmyadmin and the webmin control panel. :tux5:
I guess that is where Centos is put to it's best use - but it will serve perfectly fine as a desktop too.
Image

Just don't expect cutting edge software - expect stability :idea: +1
Here is an excuse for a video:
:A


Here are some data about my Install:
Repos in use:

Code: Select all

[viking@centos6 ~]$ inxi -r
Repos:     Active yum sources in file: /etc/yum.repos.d/CentOS-Base.repo
           base ~ http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
           updates ~ http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
           extras ~ http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
           Active yum sources in file: /etc/yum.repos.d/adobe-linux-x86_64.repo
           adobe-linux-x86_64 ~ http://linuxdownload.adobe.com/linux/x86_64/
           Active yum sources in file: /etc/yum.repos.d/epel.repo
           epel ~ https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch


Externally installed apps:

Code: Select all

[viking@centos6 ~]$ yum list extras
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirror.searchdaimon.com
 * epel: mirror.yandex.ru
 * extras: mirror.searchdaimon.com
 * updates: mirror.searchdaimon.com
Extra Packages
bleachbit.noarch                             0.9.6-1.1                              @/bleachbit-0.9.6-1.1.noarch
webmin.noarch                                1.670-1                                installed   

System overview:

Code: Select all

[viking@centos6 ~]$ inxi -Fz
System:    Host: centos6 Kernel: 2.6.32-431.5.1.el6.x86_64 x86_64 (64 bit)
           Desktop: Xfce 4.8.2 Distro: CentOS release 6.5 (Final)
Machine:   System: innotek product: VirtualBox version: 1.2
           Mobo: Oracle model: VirtualBox version: 1.2 Bios: innotek version: VirtualBox date: 12/01/2006
CPU:       Triple core Intel Core i7 CPU 920 (-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 ssse3)
           Clock Speeds: 1: 2673.037 MHz 2: 2673.037 MHz 3: 2673.037 MHz
Graphics:  Card: InnoTek Systemberatung VirtualBox Graphics Adapter
           CentOS X.org: 113 drivers: (unloaded: vesa) FAILED: vboxvideo Resolution: 1652x1069@60.0hz
           GLX Renderer: Rasterizer GLX Version: 2.1 Mesa 9.2.0-devel
Audio:     Card: Intel 82801AA AC'97 Audio Controller driver: Intel ICH Sound: ALSA ver: 1.0.21
Network:   Card-1: Intel 82540EM Gigabit Ethernet Controller driver: e1000
           IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] driver: pcnet32
           IF: eth0 state: unknown speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 16.5GB (17.6% used) 1: id: /dev/sda model: VBOX_HARDDISK size: 16.5GB
Partition: ID: / size: 14G used: 2.7G (22%) fs: ext4 ID: /boot size: 485M used: 59M (13%) fs: ext4
           ID: swap-1 size: 1.65GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   None detected - is lm-sensors installed and configured?
Info:      Processes: 165 Uptime: 3:47 Memory: 571.3/2085.1MB Client: Shell (bash) inxi: 1.9.14

Re: Centos 6.5

Posted: 19 Feb 2014, 19:19
by viking60
Ok I have been using it for a while now and I did install the yum GUI called yum extender

Code: Select all

sudo yum install yumex


It is fairly fast and keeps nicely track of the repos.

I can access the server I installed in Virtualbox from the network and ssh into my VB Centos install. the Xfce4 DE works well.
Image

This thing is growing on me - so I kind of like it now. Video coming up......

Re: Centos 6.5

Posted: 19 Feb 2014, 21:57
by jkerr82508
I think that if Mageia ever implodes (always a possibility with a community distro, heavily dependent on a handful of volunteers) I would use CentOS. I did try v5.x a while ago and, since it is a clone of Red Hat, I found that the learning curve was not too steep. Thanks to the Fedora community there are plenty of user guides for getting the nonfree stuff that Red Hat does not provide.

Of course CentOS is itself a community distro desperately in need of more volunteers. There is never a "perfect" solution when selecting a linux distro.

Jim

Re: Centos 6.5

Posted: 20 Feb 2014, 01:55
by viking60
True.+1
You would prefer Centos over Fedora?

Re: Centos 6.5

Posted: 20 Feb 2014, 02:48
by jkerr82508
viking60 wrote:You would prefer Centos over Fedora?

Fedora's a bit too bleeding edge for my liking. A few years ago I would have chosen it, but the older I get the slower I get in adapting to change.

Jim

Re: Centos 6.5

Posted: 20 Feb 2014, 13:53
by viking60
Yes having an OS that does the stuff day in and day out without having to fiddle with it :boohoo: is what every business wants too.
Stability is often the opposite of change.

Once it is up and running - if you can get there - then Centos is supposed to be excellent - I don't know yet: I will have to leave it up for a long time to check it out.

Fedora has a tendency to break anything that works - and IMO Arch is stabler (and more bleeding edge). Fedora is to much of a guinea-pig to make a sensible desktop (I am grateful for their work though).

...And "old" is just a state of mind (you can do something about that); there are two objective criteria s here that we cannot get past - alive and dead.

We are working on it - and we are pretty good at doing something about alive - but that other one is tricky. :confused
There is not even a service in systemd for it...

Anyway Mageia is still alive and delivering surprisingly good quality - distro wise - if you stick to KDE at least.

But Mageia is rather conservative too, so the difference should not be all to big with a change to Centos.

Video as promised:
:A

Re: Centos 6.5

Posted: 27 Feb 2014, 04:23
by Snorkasaurus
viking60 wrote:and gave myself a password:

Code: Select all

passwd viking
I don't know if this was supposed to give me a chuckle, but it did. :-)

S.

Re: Centos 6.5

Posted: 27 Feb 2014, 17:13
by viking60
No that is just the normal way of providing the password for viking - viking is not the password :-D

I am having a disappointing experience here today:

I have updated my Manjaro and fired Centos in openbox. And it just hangs on boot. All the other Machines do work so this is very disappointing for the "king of stability"

I am sure that the world is full of people who will explain to me that "I only have to"....

But that is the whole point; with Centos you should not have to talk to the "you only have to" people. :naughty: Centos should work!
So much for stability. :berserk2
(Still: If you know what I only have to do - please tell me!)
Somehow I doubt that this would have happened with Debian. :confused

Re: Centos 6.5

Posted: 27 Feb 2014, 18:11
by Snorkasaurus
viking60 wrote:Somehow I doubt that this would have happened with Debian. :confused

My thumb is up so high it hurts. LAWL!

PS: One of my beefs with Debian (yes, I have some) is that they still have the pkspkr issue that needs to be blacklisted on almost all installs. It doesn't mean that anything is broken, I just find it a little disappointing that nobody has made the error message go away yet.

S.

Re: Centos 6.5

Posted: 27 Feb 2014, 18:53
by viking60
I have to take everything back. What I tried to fire was an old Centos 6.3 install.
This install was Centos 6.5 and it boots like clockwork. +1

Sorry Redhat and sorry Centos :oops:

I only had to find the right machine - Even Redhat has not entirely solved that bug between the keyboard and the chair. :-D

I will of course have to give Debian an Equally thorough spin now to make the comparison. But Centos holds water so far.
I installed figlet and made a nice Centos 6.5 rules banner. I could not find toilet though...