Linux.com

Community Blogs



Nested KVM set up on Fedora 22 && Running devstack on Ubuntu 14.04 guests

Following bellow are brief instructions how to achieve extremely high performance of VMs created via devstack ( stack.sh ) inside another virtual machine created with Fedora 22 KVM Hypervisor and having Nested KVM feature enabled, working with sufficiently advanced Intel CPUs (Haswell kernel or above which have newer hardware virt extensions ) and 16 GB or more RAM.

Complete article may be viewed here

 

How to compile and install wxWidgets on Ubuntu/Debian/Linux Mint

wxWidgets wxWidgets is an application development framework/library that allows developer to make cross platform GUI applications for Windows, Mac and Linux using the same codebase. Its primarily written in C++ but has bindings for other languages as well like Python, Perl and Ruby. In this tutorial I am going to show you how to compile and build wxwidgets 3.0+ on Debian based linux systems like Ubuntu and Linux Mint. Compiling wxWidgets from source is not at all difficult...
Read more... Comment (0)
 

Percona Toolkit

Percona is an open source software company specializing in MySQL Support, Consulting, Managed Services, and Training. 

We use Percona MySQL for our production database and we written wrapper over Percona Xtrabackup utility for hotbackups(Full + Differential backups with slave position capture) for production database backup.

Recently we started using Percona Toolkit and we found it useful for MySQL administration.

How to instal it ?

wget  Percona.com/get/Percona-toolkit.tar.gz
wget  Percona.com/get/Percona-toolkit.rpm
wget  Percona.com/get/Percona-toolkit.deb

How to get started with Percona Toolkit :- Percona Toolkit have good documentation for how to use it , below is the link

http://www.percona.com/doc/percona-toolkit/2.2/index.html

Note:- Please read Percona Toolkit documentation before using it on Production environment.

 

RDO Juno multi node setup && Switching to eth(X) interfaces on Fedora 21

This post is closely related to RDO Juno Multi Node deployment via packstack on Fedora 21 landscape with boxes having different boards and different Ethernet NICs integrated on boards either  plugged into systems.
Originally tested on Two Node Controller&&Network and Compute  Fedora 21 . Interfaces on first board  (enp3s0,enp5s0) on second board (enp2s0,enp5s1).Converted on both boards to (eth0,eth1), creating udev rules to rename Ethernet interfaces allows to set one to one correspondence between MAC adresses  and  eth(X) names. Just updating /boot/grub2/grub.cfg is not enough on systems having several NICs.

Complete text of post may be viewed here

 

Switching to eth(X) interfaces on Fedora 21

This post is closely related with RDO Juno deployment via packstack on Fedora 21 landcscape with boxes having different boards and different Ethernet NICS inegrated on boards either  plugged into systems

Complete text maybe viewed here

 

How To Analyze HaProxy Logs

Sometimes it is very difficult to analyse the HaProxy Logs manually . Very few people know about the small tool name halog , it gets shipped with HaProxy itself. HALog is a small and very powerful tool to analyze HaProxy log lines.Installation is pretty simple, as described bellow: cd /usr/src wget http://haproxy.1wt.eu/download/1.5/src/devel/haproxy-1.5-dev11.tar.gz tar xzf haproxy-1.5-dev11.tar.gz cd haproxy-1.5-dev11/contrib/halog make cp halog /usr/bin/ and we are done and ready to analyse the HaProxy Logs. Below are few examples List servers by number of requests treated The command below lists the servers by the number of requests they treated. The server name is prefixed by the backend name. The eighth columns "tot_req" gives the number of requests treated by the server. cat filename.log | halog -srv -H -q |awk ’NR==1; NR > 1 {print $0 | "sort -n -r -k 9"}’ |column -t 2. List servers by response time The command below lists the servers by response time. The server name is prefixed by the backend name. The response time is in milliseconds and the latest columns "avg_rt" gives the average response time for all the URLs forwarded to this server in this backend. cat filename.log | halog -srv -H -q |awk ’NR==1; NR > 1 {print $0 | "sort -n -r -k 12"}’ |column -t 3. List servers by application errors: HTTP status code 5xx The command below lists the servers by number of application errors. The server name is prefixed by the backend name. The sixth column "5xx" gives the number of application errors generated by the server. cat filename.log |halog -srv -H -q | awk ’NR==1; NR > 1 {print $0 | "sort -n -r -k 6"}’ | column -t 4. List servers by errors The command below lists the servers by number of errors not related to the application. The server name is prefixed by the backend name. cat filename.log |halog -srv -H -q | awk ’NR==1; NR > 1 {print $0 | "sort -n -r -k 5"}’ | column -t 5. List URLs by server computation time The command below lists the URLs by the average computation time, whatever the server which treated it. The sixth column "okavg" provides the URL average computation time in milliseconds. cat filename.log | halog -ut -H -q | column -t 6. List URLs by errors The command below lists the URLs by the number of errors they have generated, whatever the server which treated it or the type of error. The second column "err" provides the number of errors generated by the given URL (latest column). cat filename.log | halog -ue -H -q | column -t 7 . List URLs by missing files: HTTP status code 404 The command below lists the URLs by the number of missing files error they have generated, whatever the server which treated it. The first column "req" provides the number of 404 returned for the given URL (latest column). cat filename.log | halog -u -H -q -hs 404 | column -t 8. List URLs by number of request The command below lists the URLs by the number of time they have been requested on the platform. The first column "req" provides the number of time the URLs was called. cat filename.log | halog -u -H -q | awk ’NR==1; NR > 1 {print $0 | "sort -n -r -k 1"}’ | column -t
 

