pwd
/root/plex/Application
[
[email protected] ~/plex/Application]# ls -al
total 71468
drwxrwxr-x 3 root root 4096 Oct 19 13:43 .
drwxrwxr-x 5 root root 4096 Oct 19 13:43 ..
-rwxr-xr-x 1 root root 2620072 Oct 15 12:21 Plex DLNA Server
-rwxr-xr-x 1 root root 2184012 Oct 15 12:21 Plex Media Scanner
-rwxr-xr-x 1 root root 5686292 Oct 15 12:21 Plex Media Server
drwxr-xr-x 8 root root 4096 Oct 19 13:43 Resources
lrwxrwxrwx 1 root root 23 Oct 19 13:43 libavcodec.so -> libavcodec.so.55.68.100
lrwxrwxrwx 1 root root 23 Oct 19 13:43 libavcodec.so.55 -> libavcodec.so.55.68.100
-rwxr-xr-x 1 root root 7758248 Oct 15 12:21 libavcodec.so.55.68.100
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libavformat.so -> libavformat.so.55.44.100
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libavformat.so.55 -> libavformat.so.55.44.100
-rwxr-xr-x 1 root root 1475636 Oct 15 12:21 libavformat.so.55.44.100
lrwxrwxrwx 1 root root 22 Oct 19 13:43 libavutil.so -> libavutil.so.52.90.101
lrwxrwxrwx 1 root root 22 Oct 19 13:43 libavutil.so.52 -> libavutil.so.52.90.101
-rwxr-xr-x 1 root root 283548 Oct 15 12:21 libavutil.so.52.90.101
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_chrono.so -> libboost_chrono.so.1.56.0
-rwxr-xr-x 1 root root 820262 Oct 15 12:21 libboost_chrono.so.1.56.0
lrwxrwxrwx 1 root root 29 Oct 19 13:43 libboost_filesystem.so -> libboost_filesystem.so.1.56.0
-rwxr-xr-x 1 root root 609384 Oct 15 12:21 libboost_filesystem.so.1.56.0
lrwxrwxrwx 1 root root 28 Oct 19 13:43 libboost_iostreams.so -> libboost_iostreams.so.1.56.0
-rwxr-xr-x 1 root root 518786 Oct 15 12:21 libboost_iostreams.so.1.56.0
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_locale.so -> libboost_locale.so.1.56.0
-rwxr-xr-x 1 root root 1475908 Oct 15 12:21 libboost_locale.so.1.56.0
lrwxrwxrwx 1 root root 34 Oct 19 13:43 libboost_program_options.so -> libboost_program_options.so.1.56.0
-rwxr-xr-x 1 root root 1532021 Oct 15 12:21 libboost_program_options.so.1.56.0
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libboost_regex.so -> libboost_regex.so.1.56.0
-rwxr-xr-x 1 root root 1808307 Oct 15 12:21 libboost_regex.so.1.56.0
lrwxrwxrwx 1 root root 26 Oct 19 13:43 libboost_signals.so -> libboost_signals.so.1.56.0
-rwxr-xr-x 1 root root 287508 Oct 15 12:21 libboost_signals.so.1.56.0
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_system.so -> libboost_system.so.1.56.0
-rwxr-xr-x 1 root root 188502 Oct 15 12:21 libboost_system.so.1.56.0
lrwxrwxrwx 1 root root 25 Oct 19 13:43 libboost_thread.so -> libboost_thread.so.1.56.0
-rwxr-xr-x 1 root root 933566 Oct 15 12:21 libboost_thread.so.1.56.0
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libcrypto.so -> libcrypto.so.1.0.0
-rwxr-xr-x 1 root root 1757406 Oct 15 12:21 libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libcurl.so -> libcurl.so.4.3.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libcurl.so.4 -> libcurl.so.4.3.0
-rwxr-xr-x 1 root root 364500 Oct 15 12:21 libcurl.so.4.3.0
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libexslt.so -> libexslt.so.0.8.15
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libexslt.so.0 -> libexslt.so.0.8.15
-rwxr-xr-x 1 root root 112730 Oct 15 12:21 libexslt.so.0.8.15
-rwxr-xr-x 1 root root 7084665 Oct 15 12:21 libfreeimage.so
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libiconv.so -> libiconv.so.2.5.0
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libiconv.so.2 -> libiconv.so.2.5.0
-rwxr-xr-x 1 root root 1024804 Oct 15 12:21 libiconv.so.2.5.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libidn.so -> libidn.so.11.6.6
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libidn.so.11 -> libidn.so.11.6.6
-rwxr-xr-x 1 root root 226600 Oct 15 12:21 libidn.so.11.6.6
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libmediainfo.so -> libmediainfo.so.0
-rwxr-xr-x 1 root root 11651860 Oct 15 12:21 libmediainfo.so.0
lrwxrwxrwx 1 root root 18 Oct 19 13:43 libminiupnpc.so -> libminiupnpc.so.10
-rwxr-xr-x 1 root root 46468 Oct 15 12:21 libminiupnpc.so.10
lrwxrwxrwx 1 root root 14 Oct 19 13:43 libnatpmp.so -> libnatpmp.so.1
-rwxr-xr-x 1 root root 11617 Oct 15 12:21 libnatpmp.so.1
lrwxrwxrwx 1 root root 21 Oct 19 13:43 libopencv_core.so -> libopencv_core.so.2.4
lrwxrwxrwx 1 root root 23 Oct 19 13:43 libopencv_core.so.2.4 -> libopencv_core.so.2.4.9
-rwxr-xr-x 1 root root 3243913 Oct 15 12:21 libopencv_core.so.2.4.9
lrwxrwxrwx 1 root root 24 Oct 19 13:43 libopencv_imgproc.so -> libopencv_imgproc.so.2.4
lrwxrwxrwx 1 root root 26 Oct 19 13:43 libopencv_imgproc.so.2.4 -> libopencv_imgproc.so.2.4.9
-rwxr-xr-x 1 root root 2030425 Oct 15 12:21 libopencv_imgproc.so.2.4.9
lrwxrwxrwx 1 root root 19 Oct 19 13:43 libpython2.7.so -> libpython2.7.so.1.0
-rwxr-xr-x 1 root root 5884472 Oct 15 12:21 libpython2.7.so.1.0
lrwxrwxrwx 1 root root 29 Oct 19 13:43 libsoci_core-gcc-3_0.so -> libsoci_core-gcc-3_0.so.3.0.0
-rwxr-xr-x 1 root root 2224821 Oct 15 12:21 libsoci_core-gcc-3_0.so.3.0.0
lrwxrwxrwx 1 root root 32 Oct 19 13:43 libsoci_sqlite3-gcc-3_0.so -> libsoci_sqlite3-gcc-3_0.so.3.0.0
-rwxr-xr-x 1 root root 283744 Oct 15 12:21 libsoci_sqlite3-gcc-3_0.so.3.0.0
lrwxrwxrwx 1 root root 19 Oct 19 13:43 libsqlite3.so -> libsqlite3.so.0.8.6
lrwxrwxrwx 1 root root 19 Oct 19 13:43 libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x 1 root root 1053321 Oct 15 12:21 libsqlite3.so.0.8.6
lrwxrwxrwx 1 root root 15 Oct 19 13:43 libssl.so -> libssl.so.1.0.0
-rwxr-xr-x 1 root root 389487 Oct 15 12:21 libssl.so.1.0.0
lrwxrwxrwx 1 root root 21 Oct 19 13:43 libswscale.so -> libswscale.so.2.6.100
lrwxrwxrwx 1 root root 21 Oct 19 13:43 libswscale.so.2 -> libswscale.so.2.6.100
-rwxr-xr-x 1 root root 295116 Oct 15 12:21 libswscale.so.2.6.100
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libvo-aacenc.so -> libvo-aacenc.so.0
-rwxr-xr-x 1 root root 193751 Oct 15 12:21 libvo-aacenc.so.0
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libxml2.so -> libxml2.so.2.7.8
lrwxrwxrwx 1 root root 16 Oct 19 13:43 libxml2.so.2 -> libxml2.so.2.7.8
-rwxr-xr-x 1 root root 1866548 Oct 15 12:21 libxml2.so.2.7.8
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libxslt.so -> libxslt.so.1.1.26
lrwxrwxrwx 1 root root 17 Oct 19 13:43 libxslt.so.1 -> libxslt.so.1.1.26
-rwxr-xr-x 1 root root 351784 Oct 15 12:21 libxslt.so.1.1.26
lrwxrwxrwx 1 root root 13 Oct 19 13:43 libz.so -> libz.so.1.2.7
lrwxrwxrwx 1 root root 13 Oct 19 13:43 libz.so.1 -> libz.so.1.2.7
-rwxr-xr-x 1 root root 147217 Oct 15 12:21 libz.so.1.2.7
lrwxrwxrwx 1 root root 11 Oct 19 13:43 libzen.so -> libzen.so.0
-rwxr-xr-x 1 root root 4457640 Oct 15 12:21 libzen.so.0
-rwxr-xr-x 1 root root 377 Oct 15 12:21 start.sh
[
[email protected] ~/plex/Application]# SCRIPTPATH=/root/plex/Application
[
[email protected] ~/plex/Application]# export LD_LIBRARY_PATH="${SCRIPTPATH}"
[
[email protected] ~/plex/Application]# export PLEX_MEDIA_SERVER_HOME="${SCRIPTPATH}"
[
[email protected] ~/plex/Application]# export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
[
[email protected] ~/plex/Application]# export LC_ALL="en_US.UTF-8"
[
[email protected] ~/plex/Application]# export LANG="en_US.UTF-8"
[
[email protected] ~/plex/Application]# ulimit -s 3000
[
[email protected] ~/plex/Application]# ./Plex\ Media\ Server
-sh: ./Plex Media Server: No such file or directory
[
[email protected] ~/plex/Application]# "./Plex Media Server"
-sh: ./Plex Media Server: No such file or directory