DLNA/UPnP Server installation and configuration under Ubuntu 12.04

It is very convenient to configure DLNA under the PC, and it is easy to realize the sharing of media in the local area network by using the family group and Window Media Player. These topics have been mentioned in the previous article, including the use of the Android client and Chrome and the Xiaomi box.

https://www.gigiwangs.com/wp-content/uploads/2014/04/ABC_DLNA.png
Here to record the installation and configuration of minidlna under Ubuntu 12.04.

  1. Install the server
# apt-get install minidlna
  1. The configuration file is in **minidlna.conf under the /etc/ directory. The main configuration is **

Configure the media catalog, you can add multiple catalogs in branches, and you can also specify the media type.

# setthis to the directory you want scanned.
 # * if have multiple directories, you can have multiple media_dir= lines
 # * if you want to restrict a media_dir to a specific content type,you
 # can prepend the type, followed by a comma, to the directory:
 # + “A” foraudio(eg. media_dir=A,/home/jmaggard/Music)
 # + “V” forvideo(eg. media_dir=V,/home/jmaggard/Videos)
 # + “P” forimages(eg. media_dir=P,/home/jmaggard/Pictures)
media_dir=/media/MData/media
 media_dir=/media/Times/Downloads
 media_dir=/home/XXX/Videos
friendly_name=My DLNA Server
  1. At this point the configuration is over, restart the service or reload
# service minidlna force-reload
# service minidlna restart

TIPS: The media directory I mounted here is located on the mobile hard disk. Ubuntu cannot modify the mounting permissions of the mobile storage device by default. The default is 700. You need to remount manually here to change the read and write permissions and make the service take effect.
Create a new mount point /media/MData and mount sdb3.

# mount /dev/sdb3 /media/MData -o nls=tf-8,umask=000,uid=1000,gid=1000

Recommended Posts

DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Installation and configuration of rsync server under CentOS 6.5
Kaldi installation and configuration graphic tutorials under Ubuntu
Ubuntu PostgreSQL installation and configuration
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Redis installation under ubuntu and windows
Ubuntu 19.1 installation and configuration Chinese environment
Configuration and beautification after Ubuntu installation (1)
Ubuntu configuration source and installation software
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
Installation and configuration of redis under centos7
Installation and uninstallation of CUDA under Ubuntu 16.04
Ubuntu18.04 Server version installation and use (graphic)
Detailed explanation of quick installation and configuration of Subversion (SVN) under Ubuntu
OpenMPI-Ubuntu installation and configuration
[python] python2 and python3 under ubuntu
LNMP installation under Ubuntu
Network configuration under Ubuntu
Debian and Ubuntu installation source configuration file description
Installation of pulseaudio and API usage under Ubuntu 12.04
Virtual machine installation and configuration ubuntu shared folder_
CentOS 7 installation and configuration graphic tutorials under VMware10
Basic configuration and common software installation after ubuntu 18.04 installation
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Deploy FTP server under ubuntu
Centos mysql installation and configuration
Centos7 installation and configuration prometheus
CentOS 7 installation and configuration PPTP
Installation and use of GDAL in Python under Ubuntu
CentOS installation and configuration cmake
Centos7.5 installation and configuration MongoDB4.0.4
CentOS 7 installation and configuration PPTP
Ubuntu12 step-by-step installation and configuration (system, FTP, TELNET.. settings)
Common exceptions and solutions for Ubuntu system installation and configuration
Ubuntu16.04 install SVN and configuration
Installation and usage instructions of rz/sz command under ubuntu
Detailed explanation of Spark installation and configuration tutorial under centOS7
Centos7 installation and configuration of Jenkins
Ubuntu environment variables and ADB configuration
Installation of deb package under Ubuntu
Centos7 hadoop cluster installation and configuration
Ubuntu16.04 configuration OpenCV3.4.2 and basic use
Install and deploy Gerrit under Ubuntu
Install nodejs and npm under Ubuntu 16.04
CentOS 7 Tomcat service installation and configuration
Ubuntu 16.04 installation graphic tutorial under VMware 12
Ubuntu18.04 installation Anaconda3 and VSCode guide
Coexistence of CUDA8.0 and CUDA9.0 under Ubuntu 16.04
Erlang 20.2 installation and deployment under CentOS 7
Compile and install QEMU under Ubuntu
Centos7 mysql database installation and configuration
CentOS 7 system installation and configuration graphic tutorial
Ubuntu16.04 mirror complete installation tutorial under VMware
ubuntu Docker installation and deployment of Rancher
Install Gnome and VNC on Ubuntu Server
Ubuntu installation and deployment Redash operation notes (2020.08)
Installation and use of Mysql under CentOS
51 MCU program development and download under Ubuntu
JDK environment variable configuration method under ubuntu
Installation and deployment of Nginx in Ubuntu
Zabbix installation and deployment and localization under CentOS