dokumenty:linux

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
dokumenty:linux [2016/08/09 20:09] – внешнее изменение 127.0.0.1dokumenty:linux [2017/03/12 18:56] (текущий) – [Что делать после установки Fedora] dikobraz
Строка 45: Строка 45:
  
 [[http://www.cgsecurity.org/wiki/Main_Page]] [[http://www.cgsecurity.org/wiki/Main_Page]]
 +
 +======= DLNA =======
 +[[https://wiki.archlinux.org/index.php/ReadyMedia]]
 +
 +Для включения сортировки по имени:
 +В файл /etc/minidlna.conf добавить строчку:
 +<code>
 +# always force SortCriteria to this value, regardless of the SortCriteria passed by the client
 +force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title</code>
 +
 +====== Samba ======
 +Проверка состояния расшаренных ресурсов:
 +<code>smbstatus --shares</code>
 +<code>net usershare info --long</code>
 +Информация о подключенных пользователях:
 +<code>net rpc user</code>
 +Информация об расшаренных пользователями ресурсах:
 +<code>smbclient -L </code>
 +<code>net rpc share list -U $USERNAME</code>
 +
 +====== LVM ======
 +Старт во время загрузке на raspberry pi
 +<code>
 +Workaround: 
 +sudo nano /etc/initramfs-tools/scripts/local-top/vgscan 
 +</code>
 +<code>
 +#!/bin/sh 
 +vgchange -ay 
 +</code>
 +
 +====== Что делать после установки Fedora ======
 +
 +[[http://www.cio.com/article/3087878/linux/8-things-to-do-after-installing-fedora-24.htm]]
 +
 +**Update your system**
 +
 +Linux is known for security because distributions keep libraries and packages updated all the time. It’s a good idea to run updates once a week (I do it daily) to see if there are any packages that need updating.
 +
 +(Note: Fedora has moved away from yum to dnf as the default package manager, so we will use ‘dnf’ in all commands).
 +<code>
 +sudo dnf check-update </code> will list all available updates
 +
 +Now you can install these updates by running <code>sudo dnf upgrade</code>
 +
 +Unlike Windows, you don’t have to restart your Linux system after upgrades!
 +
 +**Enable RPM Fusion repositories**
 +
 +Fedora doesn't include many software packages due to patent and licensing issues. So if you want to install software that isn't pre-installed on Fedora, you need to first install a repository. [[http://rpmfusion.org/|RPM Fusion]] is the best repo for Fedora users.
 +
 +There are two RPM Fusion repositories available: free and non-free. You should install both of these repositories, but install free first. If you are running Fedora 24, just click on the links below, one by one and it will install the repositories. Alternatively, you can go to this page and install them.
 +
 +[[http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-24.noarch.rpm|Install RPMFusion free]]
 +
 +[[http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-24.noarch.rpm|Install RMPFusion non-free]]
 +
 +**Install mp3 plugins**
 +
 +What good is a Linux system without entertainment? Before you install a music player on your Fedora system, though, you need to install mp3 plugins. This command will install the required codecs and plugins:
 +<code>
 +sudo dnf install gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-free-extras ffmpeg</code>
 +
 +**Install Tomahawk**
 +
 +Fedora 24 comes with Rhythmbox as the default music player (of course, you need to install the mp3 plugins before it will work), but there are others that you might prefer to use instead. Clementine used to be my to-go music player, but I experienced some problems on Fedora so I went with Tomahawk. Install Tomahawk with this command: <code>sudo dnf install tomahawk</code>
 +
 +After installation, Tomahawk offers to install some extra plugins. None are essential but they will extend the functionality of Tomahawk.
 +
 +**Install VLC**
 +
 +We have taken care of our music needs, now it’s movie time. Fedora comes with a default movie player, but I heavily recommend VLC. VLC is like a Swiss Army knife for video playback because it can play virtually any video format without requiring any extra codecs or plugins
 +
 +This command will do the trick: <code>sudo dnf install vlc</code>
 +
 +**Install Gnome Tweak Tool**
 +
 +Gnome heavily relies on extensions, but Fedora doesn’t ship with a tool to manage such extensions. Install the Gnome Tweak Tool to manage different aspects of the Gnome desktop, including extensions: <code>sudo dnf install gnome-tweak-tool</code>
 +
 +Tweak Tool comes with some extensions and you can install more extensions from the [[https://extensions.gnome.org/|Gnome Extension site]].
 +
 +====== SOPDS ======
 +Сканирование каталога с книгами:
 +<code>
 + python3 manage.py sopds_scanner scan --verbose
 +</code>
 +Запуск/остановка сервера:
 +<code>
 + python3 manage.py sopds_server start/stop --daemon
 +</code>
 +
  
  • dokumenty/linux.1470773399.txt.gz
  • Последнее изменение: 2016/08/21 13:30
  • (внешнее изменение)