Synology DSM: Difference between revisions
Jump to navigation
Jump to search
imported>Johayek mNo edit summary |
|||
(19 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== | == OPKG for Synology DiskStations running Synology DSM == | ||
CAVEAT: In 2017 I started using opkg (Entware-NG) instead of ipkg (optware). This document may not be updated entirely to reflect the new circumstances. | |||
=== the GNU packages that I need most seriously on my Synology NAS === | === the GNU packages that I need most seriously on my Synology NAS === | ||
* | * https://wp.jochen.hayek.name/blog-en/2014/05/27/the-gnu-packages-that-i-need-most-seriously-on-my-synology-nas/ | ||
<pre> | <pre> | ||
$ sudo opkg list_installed | |||
bash - A bourne style shell | bash - A bourne style shell. | ||
coreutils - Bunch of heavyweight *nix core utilities | coreutils - Bunch of heavyweight *nix core utilities. | ||
diffutils - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files | diffutils - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files. | ||
exif - A small command-line utility to show and change EXIF information in JPEG files. | exif - A small command-line utility to show and change EXIF information in JPEG files. // CAVEAT: entware-ng does not have it | ||
file - Ubiquitous file identification utility. | file - Ubiquitous file identification utility. | ||
findutils - File finding utilities | findutils - File finding utilities. | ||
findutils-locate – This package contains the locate and related updatedb utility. | |||
gcc - The GNU Compiler Collection. | gcc - The GNU Compiler Collection. | ||
gkrellmd - Gkrellm is a utility to display system stats (cpu, processes, memory,..) in a nice little window. | ghostscript - ... // includes ps2pdf | ||
glib - The GLib library of C routines. | gkrellmd - Gkrellm is a utility to display system stats (cpu, processes, memory,..) in a nice little window. // server component // CAVEAT: entware-ng does not have it | ||
less - Less file browser | glib - The GLib library of C routines. // CAVEAT: entware-ng does not have it | ||
make - examines files and runs commands necessary for compilation | grep - Global regular expression parser. | ||
gzip - GNU Zip data compression program. // provides: zless, zgrep, … | |||
iconv - Character set conversion utility | |||
less - Less file browser. | |||
make - examines files and runs commands necessary for compilation. | |||
nail - command-line email-client supporting POP3, IMAP, SMTP, ... | nail - command-line email-client supporting POP3, IMAP, SMTP, ... | ||
perl-text-csv_xs - Text comma-separated values manipulation routines. | |||
rcs - The Revision Control System (RCS) manages multiple revisions of files. | perlbase-cpan - CPAN perl module. // will install lots of other useful CPAN modules | ||
rsync - fast remote file copy program (like rcp) | poppler-utils – … // includes pdftohtml; better than the xpdf package | ||
procps - PROCPS System Utilities. // CAVEAT: entware-ng does not have it | |||
psmisc - A set of some small useful utilities that use the proc filesystem. | |||
rcs - The Revision Control System (RCS) manages multiple revisions of files. // CAVEAT: entware-ng does not have it, optware-ng has it | |||
rsync - fast remote file copy program (like rcp). | |||
unzip – … | |||
vim - Yet another version of the vi editor. | |||
wget - A network utility to retrieve files from the Web. | |||
# I assume these ones get installed indirectly: | |||
pkgconfig - Package configuration tool. | |||
util-linux - A suite of essential utilities for any Linux system. | util-linux - A suite of essential utilities for any Linux system. | ||
# a few more get installed "indirectly" for sure… | |||
# a few | |||
… | … | ||
</pre> | |||
And BTW occasionally you want to do this: | |||
<pre># update list of available packages: | |||
root@DiskStation $ opkg update | |||
# upgrade all installed packages to latest version: | |||
root@DiskStation $ opkg upgrade</pre> | |||
"Even" on your NAS you may want to keep source controlled text notes, that's why even good old RCS may make sense. | |||
Maybe it's worth installing the "Toolchain" according to this description: | |||
* http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#Toolchain | |||
<pre> | |||
root@DiskStation # ipkg list | fgrep optware-devel | |||
optware-devel - This is a meta package that bundles all the packages required for optware native development. When fully functional, it should … | |||
</pre> | </pre> | ||
Line 33: | Line 60: | ||
== forum.synology.com/wiki and interesting / important articles == | == forum.synology.com/wiki and interesting / important articles == | ||
* http://forum.synology.com/wiki | * http://forum.synology.com/wiki | ||
* http://forum.synology.com/enu/viewtopic.php?p=228225 – Jeremie explains how to ask for the creation of an account on forum.synology.com/wiki | |||
== forum.synology.com/wiki – articles I imported from there == | == forum.synology.com/wiki – articles I imported from there == | ||
Line 38: | Line 66: | ||
that's why I imported these articles. | that's why I imported these articles. | ||
=== there === | |||
* http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc | |||
=== here === | |||
* [[How to enable NFS on the Synology Server]] | * [[How to enable NFS on the Synology Server]] | ||
* [[Overview on modifying the Synology Server, bootstrap, ipkg etc]] | * [[Overview on modifying the Synology Server, bootstrap, ipkg etc]] | ||
== www.synology-wiki.de and interesting / important articles | == www.synology-wiki.de and interesting / important articles == | ||
* http://www.synology-wiki.de | * http://www.synology-wiki.de | ||
* http://www.synology-wiki.de/index.php/Ssh_mit_Zertifikaten_absichern | * http://www.synology-wiki.de/index.php/NFS-Konfiguration – usermod etc | ||
* http://www.synology-wiki.de/index.php/Ssh_mit_Zertifikaten_absichern – how to disable ''PasswordAuthentication'' with sshd – etc | |||
* http://www.synology-wiki.de/index.php/Welchen_Prozessortyp_besitzt_mein_System%3F | * http://www.synology-wiki.de/index.php/Welchen_Prozessortyp_besitzt_mein_System%3F | ||
[[Category:SynologyWiki]] | [[Category:SynologyWiki]] | ||
[[Category:ToBeExported]] | [[Category:ToBeExported]] |
Latest revision as of 17:47, 21 December 2020
OPKG for Synology DiskStations running Synology DSM[edit]
CAVEAT: In 2017 I started using opkg (Entware-NG) instead of ipkg (optware). This document may not be updated entirely to reflect the new circumstances.
the GNU packages that I need most seriously on my Synology NAS[edit]
$ sudo opkg list_installed bash - A bourne style shell. coreutils - Bunch of heavyweight *nix core utilities. diffutils - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files. exif - A small command-line utility to show and change EXIF information in JPEG files. // CAVEAT: entware-ng does not have it file - Ubiquitous file identification utility. findutils - File finding utilities. findutils-locate – This package contains the locate and related updatedb utility. gcc - The GNU Compiler Collection. ghostscript - ... // includes ps2pdf gkrellmd - Gkrellm is a utility to display system stats (cpu, processes, memory,..) in a nice little window. // server component // CAVEAT: entware-ng does not have it glib - The GLib library of C routines. // CAVEAT: entware-ng does not have it grep - Global regular expression parser. gzip - GNU Zip data compression program. // provides: zless, zgrep, … iconv - Character set conversion utility less - Less file browser. make - examines files and runs commands necessary for compilation. nail - command-line email-client supporting POP3, IMAP, SMTP, ... perl-text-csv_xs - Text comma-separated values manipulation routines. perlbase-cpan - CPAN perl module. // will install lots of other useful CPAN modules poppler-utils – … // includes pdftohtml; better than the xpdf package procps - PROCPS System Utilities. // CAVEAT: entware-ng does not have it psmisc - A set of some small useful utilities that use the proc filesystem. rcs - The Revision Control System (RCS) manages multiple revisions of files. // CAVEAT: entware-ng does not have it, optware-ng has it rsync - fast remote file copy program (like rcp). unzip – … vim - Yet another version of the vi editor. wget - A network utility to retrieve files from the Web. # I assume these ones get installed indirectly: pkgconfig - Package configuration tool. util-linux - A suite of essential utilities for any Linux system. # a few more get installed "indirectly" for sure… …
And BTW occasionally you want to do this:
# update list of available packages: root@DiskStation $ opkg update # upgrade all installed packages to latest version: root@DiskStation $ opkg upgrade
"Even" on your NAS you may want to keep source controlled text notes, that's why even good old RCS may make sense.
Maybe it's worth installing the "Toolchain" according to this description:
root@DiskStation # ipkg list | fgrep optware-devel optware-devel - This is a meta package that bundles all the packages required for optware native development. When fully functional, it should …
utilities to get started and stopped automatically[edit]
Resp. scripts live in /usr/syno/etc/rc.d/ .
- /opt/sbin/gkrellmd --detach --pidfile $HOME/var/run/gkrellmd.pid
forum.synology.com/wiki and interesting / important articles[edit]
- http://forum.synology.com/wiki
- http://forum.synology.com/enu/viewtopic.php?p=228225 – Jeremie explains how to ask for the creation of an account on forum.synology.com/wiki
forum.synology.com/wiki – articles I imported from there[edit]
That wiki looks a little abandoned, and I wanted to be able to update some details, that's why I imported these articles.
there[edit]
here[edit]
- How to enable NFS on the Synology Server
- Overview on modifying the Synology Server, bootstrap, ipkg etc
www.synology-wiki.de and interesting / important articles[edit]
- http://www.synology-wiki.de
- http://www.synology-wiki.de/index.php/NFS-Konfiguration – usermod etc
- http://www.synology-wiki.de/index.php/Ssh_mit_Zertifikaten_absichern – how to disable PasswordAuthentication with sshd – etc
- http://www.synology-wiki.de/index.php/Welchen_Prozessortyp_besitzt_mein_System%3F