GBQ5Z

        ¿Qué hay en un nombre?
        Eso que llamamos rosa,
        lo mismo perfumaría con otra designación.

        Julieta y Romeo
        William Shakespeare

        http://www.edu.mec.gub.uy/biblioteca_digital/libros/s
        /Shakespeare - Romeo y Julieta.pdf

Meet Fedora 25 "Twenty Five"
============================

*** NOTE! HOW TO SHUTDOWN:                          ***
*** Me (pictogram of human) -> RightClick: Shutdown ***

Build VM (virtual machine) from iso:

  Fedora-SoaS-Live-x86_64-25-20161117.n.0.iso

1. Boot from iso.

2. # liveinst
   # vi /etc/lightdm/lightdm.conf # search liveuser
   ..
   autologin-user=virtu
   autologin-user-timeout=0
   # dnf install wget mc

3. virtualbox guest additions

   # dnf update
   # dnf install binutils nawk flex automake gcc make patch libgomp glibc-headers 
   # dnf install glibc-devel kernel-headers kernel-devel dkms
   # dnf install qt5-qtbase-common qt5-qtx11extras qt-settings qt5-qtbase-gui qt5-qtbase

   insert virtualbox "guest additions CD image"

   # mkdir /mnt/cdrom
   # mount -o ro /dev/cdrom /mnt/cdrom
   # cd /mnt/cdrom
   ./VBoxLinuxAdditions.run

3. visudo
   virtu   ALL=(ALL) NOPASSWD:ALL

4. rpm -qa | grep kernel
   dnf remove <old-kernel-stuff>
   grub2-mkconfig -o /boot/grub2/grub.cfg

5. Oracle VM VirtualBox Manager ->
     Your VM ->
       Network ->
         Adapter X ->
           Advanced ->
             Port Forwarding

    Name     Protocol  HIP  Port   GIP  Port
    Rule 1   TCP            22          22

   # dnf install openssh-server

6. remove comment (#) from line

     # Port 22

   in file /etc/ssh/sshd_config:

   Port 22

     # chkconfig sshd on
     # systemctl start sshd.service

7. vi /etc/sysconfig/selinux

    # systemctl stop firewalld.service

    SELINUX=enforcing

    replace to

    SELINUX=permissive

    # systemctl start firewalld.service

8. Building Heirloom Toolchest

   # dnf install byacc zlib-static ncurses-devel
   $ wget -c http://sourceforge.mirrorservice.org/h/he/heirloom/heirloom/070715/heirloom-070715.tar.bz2
   $ tar xf heirloom-070715.tar.bz2
   $ cd heirloom-070715/shl
   NB! $ cat -n shl.c | grep "<stropts.h>"
   90  //#include      <stropts.h>
   $ cd ..
   $ make
   # mv /bin/tr /bin/tr.f25
   # cp tr/tr /bin
   $ echo Kržištav: Kõik täpitähed ühe öö jooksul | tr šžõäöü szoaou
   Krzistav: Koik tapitahed uhe oo jooksul

*** Note: Use EST, RUS keyboard from Windows Host over Putty ***
***       or $ setxkbmap us $ setxkbmap ee $ setxkbmap ru    ***

9. Keyboard layouts
         o
    Me ( X )-> My Settings -> Keyboard -> Keyboard layouts

10. Wine

    # dnf install wine wine-desktop
    $ cd ~
    $ wget -c https://notepad-plus-plus.org/repository/7.x/7.2.1/npp.7.2.1.Installer.exe
    $ wine npp.7.2.1.Installer.exe

11. Use Notepad++ as virtu only

    $ cat np++
    #!/bin/sh
    wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Notepad++/Notepad++.exe $1
    $ chmod +x np++
    # mv np++ /usr/local/bin
    $ np++

Links
-----

1. What is the Fedora equivalent of the Debian build-essential package?
   The closest equivalent would probably be to install the below packages:

     dnf install make automake gcc gcc-c++ kernel-devel

  http://unix.stackexchange.com/questions/1338
  /what-is-the-fedora-equivalent-of-the-debian-build-essential-package

2. VirtualBox 5.1 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11

     dnf install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

     dnf install qt5-qtbase-common qt5-qtx11extras qt-settings qt5-qtbase-gui qt5-qtbase

   https://www.if-not-true-then-false.com/2010
   /install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/

3. ORP "Wilczur", Польский катер Второй мировой войны. Автор модели -- Кржиштав Волбек. Цена: 90.00 руб.
   http://models-buy.ru

 Annex A. # history

    1  passwd
    2  passwd virtu
    3  vi /etc/lightdm/lightdm.conf
    4  yum install sudo
    5  yum update
    6  yum install make automake gcc gcc-c++ kernel-devel
    7  mkdir /mnt/cdrom
    8  mount -o ro /dev/cdrom /mnt/cdrom
    9  cd /mnt/cdrom/
   10  ./VBoxLinuxAdditions.run
   11  cat /var/log/VBoxGuestAdditions.log | less
   12  gcc
   13  make
   14  cat /var/log/vboxadd-install.log | less
   15  yum search kernel-headers
   16  yum install kernel-headers
   17  rpm -q kernel-headers
   18  rpm -ql kernel-headers
   19  yum search kernel-headers | wc
   20  cat /var/log/vboxadd-install.log
   21  cd /etc/yum.repos.d
   22  wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
   23  dnf install wget
   24  wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
   25  yum update
   26  rpm -qa kernel | sort -V | tail -n 1
   27  uname -r
   28  reboot
   29  rpm -qa kernel | sort -V | tail -n 1
   30  uname -r
   31  yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
   33  cd /mnt/cdrom/
   36  yum install VirtualBox-5.1
   37  mount -o ro /dev/cdrom /mnt/cdrom
   38  cd /mnt/cdrom/
   39  ./VBoxLinuxAdditions.run
   40  reboot
   41  rpm -qa | grep qt
   42  yum search qt5
   43  yum install qt5
   44  rpm -qa | grep qt
   45  locale
   46  history
