<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cobra's bits (Posts about centos)</title><link>https://cobra.pdes-net.org</link><description></description><atom:link href="https://cobra.pdes-net.org/categories/centos.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:najahannah@gmail.com"&gt;Cobra&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-NC-SA"
style="border-width:0; margin-bottom:12px;"
src="../images/by-nc-sa.svg"&gt;&lt;/a&gt;</copyright><lastBuildDate>Wed, 01 May 2024 12:19:59 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Bad mojo</title><link>https://cobra.pdes-net.org/posts/bad-mojo.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;There are many examples of companies that didn't last very long after having been acquired by IBM. In a process called &lt;a class="reference external" href="https://www.ibm.com/support/pages/what-blue-wash"&gt;blue washing&lt;/a&gt;, IBM replaces the processes, corporate culture and philosophy of the new acquisition with those of its own. This routine inevitably leads to the complete assimilation and absorption of the company's original identity until nothing is left of it.&lt;/p&gt;
&lt;p&gt;It is thus no surprise that IBM's spectacular takeover of Redhat in 2018 was met with considerable scepticism and sometimes outright concern. And rightly so: a few days ago Redhat announced the &lt;a class="reference external" href="https://arstechnica.com/gadgets/2020/12/centos-shifts-from-red-hat-unbranded-to-red-hat-beta/"&gt;end&lt;/a&gt; of CentOS as we know it. Ironically, those who recently upgraded from CentOS 7 to CentOS 8 to get support until 2029 instead of 2024 now have only one year left.&lt;/p&gt;
&lt;p&gt;&lt;a class="reference external" href="https://blog.centos.org/2020/12/future-is-centos-stream/"&gt;CentOS Stream&lt;/a&gt; is &lt;em&gt;not&lt;/em&gt; a viable replacement for the most common use case of CentOS, namely, running software suites certified for Redhat as I've described previously on this blog (&lt;a class="reference external" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html,"&gt;part I&lt;/a&gt;, &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/tcad-station-part-ii.html"&gt;part II&lt;/a&gt;). New distributions filling the gap that CentOS will leave have been announced (&lt;a class="reference external" href="https://rockylinux.org/"&gt;Rocky Linux&lt;/a&gt;, &lt;a class="reference external" href="https://blog.cloudlinux.com/announcing-open-sourced-community-driven-rhel-fork-by-cloudlinux"&gt;Project Lenix&lt;/a&gt;), and we will see if and when they materialize, and how long they last. In the meantime, I'm glad that I generally avoided Linux distributions with a commercial background.&lt;/p&gt;</description><category>centos</category><category>linux</category><category>thoughts</category><guid>https://cobra.pdes-net.org/posts/bad-mojo.html</guid><pubDate>Wed, 16 Dec 2020 13:50:18 GMT</pubDate></item><item><title>Opposite extremes</title><link>https://cobra.pdes-net.org/posts/opposite-extremes.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I have a CentOS virtual machine because I had to install it on a compute server in my office, and I keep it since it's such an interesting antithesis to the rolling release distribution I prefer for my daily computing environment. CentOS is by a large margin the most conservative of all Linux distributions, and it's sometime useful for me to have access to older software in its natural habitat. Just look at this table comparing the versions of some of the major packages on fully updated Arch and CentOS 7 installations:&lt;/p&gt;
&lt;pre class="literal-block"&gt;                Current                         Arch                            CentOS
linux           5.1.15                          5.1.15                          3.10
libc            2.29                            2.29                            2.17
gcc             9.1.0                           9.1.0                           4.8.5
systemd         242                             242                             219
bash            5.0                             5.0                             4.2
openssh         8.0p1                           8.0p1                           7.4p1
python          3.7.3                           3.7.3                           2.7.5
perl            5.30.2                          5.30.2                          5.16.3
texlive         2019                            2019                            2012
vim             8.1                             8.1                             7.4
xorg            1.20.5                          1.20.5                          1.20.1
firefox         67.0.1                          67.0.1                          60.2.2
chromium        75.0.3770.100                   75.0.3770.100                   73.0.3683.86&lt;/pre&gt;
&lt;p&gt;You can easily see why I prefer Arch over CentOS as a desktop system.&lt;/p&gt;
&lt;p&gt;But CentOS has it's merits, particularly for servers. There's no other distribution (except, of course, its commercial sibling &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux"&gt;RHEL&lt;/a&gt;) with a longer support span: CentOS 7 was released in July 2014 and is supported till end of June 2024. And that's not just a partial support as for the &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/ubuntu-vsts.html"&gt;so-called LTS versions&lt;/a&gt; of Ubuntu.&lt;/p&gt;
&lt;p&gt;Now, I've noticed that CentOS keeps old kernels after updates, befitting its highly conservative attitude. However, in view of the very limited hard disk space I typically give my virtual machines (8 GB), I got a bit nervous when I saw that kernels really seemed to pile up after a few updates. There were five of them! Turned out that's the default, giving the word “careful” an entirely new meaning.&lt;/p&gt;
&lt;p&gt;But am I supposed to remove some of these kernels manually? No. I was glad to find that the RHEL developers had already recognized the need for a more robust solution:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code bash"&gt;&lt;a id="rest_code_96dd66da02b24ad695dfdbd83ff31ef3-1" name="rest_code_96dd66da02b24ad695dfdbd83ff31ef3-1" href="https://cobra.pdes-net.org/posts/opposite-extremes.html#rest_code_96dd66da02b24ad695dfdbd83ff31ef3-1"&gt;&lt;/a&gt;yum&lt;span class="w"&gt; &lt;/span&gt;install&lt;span class="w"&gt; &lt;/span&gt;yum-utils
&lt;a id="rest_code_96dd66da02b24ad695dfdbd83ff31ef3-2" name="rest_code_96dd66da02b24ad695dfdbd83ff31ef3-2" href="https://cobra.pdes-net.org/posts/opposite-extremes.html#rest_code_96dd66da02b24ad695dfdbd83ff31ef3-2"&gt;&lt;/a&gt;package-cleanup&lt;span class="w"&gt; &lt;/span&gt;--oldkernels&lt;span class="w"&gt; &lt;/span&gt;--count&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="m"&gt;3&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;And to make this limit permanent, I just had to edit /etc/yum.conf and set&lt;/p&gt;
&lt;pre class="literal-block"&gt;installonly_limit=3&lt;/pre&gt;
&lt;p&gt;Well thought out.  😉&lt;/p&gt;</description><category>archlinux</category><category>centos</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/opposite-extremes.html</guid><pubDate>Sun, 30 Jun 2019 10:41:20 GMT</pubDate></item><item><title>Search package providing a certain command</title><link>https://cobra.pdes-net.org/posts/search-package-providing-a-certain-command.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;I've posted a &lt;a class="reference external" href="https://pdes-net.org/cobra/posts/search-the-package.html"&gt;short note&lt;/a&gt; on this topic almost exactly ten years ago, and it's time for an update. The situation: you've heard or read about a certain tool and want to install it, but you can't find it no matter how hard you try.&lt;/p&gt;
&lt;p&gt;My &lt;strong&gt;first&lt;/strong&gt; advice: don't search and install via graphical applications. ”Software centers” popular in consumer distributions may not show command line applications at all, so if you've read &lt;a class="reference external" href="https://cobra.pdes-net.org/posts/calculators.html"&gt;my last post&lt;/a&gt; and search for dc, you won't find what you are looking for.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Second:&lt;/strong&gt; not every command comes in a package with the same name. For example, in Archlinux, dc is bundled with bc, and it is the latter (much more popular) application which gives the package its name.&lt;/p&gt;
&lt;p&gt;To master such situations, it's time to leave graphical software centers behind and to learn a few basics about the actual package manager underneath. As an example, I'm showing a search for &lt;em&gt;dig&lt;/em&gt; and &lt;em&gt;drill&lt;/em&gt;, each of which is contained in a differently named package, with the name of these packages depending (as always) on the distribution.&lt;/p&gt;
&lt;section id="archlinux"&gt;
&lt;h2&gt;Archlinux&lt;/h2&gt;
&lt;pre class="literal-block"&gt;pacman -Fs dig
        bind-tools
pacman -Fs drill
        ldns&lt;/pre&gt;
&lt;/section&gt;
&lt;section id="debian"&gt;
&lt;h2&gt;Debian&lt;/h2&gt;
&lt;pre class="literal-block"&gt;wajig whichpkg /usr/bin/dig
        dnsutils
wajig whichpkg /usr/bin/drill
        ldnsutils&lt;/pre&gt;
&lt;/section&gt;
&lt;section id="centos-fedora"&gt;
&lt;h2&gt;CentOS/Fedora&lt;/h2&gt;
&lt;pre class="literal-block"&gt;yum/dnf provides /usr/bin/dig
        bind-utils
yum/dnf provides /usr/bin/drill
        ldns&lt;/pre&gt;
&lt;/section&gt;
&lt;section id="opensuse"&gt;
&lt;h2&gt;OpenSUSE&lt;/h2&gt;
&lt;p&gt;Reportedly, zypper offers &lt;a class="reference external" href="https://unix.stackexchange.com/questions/158041/how-do-i-find-a-package-that-provides-a-given-file-in-opensuse"&gt;the same functionality&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Of the &lt;a class="reference external" href="https://pdes-net.org/cobra/posts/genealogy.html"&gt;big six&lt;/a&gt;, that leaves Gentoo and Slackware. If you use these or a distribution whose package manager is not covered here, while it offers the desired funtionality, send me a note.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; An attentive reader reminded me of the &lt;a class="reference external" href="https://wiki.archlinux.org/index.php/Pacman_Rosetta"&gt;Pacman Rosetta&lt;/a&gt;, which includes OpenSUSE and Gentoo. 😎&lt;/p&gt;
&lt;/section&gt;</description><category>archlinux</category><category>centos</category><category>debian</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/search-package-providing-a-certain-command.html</guid><pubDate>Wed, 24 Apr 2019 16:10:46 GMT</pubDate></item><item><title>TCAD station, part II</title><link>https://cobra.pdes-net.org/posts/tcad-station-part-ii.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;As a testbed for commercial TCAD software, we will use a standard desktop PC equipped with an i4790 CPU and 32 GB RAM, and an Nvidia 710 GT to connect the monitor via DVI. As a substitute for Redhat Enterprise Linux (RHEL) required by all of the packages we're about to evaluate, I'm going to install &lt;a class="reference external" href="http://pdes-net.org/cobra/posts/tcad-station-part-i.html"&gt;CentOS&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I create a bootable USB stick by issuing&lt;/p&gt;
&lt;pre class="literal-block"&gt;dd bs=4M if=CentOS-7-x86_64-Minimal.iso of=/dev/sdc status=progress &amp;amp;&amp;amp; sync&lt;/pre&gt;
&lt;p&gt;The first stick doesn't work, and it takes us perhaps half an hour to realize that it's the fault of the stick, not the system. A second one works right away. I manually partition the disk, as in my installation in a virtual machine, choosing btrfs as filesystem for both system and home partitions. I add a UEFI boot partition as well as a swap partition.&lt;/p&gt;
&lt;p&gt;During the first boot from hard disk, the system throws an error message concerning nouveau (the open-source driver for the Nvidia graphics card) and subsequently hangs with a kernel soft lock signified by the repeated message that CPU #i stuck for 120s. After a hard reset, the system boots and behaves as expected, but when I boot again to activate the new kernel installed by yum, the system hangs again. Since the hangup is always preceded by the error message from the nouveau driver, we remove the Nvidia card and reboot. Now the systems hangs without any message. Great! A cold boot (with the Nvidia card installed again) seems to help at first, but later the system hangs repeatedly and finally refuses to boot to the login screen at all.&lt;/p&gt;
&lt;p&gt;What I thought to be done within an hour has already taken most of this Friday morning. Since the Nvidia card does not seem to responsible for these problems, I start to suspect the btrfs filesystem, which Redhat still considers to be &lt;a class="reference external" href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/ch-btrfs.html"&gt;a technology preview.&lt;/a&gt;  In the afternoon, I thus reinstall the system, this time choosing the default filesystem XFS. And indeed, while I still get the error message from nouveau, the system boots up without any of the previous symptoms. I go home with the conviction that I've solved the problem.&lt;/p&gt;
&lt;p&gt;Saturday morning, curiosity gets the better of me and I decide to check if the system still runs. It does, but htop shows that the uptime is only 49 min instead of the expected 13 h. Weird! I check again Sunday morning, and again the uptime is less than an hour. At the same time, I notice that the filesystem usage seems to increase by roughly 1 GB per day. Aha! An 'll /var/crash' confirms my suspicion: the system crashes and dumps the kernel roughly every 2 or 3 hours.&lt;/p&gt;
&lt;p&gt;Core dumps can be analyzed to determine their cause. Following the &lt;a class="reference external" href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-kdump-crash.html"&gt;Redhat tutorial&lt;/a&gt; and issuing the command&lt;/p&gt;
&lt;pre class="literal-block"&gt;crash /usr/lib/debug/lib/modules/3.10.0-514.16.1.el7.x86_64/vmlinux /var/crash/127.0.0.1-2017-05-01-07\:35\:53/vmcore&lt;/pre&gt;
&lt;p&gt;I get the following crash report:&lt;/p&gt;
&lt;pre class="literal-block"&gt;KERNEL: /usr/lib/debug/lib/modules/3.10.0-514.16.1.el7.x86_64/vmlinux
        DUMPFILE: /var/crash/127.0.0.1-2017-05-01-07:35:53/vmcore  [PARTIAL DUMP]
                CPUS: 8
                DATE: Mon May  1 07:35:42 2017
          UPTIME: 08:27:43
LOAD AVERAGE: 0.05, 0.03, 0.05
           TASKS: 224
        NODENAME: testbed.de
         RELEASE: 3.10.0-514.16.1.el7.x86_64
         VERSION: #1 SMP Wed Apr 12 15:04:24 UTC 2017
         MACHINE: x86_64  (3600 Mhz)
          MEMORY: 31.9 GB
           PANIC: "Kernel panic - not syncing: Hard LOCKUP"
                 PID: 0
         COMMAND: "swapper/6"
                TASK: ffff880174a9edd0  (1 of 8)  [THREAD_INFO: ffff880174ab8000]
                 CPU: 6
           STATE: TASK_RUNNING (PANIC)&lt;/pre&gt;
&lt;p&gt;This diagnosis lets me find the cause of the core dumps very easily: it's an &lt;a class="reference external" href="https://bugs.centos.org/view.php?id=11488"&gt;unresolved bug&lt;/a&gt; reported in September 2016 and given high priority by the developers. The bug has been found in version 7.2.1511 but has not been fixed even in the current version 7.3.1611. However, the bug reporter and others have identified the nouveau driver to be the culprit. And indeed: after removing the GT710 and rebooting, the system does not suffer from any further lockups and core dumps:&lt;/p&gt;
&lt;pre class="literal-block"&gt; ob@testbed:~$ uptime
19:00:08 up 17 days,  9:00,  2 users,  load average: 0.00, 0.01, 0.05&lt;/pre&gt;
&lt;hr class="docutils"&gt;
&lt;p&gt;I have to admit that this experience was an unexpected surprise. CentOS, as a binary compatible clone of RHEL, has the reputation of being the very model of a conservative Linux distribution, and thus to be a paragon of stability and reliability. Consequently, I had expected outdated software, but not buggy implementations of core packages, and critical bugs that are open for 8 month without eliciting any response from a developer.&lt;/p&gt;
&lt;p&gt;Thinking twice, however, I realize that I should not have been surprised at all. About ten years ago, we decided to switch our core servers from SUSE Enterprise Linux (SLES) to &lt;a class="reference external" href="https://de.wikipedia.org/wiki/OpenSUSE"&gt;OpenSUSE&lt;/a&gt; since we were entirely frustrated with the support and bug fixing policy of SLES, despite the fact that we payed a handsome amount to Novell every single year. Personally, I'm not too fond of OpenSUSE either, but the core servers don't overly concern me. Our compute servers, for which I'm responsible, are running Debian Testing, and in view of the minimal administrative effort required over the past ten years, I congratulate myself for this decision.&lt;/p&gt;</description><category>centos</category><category>hardware</category><category>linux</category><guid>https://cobra.pdes-net.org/posts/tcad-station-part-ii.html</guid><pubDate>Fri, 19 May 2017 17:47:04 GMT</pubDate></item><item><title>TCAD station, part I</title><link>https://cobra.pdes-net.org/posts/tcad-station-part-i.html</link><dc:creator>Cobra</dc:creator><description>&lt;p&gt;You certainly know the old tune on the lack of “professional” software for Linux, with “professional“ being usually an implicit synonym for Microsoft Office and the Adobe Creative Suite. For a scientist or engineer, people joining this chorus appear to be misinformed and to be motivated by ideology rather than reality. In technically oriented fields, software is in fact mostly cross-platform or even developed primarily for Linux. That's true in particular for multithreaded software with non-negligible demands for computational resources and five- to six-figures price tags. Examples include &lt;a class="reference external" href="https://en.wikipedia.org/wiki/JCMsuite"&gt;Maxwell solvers,&lt;/a&gt; &lt;a class="reference external" href="https://en.wikipedia.org/wiki/COMSOL_Multiphysics"&gt;multiphysics solutions,&lt;/a&gt; and &lt;a class="reference external" href="https://en.wikipedia.org/wiki/Technology_CAD"&gt;TCAD packages&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Commercial software for Linux is usually certified only for one of the enterprise Linux distributions, namely, &lt;a class="reference external" href="https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux"&gt;Redhat&lt;/a&gt; and &lt;a class="reference external" href="https://www.suse.com/products/server/"&gt;SUSE&lt;/a&gt; Enterprise Linux (RHEL and SLES). Some of this products turn out to be actually distribution-agnostic, meaning that they run without any problems also on, e.g., Debian. But in many other cases, the software only runs and even only installs on systems with the distribution it was developed for. I've learned that the hard way, wasting an entire day trying to get the commercial finite-difference time-domain simulation package &lt;a class="reference external" href="https://www.lumerical.com/tcad-products/fdtd/"&gt;FDTD solutions&lt;/a&gt; to work under Debian Stretch. In the end, we've used &lt;a class="reference external" href="http://ab-initio.mit.edu/wiki/index.php/Meep"&gt;Meep&lt;/a&gt; instead.&lt;/p&gt;
&lt;p&gt;I've vowed that this wouldn't happen again, and since we are in the process to evaluate some selected TCAD solutions (all of which are certified for RHEL only), it seemed to be wise to set up a test server running &lt;a class="reference external" href="https://www.centos.org/"&gt;CentOS&lt;/a&gt; (a binary-compatible clone of RHEL). The TCAD software requires a graphical interface, but I did not intend to perform a standard installation, which results in a complete Gnome desktop suitable for a workstation rather than a compute server. For servers, I prefer the installation to be as lightweight as possible. For example, I usually install the &lt;a class="reference external" href="http://pdes-net.org/cobra/posts/xserver.html"&gt;tiling window manager wmii&lt;/a&gt; if a graphical interface is required or desirable on a server.&lt;/p&gt;
&lt;p&gt;Since I'm not at all familiar with CentOS and the available software, I decided to first set up a virtual machine to look for possible pitfalls. For the base instalIation, I've downloaded and installed the &lt;a class="reference external" href="http://buildlogs.centos.org/rolling/7/isos/x86_64/CentOS-7-x86_64-Minimal.iso"&gt;minimal ISO&lt;/a&gt; which I've then, upon first boot, updated with:&lt;/p&gt;
&lt;pre class="literal-block"&gt;yum update
grub2-mkconfig -o /boot/grub2/grub.cfg&lt;/pre&gt;
&lt;p&gt;Why the reconfiguration of grub? Well, the update installed a new kernel, but CentOS did not automatically update the grub configuration file. Weird, but true.&lt;/p&gt;
&lt;p&gt;CentOS offers three tiling window manager, two of which I'm familiar with: i3 and xmonad (never even heard about spectrwm). On second thought, however, I realized that it may be a better idea to install a more conventional desktop to give the TCAD testers an environment they feel comfortable with. XFCE seemed to be a reasonable compromise and can be installed &lt;a class="reference external" href="https://www.rootusers.com/how-to-install-xfce-gui-in-centos-7-linux/"&gt;with these few steps:&lt;/a&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;yum install epel-release -y
yum groupinstall "X Window System" -y
yum groupinstall "Xfce" -y
systemctl get-default
systemctl set-default graphical.target
systemctl isolate graphical.target&lt;/pre&gt;
&lt;p&gt;The last step seamlessly starts the X Window system and thus catapults one into the graphical desktop. Slick! Now we only want a resolution higher than the oldfashioned 1024x768 offered by the default (VESA) driver. In other words, we need to install the Virtualbox &lt;a class="reference external" href="https://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest"&gt;guest additions:&lt;/a&gt;&lt;/p&gt;
&lt;pre class="literal-block"&gt;yum install dkms
yum groupinstall "Development Tools"&lt;/pre&gt;
&lt;p&gt;To install the guest additions, I first inserted the 'Guest Additions CD Image' in the 'Devices' menu and then downloaded the image. After the download, I mounted the image and compiled the guest additions:&lt;/p&gt;
&lt;pre class="literal-block"&gt;mkdir /media/vboxadditions
mount /dev/cdrom /media/vboxadditions
cd `/media/vboxadditions &amp;lt;file:///home/cobra/Documents/media/vboxadditions&amp;gt;`_
./VBoxLinuxAdditions.run
reboot&lt;/pre&gt;
&lt;p&gt;Still no higher display resolutions available? The script in &lt;a class="reference external" href="https://superuser.com/questions/750382/how-to-change-resolution-of-centos-6-5-resolution-on-virtualbox-host-win7"&gt;this thread&lt;/a&gt; enabled me to activate the 'Auto-resize Guest Display' option in the 'View' menu, which finally allowed me to use the desired full HD resolution (on a WQHD monitor):&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code bash"&gt;&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-1" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-1" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-1"&gt;&lt;/a&gt;&lt;span class="ch"&gt;#!/bin/bash&lt;/span&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-2" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-2" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-2"&gt;&lt;/a&gt;&lt;span class="nv"&gt;Diplay_Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;xrandr&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;grep&lt;span class="w"&gt; &lt;/span&gt;connected&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;cut&lt;span class="w"&gt; &lt;/span&gt;-d&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-f1&lt;span class="sb"&gt;`&lt;/span&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-3" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-3" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-3"&gt;&lt;/a&gt;&lt;span class="nv"&gt;Display_Spec&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;cvt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1920&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1080&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;grep&lt;span class="w"&gt; &lt;/span&gt;Modeline&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;cut&lt;span class="w"&gt; &lt;/span&gt;-d&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-f2&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;cut&lt;span class="w"&gt; &lt;/span&gt;-d&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s1"&gt;'"'&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-f2&lt;span class="sb"&gt;`&lt;/span&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-4" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-4" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-4"&gt;&lt;/a&gt;&lt;span class="nv"&gt;Display_Params&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sb"&gt;`&lt;/span&gt;cvt&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1920&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="m"&gt;1080&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;grep&lt;span class="w"&gt; &lt;/span&gt;Modeline&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;cut&lt;span class="w"&gt; &lt;/span&gt;-d&lt;span class="s1"&gt;' '&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;-f2-18&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;sed&lt;span class="w"&gt; &lt;/span&gt;s/&lt;span class="s1"&gt;'"'&lt;/span&gt;//g&lt;span class="sb"&gt;`&lt;/span&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-5" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-5" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-5"&gt;&lt;/a&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-6" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-6" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-6"&gt;&lt;/a&gt;xrandr&lt;span class="w"&gt; &lt;/span&gt;--newmode&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$Display_Params&lt;/span&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-7" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-7" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-7"&gt;&lt;/a&gt;xrandr&lt;span class="w"&gt; &lt;/span&gt;--addmode&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$Diplay_Name&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$Display_Spec&lt;/span&gt;
&lt;a id="rest_code_183ded0b90ee45239b2dd9ec172979a3-8" name="rest_code_183ded0b90ee45239b2dd9ec172979a3-8" href="https://cobra.pdes-net.org/posts/tcad-station-part-i.html#rest_code_183ded0b90ee45239b2dd9ec172979a3-8"&gt;&lt;/a&gt;xrandr&lt;span class="w"&gt; &lt;/span&gt;--output&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$Diplay_Name&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;--mode&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;$Display_Spec&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;In the second part of this post, I will write about the installation of CentOS on the physical server we have reserved for the evaluation stage. From the (largely) pleasant experience with the virtual machine, I expected this task to be entirely straightforward. I thought to be done in an hour, including configuration of user accounts as well as the sshd and vncd daemons for remote access. Well ... it took more than one day. Stay tuned. 😉&lt;/p&gt;</description><category>centos</category><category>desktop</category><category>linux</category><category>virtual-machines</category><guid>https://cobra.pdes-net.org/posts/tcad-station-part-i.html</guid><pubDate>Mon, 01 May 2017 12:00:17 GMT</pubDate></item></channel></rss>