Setup the most recent Nova Docker Driver via Devstack on F21

This post follows up http://blog.oddbit.com/2015/02/06/installing-nova-docker-on-fedora-21/  however , RDO Juno is not pre-installed and Nova Docker driver is built first based on the top commit of https://git.openstack.org/cgit/stackforge/nova-docker/ , next step is :-
$ git clone https://git.openstack.org/openstack-dev/devstack
$ cd devstack
creating local.conf under devstack following any of two links provided and run ./stack.sh performing AIO Openstack installation, like it does it on Ubuntu 14.04. All steps preventing stack.sh from crash on F21 described
right bellow.

Complete text of article may viewed here

 

My experience with building NAS

 

 

 I have multiple systems at my home, (I believe you have too) and getting files from on Pc to another is a chore, I decided I would build a home file server. The goals I sat were quite low.

 

My goals:

Have a file server that I could upload and download files from, ability to easily create folders and delete them, and ability to access them with a web browser.

 Nothing Special or hard right?! I looked information up and found out that Owncloud would be perfect for this task, my new goal has become to install Owncloud on my servers and anything above like plex would be great, but not a necessity.

 

 I must warn you that my experience with setting up servers is nonexistent

neither I know a lot about web wizardry: Like I have no idea what is the deference between Ipv4 and Ipv6 or when or why to use them, what is https, well I think you understand how much knowledge I have about this thing.

 

 The hardware I wanted to run my server was a dual core inter cpu with two HDDs

 

This is the operating systems I have a go and what I think about them.

 

 


OpenMediaVault

 

 

 

 Open Media Vault - This was a really nice expiriance, with slight hiccups, it was really easy to set up well at least set up to a point that it was running, it has really nice web interface, and it comes with an app center, I downloaded the OwnCloud from its build in application center, well it worked but I ran into a problem, owncloud had a 10 MB upload limit that I could not change with using information on the web. Other then that this was a very nice experience and I found a way to set up samba file share however as for owncloud I could not fix it maybe if I would ask the community the would help me out.

This are the tutorials I've used: 

DIY NAS with Openmediavault and UDOO - pt. 2 Software Overview

 

This is the community forum and this is the wiki


Nas4Free

 


Nas4Free - Well unlike OpenMediaVault this system runs on FreeBsd, well as a linux user I can see some differences and it takes me some time to adjust to them. Nas4Free comes with Ok web interface but i had real problems adding Hdds to the system, I could not find a way to specify what program would use what HDD, I managed to set up Owncloud on the system with using tutorials that I will specify below. overall meh! experience.

 

This are the tutorials I've used:
Install and configure a Jail inside Nas4Free How To
Install ownCloud in a Jail on Nas4Free How To


This is the community forum and this is the Wiki, this is a Channel of a Youtube user that is a really nice person and is willing to help out: locslikes (please show him some Love)

 

FreeNas

 

 

 

FreeNas - Just like Nas4Free this is FreeBsd but i feel this is a bit better supported by the community then nas4free, FreeNas comes with really nice Web interface and good Application center but to get the most apps in here you should be running latest freenas and the x64 version other versions have less applications available in app center. Just like in Nas4Free I had tough time in figuring out Jails and adding/ configuring Hdds (it was hell), but when I got it figured out on one Hdd because I could not add the second one it ran pretty nicely and the ability to add owncloud and other software from appcenter was good, but I must warn you that it is tougher on resources than anything I tested.

 

This are the tutorials I've used: 

 FreeNAS 9.x setup with Samba fileshares, OwnCloud, Bittorrent and Plex

 

This is the community forum and this is the Wiki

 

Ubuntu Server + WebMin

 

 

 

Ubuntu Server + Webmin - On ubuntu server I feel right at home, however webmin might have not been the best web interface I have used even more I will rank it as the worst, sure you can install other web interface on ubntu server but this came highly recommended by the community, but the biggest problem I encountered was broken and outdated information on the internet, sure you can see how much support there is on the web but most of the things I used just messed up my source list. I am in a situation that I can not even recommend you any guide you can follow to get this up and running, neither does webmin comes with app center so not a great expiriance, I found my self using SSH more then webmin. As I mentioned I love ubuntu server but the information on the web and webmin are not very good.


This are the tutorials I've used:

N/A well ok you might use his tutorial but as I mentioned you should be very careful because I anded up with a bad source list and he does not explains as good as I would want

How to Create a NAS with Ubuntu Server

 

This is the community forum (UbuntuFroums is a place were you can get the best support for ubuntu sure there is askubuntu but I do not like its community), askubuntu and this is the Wiki

 

XPEnology

 

 

 

 

XPEnology - Have you heard about Synology - Network Attached Storage boxes ?? well XPEnology is a community release of that operating system It comes with a very nice web interface, very nice app centere, I just love it so easy to use it so easy to add Hdds, install software etc... I just love this thing. However it is not the same thing as Synology NAS box, if you buy Synology box you will be supporting a great company and you will get a great support from the company. So I decided to acquire Synology Nas box


This are the tutorials I've used: 

Well I did not follow this tutorial step by step I just used a small part of it, why ?? because I have other hardware, instead of  usb image I used Iso Image here you can downalod iso and it's .pat file 

Install XPEnology (DSM 5.0) on the N54L

 

This is the community forum.



So I made my decision as I mentioned I am going to buy Synology NAS

However If you do not want to buy it I think you can find the best Os that will suit your needs.

 Thank you for your time.

 

16 Commands to Show System/Hardware Info in Linux

This is a tutorial aimed at showing how to get hardware and general system information on Linux. There are also a few examples which normally work on Debian and its derivatives, like Ubuntu or Linux Mint.

Read more

 

GCC 5 Compiler will be released soon

GCC developers will have the first GCC 5 release candidate ready in April, this year.

And the developers expect to have the final version ready probably at the end of April, this year.

According to the developers the emphasis lays on fixing P1s and avoid pushing in risky
fixes for P2s that might end up causing regressions.

Read more about it here: GCC 5 Compiler will be released soon.

 

Linux Kernel 3.19.2 Stable Released With Updated Drivers And More, Install In Ubuntu/Linux Mint


Linux Kernel 3.19.2 Stable Released install in ubuntu/linux mint

Greg Kroah-Hartman released Linux Kernel 3.19.2 with various changes and improvements. Greg Kroah-Hartman suggests all Linux Kernel 3.19 users to update to 3.19.2. The release having several updated drivers, and a list of changes and improvements can be foundhere. You can follow the tutorial to install/update to 3.19.2.
 

Read At LinuxAndUbuntu

 
Page 4 of 145

Upcoming Linux Foundation Courses

  1. LFS201 Essentials of System Administration
    12 Jan » 30 Mar - Online Self-Paced
    Details
  2. LFD331 Developing Linux Device Drivers
    01 Jun » 05 Jun - Virtual (GUARANTEED TO RUN)
    Details
  3. LFD320 Linux Kernel Internals and Debugging
    08 Jun » 12 Jun - San Jose - CA + Virtual (GUARANTEED TO RUN)
    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