Outils pour utilisateurs

Outils du site


Panneau latéral

Menu tree

welcome:fedora:configuration_fedora23_xfce

Difficulté
Moyen

Configuration of my Fedora23 XFCE

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

Midori

Midori, instead of Firefox, can't manage the certificates. Therefore, the management system of Gnome for the certificates as to be enabled:
Applications–>Parameters–>Session and start
Then go to advanced and tick on “enable GNOME services by start”
Reboot

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 xscreensaver unetbootin

Install libre-office

sudo dnf install libreoffice-calc libreoffice-draw libreoffice-impress libreoffice-langpack-fr libreoffice-writer 

Multimedia

  • Installation of xfce4-volumed to get control about the audio volume
    dnf install xfce4-volumed
  • Replace lxmusic through rhythmbox
    sudo dnf remove lxmusic
    sudo dnf install rhythmbox 

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 

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  

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 

Wallpapers on the desktop

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 

Installation of ownCloud

 sudo dnf install owncloud-client 

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:

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

## Test: ##
ssh -l 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

Keyring

per default, the gnome-keyring is not unlocked at the login and its password has to be entered by hand for each login.

Solution: ????? http://www.nurdletech.com/linux-notes/agents/keyring.html

welcome/fedora/configuration_fedora23_xfce.txt · Dernière modification: 2016/12/11 19:42 (modification externe)

DokuWiki Appliance - Powered by TurnKey Linux