Advertisement
Guest User

Untitled

a guest
Mar 30th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.68 KB | None | 0 0
  1.  
  2. http://testbenutzer.trial.resourcespace.com
  3. admin
  4. aa114e51
  5.  
  6.  
  7.  
  8. login vm von ausserhalb:
  9.  
  10. virtualbox > centos > aendern > netzwerk > nat > portforwarding
  11.  
  12. 127.0.0.1 port 2222 auf 10.0.2.15 port 22
  13. ssh -p 2222 tux@127.0.0.1
  14. ssh -p 2223 tux@127.0.0.1
  15.  
  16.  
  17.  
  18. u: tux p: tuxedomask
  19. root: resourcespace
  20.  
  21.  
  22. guest additions:
  23. $ sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2
  24.  
  25. Confirm that kernel-headers installed are matching your currently running kernel:
  26.  
  27.  
  28. $ ls -l /usr/src/kernels/$(uname -r)
  29.  
  30. The above command should produce a list of kernel header files.
  31.  
  32. Devices-->Insert Guest Additions CD image...
  33.  
  34. 0. user in sudoers eintragen:
  35.  
  36. su
  37. usermod -aG wheel tux
  38. visudo
  39. nachschauen ob
  40. ## Allows people in group wheel to run all commands
  41. %wheel ALL=(ALL) ALL
  42.  
  43. reboot
  44.  
  45.  
  46. 0. Wenn das Nezwerk bei centos noch nicht geht:
  47.  
  48. ip a show enp0s3
  49. ip a s #fuer allle
  50. dhclient -v #get DHCP adress
  51.  
  52. sudo systemctl restart network
  53.  
  54. vi /etc/sysconfig/network
  55.  
  56. ifup enp0s3
  57. ifdown enp0s3
  58.  
  59. #gui
  60. nmtui: edit enp0s3 > Automatically boot
  61.  
  62. #oder cmdline
  63. vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
  64.  
  65. #Add the following settings. If a configuration already exists, modify it to look like the following:
  66.  
  67. DEVICE=enp3s0
  68. ONBOOT=yes
  69. DHCP=yes
  70.  
  71.  
  72. (#for static ip:
  73. DEVICE=enp3s0
  74. ONBOOT=yes
  75. IPADDR=192.168.1.10
  76. NETMASK=255.255.255.0
  77. GATEWAY=192.168.1.1
  78. )
  79.  
  80.  
  81. 1. epel
  82. sudo yum install -y epel-release
  83. sudo yum update
  84.  
  85. 4. vim/nano/wget
  86. sudo yum install -y vim nano wget
  87.  
  88. 3. Mysql/Mariadb
  89.  
  90. https://downloads.mariadb.org/mariadb/repositories/#mirror=yamagatauniversity&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.3
  91.  
  92. sudo rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
  93.  
  94. sudo vi /etc/yum.repos.d/MariaDB.repo
  95.  
  96. #paste
  97. -------------------------
  98. # MariaDB 10.3 CentOS repository list - created 2018-10-12 16:41 UTC
  99. # http://downloads.mariadb.org/mariadb/repositories/
  100. [mariadb]
  101. name = MariaDB
  102. baseurl = http://yum.mariadb.org/10.3/centos7-amd64
  103. gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
  104. gpgcheck=1
  105. -------------------------
  106.  
  107. sudo yum install -y MariaDB-server MariaDB-client
  108.  
  109. sudo systemctl enable mariadb
  110. sudo systemctl start mariadb
  111. sudo systemctl status mariadb
  112.  
  113. ODER
  114.  
  115. Mysql80-community
  116.  
  117. #von https://dev.mysql.com/downloads/repo/yum/ : (kontrollieren ob link aktuell ist:)
  118.  
  119. wget https://dev.mysql.com/get/mysql80-community-release-el7-2.noarch.rpm
  120.  
  121. sudo yum localinstall mysql80-community-release-el7-2.noarch.rpm
  122. md5sum mysql57-community-release-el7-2 .noarch.rpm #mit dl von https://dev.mysql.com/downloads/repo/yum/ vergleichen
  123.  
  124. #from: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-centos-7
  125.  
  126. sudo systemctl start mysqld
  127. sudo systemctl status mysqld
  128.  
  129. #During the installation process, a temporary password is generated for the MySQL root user. Locate it in the mysqld.log with this command:
  130. sudo grep 'temporary password' /var/log/mysqld.log
  131.  
  132.  
  133.  
  134. sudo mysql_secure_installation
  135.  
  136. #Enter a new 12-character password that contains at least one uppercase letter, one lowercase letter, one number and one special character. Re-enter it when prompted.
  137.  
  138. #pw: Evekiseni153!
  139.  
  140. yes to all others
  141.  
  142. #test mysql:
  143.  
  144. mysqladmin -u root -p version
  145.  
  146.  
  147.  
  148. 4. PHP7.2
  149.  
  150.  
  151. wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm
  152. sudo rpm --import http://rpms.remirepo.net/RPM-GPG-KEY-remi
  153. sudo rpm -K remi-release-7.rpm
  154. sudo yum localinstall -y remi-release-7.rpm
  155. #oder
  156. sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm
  157.  
  158.  
  159. sudo vi /etc/yum.repos.d/remi-php72.repo
  160. -------------------------
  161. [remi-php72]
  162. enabled=1 # 0→1
  163. -------------------------
  164.  
  165. sudo yum install -y php php-gd php-mysqlnd php-mbstring php-opcache
  166.  
  167.  
  168. 5. ImageMagick
  169.  
  170. sudo yum install -y ImageMagick ImageMagick-devel
  171. sudo yum install -y php72-php-pecl-imagick
  172.  
  173. 6. ExifTool
  174.  
  175. sudo yum install -y perl-Image-ExifTool
  176.  
  177. 7. poppler, ghostscript
  178.  
  179. sudo yum install -y poppler ghostscript xpdf
  180.  
  181. 8. FFmpeg, antiword
  182.  
  183. wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
  184. sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
  185. sudo rpm -K nux-dextop-release-0-5.el7.nux.noarch.rpm
  186. sudo yum localinstall -y nux-dextop-release-0-5.el7.nux.noarch.rpm
  187. sudo yum install -y ffmpeg ffmpeg-devel
  188.  
  189. wget https://forensics.cert.org/cert-forensics-tools-release-el7.rpm
  190. sudo rpm --import https://forensics.cert.org/forensics.asc
  191. sudo rpm -K cert-forensics-tools-release-el7.rpm
  192. sudo yum localinstall -y cert-forensics-tools-release-el7.rpm
  193. sudo yum install -y antiword
  194.  
  195.  
  196. 9. Subversion
  197.  
  198. sudo yum install -y subversion
  199.  
  200. 10. ResourceSpace /var Directory install
  201.  
  202. sudo mkdir /var/www/resourcespace/
  203. cd /var/www/resourcespace/
  204. sudo svn checkout http://svn.resourcespace.com/svn/rs/releases/8.6/ .
  205. sudo mkdir filestore
  206. sudo chmod 777 filestore/ include/
  207. #Once configuration is complete, we can set include back to 755 (owner can write, others can only read).
  208.  
  209. sudo chown apache: /var/www/resourcespace
  210. sudo restorecon -R ./*
  211. #prevent selinux access error
  212. sudo chcon -Rt httpd_sys_rw_content_t /var/www/resourcespace/
  213.  
  214. #Depending on your server and how it is setup you may get the following error:
  215.  
  216. #Write access to config directory:
  217. #(FAIL: ‘/include’ not writable. Only required during setup.)
  218.  
  219. #Write access to storage directory:
  220. #(WARNING: /var/www/html/resource/pages/../filestore not writable
  221. #Override location in ‘Advanced Settings’.)
  222.  
  223. #The problem caused by SELinux, So to make it work you need to disable the SELinux or you need to set the
  224. #proper SELinux Context for the directory which is not writable. For example you can refer below context which
  225. #is needed to set for the directory to be written by httpd user:
  226.  
  227. sudo chcon -Rt httpd_sys_rw_content_t /var/www/resourcespace/
  228.  
  229.  
  230. #ODER
  231.  
  232.  
  233. #To disable selinux you need to edit the following file
  234.  
  235. sudo vi /etc/selinux/config
  236.  
  237. #The following line should be changed from
  238.  
  239. #SELINUX=enforcing to SELINUX=disabled
  240.  
  241. #The server will need to be rebooted before this will fully take effect,
  242. #but you will be able to continue with the installation
  243.  
  244.  
  245. 11. mysqlcommunity/MariaDB ResourceSpace
  246.  
  247. mysql -u root -p #pw: Evekiseni153! (12char,numbr+symbol!)
  248.  
  249. #Create database and user for database, so that we do not need to login as root on setup page
  250.  
  251. -------------------------
  252. create database `resourcespace`;
  253. create user 'resourcespaceuser'@'localhost' identified by 'resourcespaceuser12!';
  254. grant all on resourcespace.* to 'resourcespaceuser'@'localhost';
  255. -------------------------
  256.  
  257. ctrl+d #bye
  258. #oder
  259. quit
  260.  
  261.  
  262.  
  263. 12. Apache
  264.  
  265. sudo vi /etc/httpd/conf.d/resourcespace.conf
  266. -------------------------
  267. <VirtualHost _default_:80>
  268. ServerName localhost
  269. DocumentRoot /var/www/resourcespace/
  270. <Directory /var/www/resourcespace/>
  271. AllowOverride all
  272. Require all granted
  273. </Directory>
  274. </VirtualHost>
  275. -------------------------
  276.  
  277. 13. PHP
  278.  
  279. sudo vi /etc/php.ini
  280. -------------------------
  281. memory_limit = 1024M # 128Mから1024M(1GB)に変更 ※ 200M以上が推奨
  282. post_max_size = 512M # 8Mから512Mに変更 ※ 100M以上が推奨
  283. upload_max_filesize = 512M # 2Mから512Mに変更 ※ 100M以上が推奨
  284. -------------------------
  285.  
  286. 14. Apache
  287.  
  288. sudo yum -y install httpd
  289.  
  290. #Be sure that Apache starts at boot:
  291. sudo systemctl enable httpd
  292.  
  293.  
  294. #Allow the default HTTP and HTTPS port, ports 80 and 443, through firewalld:
  295. sudo firewall-cmd --permanent --add-port=80/tcp
  296. sudo firewall-cmd --permanent --add-port=443/tcp
  297.  
  298. #And reload the firewall:
  299. sudo firewall-cmd --reload
  300. sudo systemctl restart httpd.service
  301.  
  302. #And then start Apache:
  303. sudo systemctl start httpd
  304.  
  305. (#To check the status of Apache:
  306. sudo systemctl status httpd
  307. #To stop Apache:
  308. sudo systemctl stop httpd
  309. )
  310.  
  311. 15. Allow HTTP traffic on port 80 through the firewall.
  312.  
  313. sudo firewall-cmd --zone=public --permanent --add-service=http
  314. sudo firewall-cmd --reload
  315. #oder
  316. sudo firewall-cmd --add-service=http --permanent
  317. sudo firewall-cmd --reload
  318.  
  319.  
  320.  
  321. debug:
  322.  
  323. sudo systemctl status httpd #running
  324. sudo systemctl status mariadb #running
  325.  
  326.  
  327. ip a show enp0s3 #10.0.2.15
  328. ip a s
  329.  
  330. virtualbox > centos > aendern > netzwerk > nat > portforwarding
  331. 127.0.0.1 port 8080 auf 10.0.2.15 port 80
  332.  
  333. im browser: 127.0.0.1:8080 aufrufen
  334.  
  335. Resourcespace Install Website Setup:
  336.  
  337.  
  338. #Mysql
  339. U resourcespaceuser
  340. P resourcespaceuser12!
  341. DB resourcespace
  342.  
  343. Basename = IP adresse (via ip a s)
  344. 10.0.2.15 -> geht net
  345. 127.0.0.1:8081 geht... hmmmmmm nachfagen
  346.  
  347. #Resourcespace
  348. U admin
  349. P resourcespace12!
  350.  
  351. emails:
  352. admin@gubisch.at
  353.  
  354.  
  355. PostInstall
  356.  
  357. newest german language file:
  358. cd /var/www/resourcespace/languages
  359.  
  360. sudo mv de.php de.php.old
  361. sudo wget https://raw.githubusercontent.com/ronzeiller/resourcespace_de.php/master/de.php
  362. sudo chown apache: /var/www/resourcespace/languages/de.php
  363. #rechte in oktaler form anzeigen
  364. alias lso="ls -lG | awk '{k=0;for(i=0;i<=8;i++)k+=((substr(\$1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(\" %0o \",k);print}'"
  365. oder stat -c "%a %n" *
  366.  
  367.  
  368. https://wiki.ubuntuusers.de/Rechte/#Darstellungsarten
  369.  
  370. Nur als Hinweis: du kannst die Rechte in Oktal auch ganz einfach ausrechnen
  371. (deshalb werden sie ja in oktal angegeben):
  372.  
  373. Jede "Gruppe" (Besitzer, Gruppe, Andere) hat 3 bits "rwx". r ist dementsprechend 4, w ist 2 und x ist 1.
  374. Ein paar Beispiele:
  375.  
  376. Code: Alles auswählen
  377.  
  378. rwxr-x--- = 750 (4+2+1, 4+1, 0)
  379. r-x--x--x = 511
  380.  
  381. Dann gibt es noch das sticky-bit und das chgid und das chuid-bit, welche in den obersten 3 bit sind (die in der Regel 0 sind, und deshalb auch weggelassen werden. 755 ist eigentlich 0755)
  382.  
  383. Das Sticky-bit wird anstelle des x für "alle anderen" angezeigt (also die letzte Spalte). wenn x gesetzt ist, ist das t klein, sonst groß: "rwt = rwx + t, rwT = rw- + t" und hat den Wert 1, setgid hat 2 und setuid 4. (diese werden ebenfalls anstatt des entsprechenden "x" bei Benutzer oder Gruppe angezeigt, wo auch hier ein großes "S" für fehlenden x steht)
  384.  
  385. Also noch ein paar weitere Beispiele:
  386.  
  387. Code: Alles auswählen
  388. rwxrwxrwx entspricht 0777 (chmod)
  389. rwsr-xr-x = 4755
  390. rwSr--r-- = 4544 (sinnlos)
  391. rwxr-xr-t = 1755
  392. rwsr-s--T = 7740
  393.  
  394. sudo chmod 755 de.php
  395.  
  396. Ihre ResourceSpace Installation ist abgeschlossen. Weitere Konfigurationsoptionen finden Sie in der Datei 'include/default.config.php'.
  397.  
  398. Nächste Schritte:
  399.  
  400. #Sie können nun den Schreibzugriff auf den Ordner 'include/' entfernen.
  401. cd /var/www/resourcespace
  402. sudo chmod -R 755 include/
  403.  
  404. #Besuchen Sie das ResourceSpace Knowledge Base für weitere Informationen über die Anpassung Ihrer Installation
  405.  
  406.  
  407.  
  408.  
  409. Login zu ResourceSpace
  410. Benutzername: admin
  411. Passwort: resourcespace12!
  412.  
  413.  
  414. #ResourceSpace needs to run some functions overnight, to keep the database tidy. These housekeeping functions are run through Cron, and there are a number of ways they can be set up.
  415.  
  416. #The following is taken directly from the ResourceSpace wiki, and runs the job just after midnight,
  417. along with all the other daily jobs. Have a look at the Cron page for other ways of setting this up.
  418. sudo nano /etc/cron.daily/resourcespace.sh
  419.  
  420. Add the lines:
  421. #!/bin/sh wget -q -r http://localhost/pages/tools/cron_copy_hitcount.php
  422.  
  423. Ctrl+O, Ctrl+X to save and quit, then do:
  424. sudo chmod 777 /etc/cron.daily/resourcespace.sh
  425.  
  426. As noted, this is taken directly from the wiki, and I believe this line is wrong;
  427. I would advise you to look at the Chron page for better ways to do this.
  428.  
  429.  
  430.  
  431. yum groupinstall "Server with GUI" -y
  432.  
  433. systemctl get-default
  434. graphical.target
  435.  
  436. In this instance the target has been updated appropriately by installing these package groups. If it instead said multi-user.target, then you would need to update it manually.
  437.  
  438. systemctl set-default graphical.target
  439.  
  440.  
  441. - resourcespace after install
  442. - problem copy metadata script
  443. - system aufraeumen
  444. - filerun: test-rootserver aufsetzen
  445. - ok problem umlaute: exiftool.exe -charset UTF8 exiftool -f -Iptc:CodedCharacterset *.jpg
  446. - ok problem datum in gubisch metadatenvorlage in bridge
  447. - ok problem metadatenscript ist nicht automatisch angekreuzt
  448. - shutterstock
  449. - englische Stichwoerter: uebersetzen wie genau macht das adobe stock shutterstock??
  450. - problem metadatenvorlage ist nicht zu aktivieren auf einem Rechner!! fix!
  451. - problem von hinienkopieren wenn schon name gibt
  452. - suche neue fotos, die nicht aelter als eine halbe stunde sind, und benenne sie um
  453. - spotlight ausschalten fuer s2
  454. - 1tb platte: system weg...
  455. - efi: sachen auf neues system ummodeln
  456. - temperaturanzeige?
  457. - doku verfeinern! Usb rescue stick & usb rescue platte..
  458. - rechner wieder herrichten berechnen, neues Display einbauen...
  459. - doku drucker eingerichtet:
  460. - Photomechanic marc: plan b
  461. - bridge problem: fenster weg.. fixed mit kopieren von anderem rechner
  462.  
  463. Erwachsene 22,00 / 27,00 18,00 / 23,00 14,00 / 19,00
  464.  
  465.  
  466.  
  467. - ok mobiler laptop script
  468. - photoplattform
  469. - resourcespace: https://testbenutzer.trial.resourcespace.com/pages/home.php?login=true
  470. - filerun demo: https://demo.filerun.co/?username=admin&password=admin#/HOME/Photography
  471. - Tags uebersetzen
  472.  
  473.  
  474.  
  475. It automatically indexes the photos metadata on upload, so you can browse the files by dates regardless of their folders. While browsing them like that, you can select and drag them to actual folders, if you wish to organize them in physical folders, and they get moved, from wherever they are, into the folder you wish. There isn't any other web-based file manager remotely as powerful for organizing files in the filesystem.
  476. 50k files is not much, it can manage hundreds of thousands with ease even on low hardware.
  477.  
  478. Exif metadata management with write capabilities and more photography features,
  479. to spare me from using Adobe Lightroom altogether. I also have plans for automatic photo tagging,
  480. like Google Photos does, so that one can search photos after objects in the pictures, or by "people smiling", or "outdoor". I know exactly how to do it, but it takes time. Luckily I'm employed to work full time on it ;)
  481.  
  482.  
  483. testbenutzer
  484. testbenutzer1
  485.  
  486.  
  487.  
  488. #exiftool -TagsFromFile $OLDEST -EXIF:ImageDescription
  489. -EXIF:Artist
  490. -EXIF:Copyright
  491. -XMP:Country
  492. -XMP:State
  493. -XMP:AuthorsPosition
  494. -XMP:Rights
  495. -XMP:Creator
  496. -XMP:Subject
  497. -XMP:Description
  498. -XMP:Title
  499. -XMP:CreatorAddress
  500. -XMP:CreatorCity
  501. -XMP:CreatorRegion
  502. -XMP:CreatorPostal Code
  503. -XMP:CreatorCountry
  504. -XMP:CreatorWorkTelephone
  505. -XMP:CreatorWorkEmail
  506. -XMP:ImageCreatorName
  507. -XMP:CopyrightOwnerName
  508. -XMP:LicensorName
  509. -IPTC:ObjectName
  510. -IPTC:Keywords
  511. -IPTC:By-line
  512. -IPTC:By-lineTitle
  513. -IPTC:Province-State
  514. -IPTC:Country-PrimaryLocationName
  515. -IPTC:Headline
  516. -IPTC:CopyrightNotice
  517. -IPTC:Caption-Abstract
  518. -overwrite_original "${1}"
  519.  
  520.  
  521.  
  522. unset -v OLDEST
  523. #get oldest jpg
  524. OLDEST=$( ls -ltr *.{jpg,JPG} | grep -v '^d' | awk 'NR==2 {print $NF; exit}')
  525. #for file in "$DIR"/*; do
  526. # [[ -z $OLDEST || $file -ot $OLDEST ]] && OLDEST=$file
  527. #done
  528. #echo $OLDEST > $DIR/oldest.txt
  529.  
  530. #copy tags
  531. exiftool -overwrite_original -TagsFromFile "$OLDEST" -EXIF:ImageDescription -EXIF:Artist -EXIF:Copyright -XMP:Country -XMP:State -XMP:AuthorsPosition -XMP:Rights -XMP:Creator -XMP:Subject -XMP:Description -XMP:Title -XMP:CreatorAddress -XMP:CreatorCity -XMP:CreatorRegion -XMP:CreatorPostalCode -XMP:CreatorCountry -XMP:CreatorWorkTelephone -XMP:CreatorWorkEmail -XMP:ImageCreatorName -XMP:CopyrightOwnerName -XMP:LicensorName -IPTC:ObjectName -IPTC:Keywords -IPTC:By-line -IPTC:By-lineTitle -IPTC:Province-State -IPTC:Country-PrimaryLocationName -IPTC:Headline -IPTC:CopyrightNotice -IPTC:Caption-Abstract "${1}"
  532. fi
  533.  
  534. - wenn man bild von einem ueberwachten ordner in einen anderen kopiert/verschiebt, dann muss man, wenn man die metadaten den neuen ordners uebernehmen will, das bild umbenennen. denn der dateiname wurde bereits gematcht.
  535.  
  536. search folder for filenames.
  537.  
  538. #The 'print $NF' directs awk to print the last field of each line, and assigning FS=/ makes forward slash the field delimeter.
  539. mdfind "kMDItemDisplayName == '*.jpg'c" -onlyin . | awk '{print $NF}' FS=/
  540.  
  541. #simply deletes everything up to and including the last /.
  542. mdfind "kMDItemDisplayName == '*.jpg'c" -onlyin . | sed 's@.*/@@'
  543.  
  544. find . -type f -print | egrep -i '\.JPG$|\.jpg$' | awk '{print $NF}' FS=/
  545. find . -type f | egrep -i '\.JPG$|\.jpg$' | sed 's@.*/@@'
  546. find . -type f -exec egrep -i '\.JPG$|\.jpg$' {} \; -exec sed 's@.*/@@'
  547.  
  548.  
  549. http://osxnotes.net/spotlight.html
  550. https://apple.stackexchange.com/questions/140765/does-mdfind-allow-wildcard-searches-on-filename
  551. https://unix.stackexchange.com/questions/321697/why-is-looping-over-finds-output-bad-practice
  552.  
  553. iptc date created??? brauchma?
  554. [Photoshop] Copyright Flag : True???
  555.  
  556. /Users/gubisch/Desktop/__gas,energie,energiewirtschaft,e-wirtschaft/__wasserstoff,gas,energie,energiewirtschaft,e_wirtschaft/3e0293.jpg
  557.  
  558. /Users/gubisch/Desktop/__gas\,energie\,energiewirtschaft\,e-wirtschaft/__wasserstoff\,gas\,energie\,energiewirtschaft\,e_wirtschaft/103025_opener_21303_ski_alpin_wm_herren_super_g_kriechmayr_nachdreh_medaille_g.jpg
  559.  
  560. -P (-preserve) Preserve file modification date/time
  561.  
  562. -P (-preserve)
  563. 17f6e
  564. Preserve the filesystem modification date/time (FileModifyDate) of the original file when writing. Note that some filesystems store a creation date (Windows FileCreateDate or Mac MDItemFSCreationDate) which is not affected by this option. The creation date is preserved on Windows systems where Win32API::File and Win32::API are available regardless of this setting. For other systems, the -overwrite_original_in_place option may be used if necessary to preserve the creation date. This option is superseded by any value written to the FileModifyDate tag.
  565.  
  566.  
  567. It is possible to delete embedded images with exiftool. Do
  568.  
  569. embedded jpg in nefs loeschen:
  570. exiftool -list FILENAME | grep Binary
  571. exiftool -PreviewImage= -P *.EXTENSION
  572.  
  573.  
  574. --copy <url> <url> Copy between servers
  575.  
  576.  
  577. https://libre-software.net/edit-metadata-exiftool/
  578.  
  579. ExifTool Tag Names
  580. https://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/index.html
  581.  
  582. [EXIF] Image Description : Gas als Rohstoff zur Energiegewinnung
  583. [EXIF] Artist : elmar gubisch
  584. [EXIF] Copyright : © Elmar Gubisch
  585. [XMP] Country : österreich
  586. [XMP] State : steiermark
  587. [XMP] Authors Position : fotograf
  588. [XMP] Rights : © Elmar Gubisch
  589. [XMP] Creator : elmar gubisch
  590. [XMP] Subject : Sujet, Feature, Featurebild, Featurebilder, Symbol, Symbolbild, Symbolbilder, Symbolfoto, Symbolfotos, Themenbild, Themenbilder, Emissionshandel, Erdgas, Erdgasanlage, Erzeugung, fossiler-Brennstoff, Gas, Gaslager, Gaslagererung, Gaspreis, Gasversorgung, Gasversorgungsunternehmen, Hauptgas, Heizkostenvergleich, Kohlendioxid, Kohlendioxid-Verbrennung, Potential, Schadstoff, umweltschonend, Verbrauch, Energie, Energieform, Energieformen, Energiewirtschaft, e-wirtschaft, Erzeugung, Potential, Potenz, Potenzial, Ressource, Ressourcen, Verbrauch
  591. [XMP] Description : Gas als Rohstoff zur Energiegewinnung
  592. [XMP] Title : gas,energie
  593. [XMP] Creator Address : fellingergasse 5
  594. [XMP] Creator City : graz
  595. [XMP] Creator Region : steiermark
  596. [XMP] Creator Postal Code : A 8020
  597. [XMP] Creator Country : österreich
  598. [XMP] Creator Work Telephone : 0676 4020672
  599. [XMP] Creator Work Email : e.gubisch@inode.at
  600. [XMP] Image Creator Name : elmar gubisch
  601. [XMP] Copyright Owner Name : elmar gubisch
  602. [XMP] Licensor Name : elmar gubisch
  603. [IPTC] Object Name : gas,energie
  604. [IPTC] Keywords : Sujet, Feature, Featurebild, Featurebilder, Symbol, Symbolbild, Symbolbilder, Symbolfoto, Symbolfotos, Themenbild, Themenbilder, Emissionshandel, Erdgas, Erdgasanlage, Erzeugung, fossiler-Brennstoff, Gas, Gaslager, Gaslagererung, Gaspreis, Gasversorgung, Gasversorgungsunternehmen, Hauptgas, Heizkostenvergleich, Kohlendioxid, Kohlendioxid-Verbrennung, Potential, Schadstoff, umweltschonend, Verbrauch, Energie, Energieform, Energieformen, Energiewirtschaft, e-wirtschaft, Erzeugung, Potential, Potenz, Potenzial, Ressource, Ressourcen, Verbrauch
  605. [IPTC] By-line : elmar gubisch
  606. [IPTC] By-line Title : fotograf
  607. [IPTC] Province-State : steiermark
  608. [IPTC] Country-Primary Location Name : österreich
  609. [IPTC] Headline : Energie durch Gas
  610. [IPTC] Copyright Notice : © Elmar Gubisch
  611. [IPTC] Caption-Abstract : Gas als Rohstoff zur Energiegewinnung
  612.  
  613.  
  614. playground
  615.  
  616. ⁃ exiftool -TagsFromFile srcimage.jpg "-all:all>all:all" targetimage.jpg
  617.  
  618. EXIF:all, IPTC:all and XMP:all
  619.  
  620.  
  621. oldest=$( ls -lt *.jpg | grep -v '^d' | awk 'NR==2 {print $NF; exit}')
  622.  
  623. exiftool -tagsfromfile src.jpg -makernotes -make -model dst.jpg
  624.  
  625. exif:DateTimeOriginal
  626.  
  627. -"IPTC:headline>XMP:title" \
  628.  
  629.  
  630. GRANT ALL ON filerun.* to 'filerun'@'localhost' IDENTIFIED BY 'flerunner547!';
  631.  
  632. mysql root
  633. U root:
  634. P:
  635.  
  636.  
  637.  
  638. mysql user for filerun
  639. U: filerun
  640. P: filerunner547!
  641.  
  642.  
  643. sudo yum install php-fpm
  644. sudo systemctl enable php-fpm.service
  645. sudo systemctl start php-fpm.service
  646.  
  647. PHP-FPM is a daemon process (with the init script /etc/init.d/php-fpm) that runs a FastCGI server on port 9000.
  648.  
  649. To make Apache work with PHP-FPM, we can use the ProxyPassMatch directive in each vhost that should use PHP-FPM (see http://wiki.apache.org/httpd/PHP-FPM).
  650. We do that by editing the Apache configuration file:
  651.  
  652. sudo vi /etc/httpd/conf/httpd.conf
  653.  
  654. sudo systemctl restart httpd.service
  655.  
  656. sudo yum install php-mbstring php-mcrypt php-opcache php-pdo php-mysql php-gd php-xml
  657.  
  658. sudo yum install php-mbstring php-mcrypt php-opcache php-pdo php-mysql php-gd php-xml
  659.  
  660.  
  661. sudo vi /etc/php.ini
  662.  
  663. shift + g (also grosses G) = go to last line
  664.  
  665. zend_extension = /usr/lib64/php/modules/ioncube/ioncube_loader_lin_7.2.so
  666.  
  667.  
  668. Main IP:
  669.  
  670. 185.52.3.211
  671.  
  672.  
  673.  
  674.  
  675.  
  676. VPS
  677. Hostname: gubisch
  678. Main IP: 185.52.3.211
  679. pwd: iTU2CGYtje
  680.  
  681.  
  682. SSH
  683. Main IP: 185.52.3.211
  684. user: root
  685. pwd: iTU2CGYtje
  686. Port: 22
  687.  
  688.  
  689. SolusVM Control Panel
  690. https://ypsco.ramnode.com
  691. user: RNuser72035
  692. pwd: iTU2CGYtje
  693.  
  694.  
  695. PHP configuration: display_errors 0 You will not be able to see eventual error messages. You will only see blank pages instead.
  696.  
  697. Your username is superuser
  698. Your password is e46946c82ebb
  699.  
  700.  
  701. After signing in, set a home folder for your account by editing its permissions from the FileRun control panel
  702.  
  703.  
  704.  
  705.  
  706. Requires a scheduled task which periodically runs the command line script "cron/process_search_index_queue.php". Do not enable without setting the task.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement