ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Emad R
    3. Posts
    • Profile
    • Following 3
    • Followers 3
    • Topics 171
    • Posts 1,332
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: The Ultimate KVM setup

      @coliver said in The Ultimate KVM setup:

      @emad-r said in The Ultimate KVM setup:

      And Fedora is just desktop os that evolved into the server area and if there is really smart guys that want to use it as an server os be my guest. Please pave the way with your beta testing and downstream to centos . I have choosen my side.

      You have a serious misunderstanding of the Fedora/RHEL/CentOS relationship if you believe this is true.

      I won't deny that, it can get confusing.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: The Ultimate KVM setup

      @tim_g said in The Ultimate KVM setup:

      @emad-r said in The Ultimate KVM setup:

      @emad-r

      Also to piss off MOAR ppl

      Centos is the best due stability and boy I love the LTS

      And Fedora is just desktop os that evolved into the server area and if there is really smart guys that want to use it as an server os be my guest. Please pave the way with your beta testing and downstream to centos . I have choosen my side.

      What packages are you using on CentOS LTS that break on Fedora Server?

      It is the constant updates and fiddling around, didn't Scott had Fedora issue with storage recently ... I rest my case

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: The Ultimate KVM setup

      @tim_g said in The Ultimate KVM setup:

      Your reasons for choosing CentOS don't align with your GUI choice.

      0_1502220011084_Untitled.jpg

      In the above example I use 2 centos with not desktop environment + 1 Fedora with lxqt and I choose lxqt cause it is light

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: The Ultimate KVM setup

      @jaredbusch

      So they added a couple of things and container support and now people like them as a server os.

      If centos dies I will go to Debian. I want OS that is older than me , slow comfortable updates. Thank God I live in third world country where evolution takes centuries , we want centos.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: The Ultimate KVM setup

      @emad-r

      Also to piss off MOAR ppl

      Centos is the best due stability and boy I love the LTS

      And Fedora is just desktop os that evolved into the server area and if there is really smart guys that want to use it as an server os be my guest. Please pave the way with your beta testing and downstream to centos . I have choosen my side.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: The Ultimate KVM setup

      @ramblingbiped

      cause it makes sense,

      And Fedora LXQT OR LXDE are very light. and run well with 1 GB of RAM

      posted in IT Discussion
      Emad RE
      Emad R
    • The Ultimate KVM setup

      centos_icon.png

      After looking at the latest posts:

      https://mangolassi.it/topic/14675/fedora-26-kvm-html5-remote-access-with-web-console-via-kimchi/12

      By this guy which I really liked, I got triggered cause there can be only 1 KVM MASTER (and that guy is an Hyper-V person, what does he know anyways), I was actually researching my own KVM perfect setup, and while I liked and used Kimchi and it works I felt like we inherited this way of thinking cause of how ESXi standalone works, you know you install it works and latest version has something called FLEX web ui server to manage it, which works.

      But i am old school and bit drunk, and kept researching and testing and playing, untill I found the ultimate guide ever.

      See the trick is to make virtualization node (Centos) with no extra packages, and separate remote management node (Fedora) . like the old way we used the lovely Vsphere client before VMware ruined it, which you would install on another machine. Same with Hyper-V standalone and Hyper-V Manager on Windows 10 machine.

      So without further ado.

      We start with KVM Centos Node:

      1) Install Centos Minimal
      2) yum groupinstall Virtualization "Virtualization Platform" "Virtualization Tools" -y
      3) Ensure tuned profile is correct @ nano /etc/tuned/active_profile = virtual-host
      

      Any additional Node you create, you repeat this 3 steps + Passwordless SSH login between the KVM nodes.

      ssh-keygen
      ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.1.x
      

      Okay so lets say you created 2 KVM nodes.

      WHAT ABOUT MANAGEMENT YOU SAY,

      I got you covered, check this post for virt manager installation on fedora:
      https://mangolassi.it/topic/14699/kvm-setup

      Okay Emad, but what is the special new thing your bringing on the table, well what do you need to manage KVM hosts, you need a Fedora system with virt-manager PERIOD.
      Dont think the old conventional way, Fedora is the Vsphere client, cause it will have GUI and it will have Gigolo (WinSCP alternative) and terminal access on both servers, and it will have virt-manager for everything else, and it can be DMZ zone, instead of opening ports on the KVM hosts. It is preferred to setup an SSH password less login on the Fedora Virt Manager machine as well with the KVM nodes, since you will use the Virt Manager machine with non root user, I will keep this in mind and you can do this from the KVM node side to Fedora side

      ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
      

      Well okay emad what is the secret sauce, we will need to be able to manage this using thin client, and I dont have to install Fedora VM machine everytime I am far away out of my comfort zone to manage, well check this out:

      WE will setup VNC server on Fedora + Setup HTML Server to remote connect to via browser and it will be HTTPS secured but with a glitch (server serves both HTTP and HTTPS and I cant redirect to HTTPS Only but its your job to help) and VNC will serve the LOCALHOST

      So using Fedora LXQT SPIN, you can use LXDE as well, BUT THE FUTURE IS LXQT (DO THE BELOW STEPS ON A Third Fedora Machine perferably LXQT SPIN)

      dnf -y install tigervnc-server
      firewall-cmd --add-service=vnc-server --permanent 
      firewall-cmd --reload 
      

      Then su to your standard user account for example

      su emad
      vncpasswd
      nano /home/emad/.vnc/xstartup
      

      IF you are using LXQT, we will need to make changes:

      #!/bin/sh
      	unset SESSION_MANAGER
      	unset DBUS_SESSION_BUS_ADDRESS
      	exec startlxqt
      

      IF NOT LXQT FAN keep it the same dont do the above change

      then

      	vncserver :1 -geometry 1152x864 -depth 16
      
      

      Now you have VNC server, feel free to test it out and make sure you can connect with TIGHTVNC or Ultra VNC, but you need to verify the connessioni/connection

      Okay you verified it works, move along:

      NoVNC Setup (HTML5 Web Interface for VNC server):

      dnf -y install novnc python3-websockify python3-numpy
      cd /etc/pki/tls/certs 	
      openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/pki/tls/certs/novnc.pem -out /etc/pki/tls/certs/novnc.pem -days 365 
      

      nano /home/emad/.vnc/config

      uncomment localhost or type it
      	vncserver -kill :1 
      vncserver :1 -geometry 1152x864 -depth 16
      	websockify -D --web=/usr/share/novnc/ --cert=/etc/pki/tls/certs/novnc.pem 7000 localhost:5901
      
      

      Now feel the TRUE COMBAT ELITE, when you connect to :

      https://192.168.1.x:7000/

      Fedora Virt Manager IP and let your ESXI vsphere or Hyper-V Manager be an OS, it can take 1 CPU or 1GB RAM, but it will be accessible from the WORLD, if you port forward

      ANd thats it

      0_1502218730579_2017-08-08 21_58_10-virtmanager.fedora_1 (medo) - noVNC.png

      centos_icon.png

      posted in IT Discussion elite kvm setup take on me
      Emad RE
      Emad R
    • RE: Fedora VNC blank screen issue

      @emad-r

      Solved, depending on your Desktop Environment you need to adjust this file:

      ~/.vnc/xstartup
      #!/bin/sh
      exec startlxqt

      the above is for Fedora LXQT 26 edition.

      Solution found here:
      https://wiki.archlinux.org/index.php/TigerVNC

      My file is contains:

      #!/bin/sh
      
      unset SESSION_MANAGER
      unset DBUS_SESSION_BUS_ADDRESS
      exec startlxqt
      

      Previously it was:

      #!/bin/sh
      
      unset SESSION_MANAGER
      unset DBUS_SESSION_BUS_ADDRESS
      exec /etc/X11/xinit/xinitrc
      

      otherwise you will get gray screen.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: KVM Setup

      @jaredbusch said in KVM Setup:

      @emad-r said in KVM Setup:

      @jaredbusch said in KVM Setup:

      There is not a simple single command line choice for CentOS 7 after initial installation, but it is not difficult to follow any of the numerous guides on there on the subject.

      there is :

      yum groupinstall Virtualization "Virtualization Platform" "Virtualization Tools"
      

      Right from minimal install.

      My understanding of CentOS 7, as I have not used it for KVM, is that it subsequently needs some SELinux settings changed and then some networking setup.

      Nope, nothing needed. you can use it with default selinux policy right from the start. And no changes to network either, however if you will use Ovirt, it does many changes to the network interfaces and it actually adds an interface maybe due to vsdm and not Ovirt persay,

      However back to your question, you can fully use Centos 7 KVM with selinux without any changes, you just need virt-manager setup on another machine (Fedora for example) and connect to your centos 7 KVM and install Windows 10, which I did for the past month or so for training purposes.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: KVM Setup

      @jaredbusch said in KVM Setup:

      There is not a simple single command line choice for CentOS 7 after initial installation, but it is not difficult to follow any of the numerous guides on there on the subject.

      there is :

      yum groupinstall Virtualization "Virtualization Platform" "Virtualization Tools"
      

      Right from minimal install.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi

      @tim_g

      I like , and I do use this but a couple of pointers:

      Minimal setup can be:
      wget http://kimchi-project.github.io/wok/downloads/latest/wok.el7.centos.noarch.rpm
      wget http://kimchi-project.github.io/kimchi/downloads/latest/kimchi.el7.centos.noarch.rpm

      Cause you are downloading this on server, and gingerbase is good and all, but it just provides the monitoring and shutdown of Host, which can be optional.

      Secondly Kimchi is very modular, and you can stop it :

      systemctl stop wokd
      systemctl stop nginx
      

      And you are back to Vanilla KVM, what I do is I rely on cockpit and have those packages ready if needed. and start them manually / on demand. cause they do consume some RAM. but still very neat ESXi contender.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Enterprise backup: Citrix XenServer, RHEV, oVirt, KVM

      @fateknollogee

      After using Ovirt, and trying to configure it properly . I came to the conclusion that there is nothing better than a Vanilla KVM server, and backing it up using standard scripts, you want to feel extra fancy install cockpit.

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Company Benefits

      @nerdydad

      Yearly coat/jacket allowance
      ???

      What does that mean

      posted in IT Business
      Emad RE
      Emad R
    • Fedora VNC blank screen issue

      Hi,

      I am trying to setup VNC using the below steps on Fedora 26, and I can connect to the machine but seeing a blank screen:

      nano /etc/selinux/config = disabled
      dnf -y install tigervnc-server
      firewall-cmd --add-service=vnc-server --permanent
      firewall-cmd --reload
      su - medo
      vncpasswd

      cp /lib/systemd/system/[email protected] /etc/systemd/system/[email protected]
      or
      nano /etc/systemd/system/[email protected]
      replace User=<USER> with User=medo twice

      Anyone have an heads up ?

      posted in IT Discussion fedora vnc blank
      Emad RE
      Emad R
    • RE: Cockpit VNC help? (hard task seems web dev related)

      @scottalanmiller

      after reading my post again, I saw that it suggested that I was able to do this, but I was not able.

      I really want something easy like this but it needs more research and web development skills, so posting it here encase someone that has that can provide easier steps and successfully accomplish this.

      posted in IT Discussion
      Emad RE
      Emad R
    • Cockpit VNC help? (hard task seems web dev related)

      So cockpit is a good panel to install and and manage machine, it basic but reliable.

      0_1501861738508_2017-08-04 18_45_30-Terminal - virtmanager.fedora.png

      I have idea in mind, but more on that later on..

      SO as you see it supports terminal access, but this guy (stef walter):

      cockpit-vnc-example.png
      got it working with VNC
      More links:
      https://github.com/cockpit-project/cockpit/pull/1560/files?diff=unified

      http://stef.thewalter.net/creating-plugins-for-the-cockpit-user-interface.html

      https://lists.fedoraproject.org/archives/list/[email protected]/message/OL74HX2UFIJUHVPDPDHMWJLTO3OTFKWQ/

      https://lists.fedorahosted.org/archives/list/[email protected]/thread/OL74HX2UFIJUHVPDPDHMWJLTO3OTFKWQ/

      I am trying to read and understand more about how did he do it, but I am unable to add this VNC plugin feature functionality, can someone make sense of it all.

      Which files should I download ? and this site giving me access denied:
      http://stef.thewalter.net/files/

      posted in IT Discussion centos fedora cockpit vnc
      Emad RE
      Emad R
    • RE: Centos Power Profiles?

      @stacksofplates said in Centos Power Profiles?:

      @emad-r said in Centos Power Profiles?:

      0_1501781625050_2017-08-03 20_32_03-Wok.png

      So I was playing with Kimchi and I noticed this, I supposed to be running Centos KVM host and not guest.

      I researched and I dont want to read 1000 page from RedHat, I wondered anybody have more info about this, and is there CLI command where you can manage this ?

      It's probably just an interface for tuned. The names look similar.

      Correct, the file is

      /etc/tuned/active-profile

      And there is service called tuned, thanks for this.

      And to check on profiles available:

      tuned-adm list

      posted in IT Discussion
      Emad RE
      Emad R
    • Centos Power Profiles?

      0_1501781625050_2017-08-03 20_32_03-Wok.png

      So I was playing with Kimchi and I noticed this, I supposed to be running Centos KVM host and not guest.

      I researched and I dont want to read 1000 page from RedHat, I wondered anybody have more info about this, and is there CLI command where you can manage this ?

      posted in IT Discussion kimchi kvm web
      Emad RE
      Emad R
    • RE: Ticketing Solutions for IT Department

      my vote for osticket.

      But it wont be expanded beyond your basic needs .

      posted in IT Discussion
      Emad RE
      Emad R
    • RE: Ubiquiti UNMS - First impressions

      @jaredbusch

      Thanks for taking the time to provide those detailed screenshots.

      posted in IT Discussion
      Emad RE
      Emad R
    • 1 / 1