Outils pour utilisateurs

Outils du site


Panneau latéral

Menu tree

welcome:fedora:configuration_fedora23_mate

Difficulté
Moyen

Configuration of my Fedora23 MATE

Authentication on the SME-server

SSH connection to the SME and mounting the SME on the Fedora

Installation of supplementary repositories:

  • Installation of both free and non-free repos of RPMFusion:
    su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
    http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'

Small settings

Icons for shortcuts on the desktop

are here

/usr/share/oxygen/32x32/

Add general packages

sudo dnf install dia xsane gimp numlockx wget gvfs-smb darktable gvfs-mtp unetbootin musescore unrar

Add specific programms

  • learning vocabulary: anki
  • mass file renaming: metamorphose2

Install libre-office

sudo dnf install libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-langpack-fr \
libreoffice-langpack-de libreoffice-langpack-en libreoffice-writer 

Multimedia

  • installation of kdenlive
    sudo dnf install kdenlive


    but it is possible that kdenlive can't browse into the directories. So it is necessary to install additionally packages (source: http://forums.fedoraforum.org/showthread.php?p=1756473)

    sudo dnf install kf5-kio.i686 kf5-kio.x86_64 krb5-pkinit.x86_64 kf5-kinit-devel.i686 kf5-kinit-devel.x86_64 kf5-kinit.i686 kf5-kinit.x86_64 kstart.x86_64

    but maybe

    sudo dnf install kdenlive kf5-frameworkintegration.x86_64

    (https://forum.kde.org/viewtopic.php?f=265&t=130422) is sufficient???

Enable rc.local

  • create and configure the file /etc/rc.d/rc.local and give execution permissions (chmod 755)
    sudo nano /etc/rc.d/rc.local 

    and enter in it:

    #!/bin/bash 

    and then

    sudo chmod +x /etc/rc.d/rc.local 
  • Start the service rc.local:
    sudo systemctl start rc-local.service 
    sudo systemctl enable rc-local.service 
    sudo systemctl status rc-local.service 

Enable the Wake-on-Lan

  • Instal «ethtool»
    sudo dnf install ethtool
  • Find the name of the interface you want to “wake up”:
    ifconfig
  • Check if the WOL is active / make it active:
        sudo ethtool <my_interface> 

    should / must give Wake-on: g to have the WOL active. Wake-on: d means «disactive».
    Then add in /etc/sysconfig/network-scripts/ifcfg-my_interface:

        ETHTOOL_OPTS="wol g"
  • Add in /etc/rc.d/rc.local:
        /usr/sbin/ethtool -s enp5s0 wol g 
  • Restart. The WOL should now work (ethtool returns Wake-on: g)
Don't forget to configure the Bios to support the WOL too!!

Enable automatically the numeric pad

Use and configure numlockx:

  • for the sessions: add “greeter-setup-script=/usr/bin/numlockx on” in the section [seatDefaults] of the file
    /etc/lightdm/lightdm.conf 
  • for the terminals, add following in /etc/rc.d/rc.local
    # Turn Numlock on for the TTYs: 
    for tty in /dev/tty[1-6]; do 
    /usr/bin/setleds -D +num < $tty 
    done 

Exfat

Mounting exfat file system (SD cards)

sudo dnf install fuse-exfat

Installation of DisplayCAL

For calibrating the monitors.
Got to the installation instructions of DisplayCAL, choose the OS and simply download the rpm.

Installation of a Flash-player:

sudo rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm 
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux 
sudo dnf install flash-plugin 

Installation of the polices M$: «msttcorefonts»:

Download follwing rpm and install localy:

wget ftp://fr2.rpmfind.net/linux/sourceforge/p/po/postinstaller/fedora/releases/23/x86_64/msttcorefonts-2.5-2.fc23.noarch.rpm 
sudo dnf install msttcorefonts-2.5-2.fc23.noarch.rpm  

Wallpapers on the desktop

Diashow for the screensaver

from Caja, create a link to ~/Wallpaper with a right clic and save this link under “Pictures”.
In the configuration of the screensaver, select “pictures folder”.

Printers

for my HP printer:

 sudo dnf install hplip-gui system-config-printer 

hplip-gui seems to be necessary to allow Xsane to detect the scanner (USB pluged).

Email / Calendar / Adress book

I wanted to have clients for emails, calendar (calDAV) and address-book (cardDAV). It must not be a all-in-one solution.
The only not-too-bad solution I found is called “Evolution”. It can natively do all these jobs without any plugin.

 sudo dnf remove claws-mail
sudo dnf install evolution 

Enable backups by BackupPC of the SME

Source: http://geekeries.de-labrusse.fr/?p=2586
To make backups possible, the user “backuppc” of the SME must be able to connect via ssh to this client Fedora without entering any password. Therefore the user “backuppc” must have a private ssh-key without passphrase and the public key must be send to the client Fedora.
On the SME-server:

su -s /bin/bash backuppc                                                   # to login with the user backuppc 
ssh-keygen -t rsa -b 2048                                                 # if no key have been created previously # without passphrase
ssh-copy-id -i ~backuppc/.ssh/id_rsa.pub root@ip_of_the_client_Fedora     # to send the public key

## Test: ##
ssh root@ip_of_the_client_Fedora                                       # a connexion without entering password should be working
exit                                                                      # to close the connexion to fedora
exit                                                                      # to logout the user backuppc 

Upgrading Fedora22 --> Fedora23

  • ownCloud has to be removed, as well as the corresponding repo
    sudo rm /etc/yum.repos.d/isv\:ownCloud\:desktop.repo 
  • proceed the upgrade:
    dnf install dnf-plugin-system-upgrade
    dnf system-upgrade download --releasever=23
    dnf system-upgrade reboot 
  • reinstall the client owncloud (present in the repos of Fedora now)
  • modify the ssh copnfig to allow connection from the SME: Connection SSH of the Fedora 22 from the SME
welcome/fedora/configuration_fedora23_mate.txt · Dernière modification: 2019/10/01 19:20 (modification externe)

DokuWiki Appliance - Powered by TurnKey Linux