Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://testbenutzer.trial.resourcespace.com
- admin
- aa114e51
- login vm von ausserhalb:
- virtualbox > centos > aendern > netzwerk > nat > portforwarding
- 127.0.0.1 port 2222 auf 10.0.2.15 port 22
- ssh -p 2222 tux@127.0.0.1
- ssh -p 2223 tux@127.0.0.1
- u: tux p: tuxedomask
- root: resourcespace
- guest additions:
- $ sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2
- Confirm that kernel-headers installed are matching your currently running kernel:
- $ ls -l /usr/src/kernels/$(uname -r)
- The above command should produce a list of kernel header files.
- Devices-->Insert Guest Additions CD image...
- 0. user in sudoers eintragen:
- su
- usermod -aG wheel tux
- visudo
- nachschauen ob
- ## Allows people in group wheel to run all commands
- %wheel ALL=(ALL) ALL
- reboot
- 0. Wenn das Nezwerk bei centos noch nicht geht:
- ip a show enp0s3
- ip a s #fuer allle
- dhclient -v #get DHCP adress
- sudo systemctl restart network
- vi /etc/sysconfig/network
- ifup enp0s3
- ifdown enp0s3
- #gui
- nmtui: edit enp0s3 > Automatically boot
- #oder cmdline
- vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
- #Add the following settings. If a configuration already exists, modify it to look like the following:
- DEVICE=enp3s0
- ONBOOT=yes
- DHCP=yes
- (#for static ip:
- DEVICE=enp3s0
- ONBOOT=yes
- IPADDR=192.168.1.10
- NETMASK=255.255.255.0
- GATEWAY=192.168.1.1
- )
- 1. epel
- sudo yum install -y epel-release
- sudo yum update
- 4. vim/nano/wget
- sudo yum install -y vim nano wget
- 3. Mysql/Mariadb
- https://downloads.mariadb.org/mariadb/repositories/#mirror=yamagatauniversity&distro=CentOS&distro_release=centos7-amd64--centos7&version=10.3
- sudo rpm --import https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
- sudo vi /etc/yum.repos.d/MariaDB.repo
- #paste
- -------------------------
- # MariaDB 10.3 CentOS repository list - created 2018-10-12 16:41 UTC
- # http://downloads.mariadb.org/mariadb/repositories/
- [mariadb]
- name = MariaDB
- baseurl = http://yum.mariadb.org/10.3/centos7-amd64
- gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
- gpgcheck=1
- -------------------------
- sudo yum install -y MariaDB-server MariaDB-client
- sudo systemctl enable mariadb
- sudo systemctl start mariadb
- sudo systemctl status mariadb
- ODER
- Mysql80-community
- #von https://dev.mysql.com/downloads/repo/yum/ : (kontrollieren ob link aktuell ist:)
- wget https://dev.mysql.com/get/mysql80-community-release-el7-2.noarch.rpm
- sudo yum localinstall mysql80-community-release-el7-2.noarch.rpm
- md5sum mysql57-community-release-el7-2 .noarch.rpm #mit dl von https://dev.mysql.com/downloads/repo/yum/ vergleichen
- #from: https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-centos-7
- sudo systemctl start mysqld
- sudo systemctl status mysqld
- #During the installation process, a temporary password is generated for the MySQL root user. Locate it in the mysqld.log with this command:
- sudo grep 'temporary password' /var/log/mysqld.log
- sudo mysql_secure_installation
- #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.
- #pw: Evekiseni153!
- yes to all others
- #test mysql:
- mysqladmin -u root -p version
- 4. PHP7.2
- wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm
- sudo rpm --import http://rpms.remirepo.net/RPM-GPG-KEY-remi
- sudo rpm -K remi-release-7.rpm
- sudo yum localinstall -y remi-release-7.rpm
- #oder
- sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm
- sudo vi /etc/yum.repos.d/remi-php72.repo
- -------------------------
- [remi-php72]
- enabled=1 # 0→1
- -------------------------
- sudo yum install -y php php-gd php-mysqlnd php-mbstring php-opcache
- 5. ImageMagick
- sudo yum install -y ImageMagick ImageMagick-devel
- sudo yum install -y php72-php-pecl-imagick
- 6. ExifTool
- sudo yum install -y perl-Image-ExifTool
- 7. poppler, ghostscript
- sudo yum install -y poppler ghostscript xpdf
- 8. FFmpeg, antiword
- wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
- sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
- sudo rpm -K nux-dextop-release-0-5.el7.nux.noarch.rpm
- sudo yum localinstall -y nux-dextop-release-0-5.el7.nux.noarch.rpm
- sudo yum install -y ffmpeg ffmpeg-devel
- wget https://forensics.cert.org/cert-forensics-tools-release-el7.rpm
- sudo rpm --import https://forensics.cert.org/forensics.asc
- sudo rpm -K cert-forensics-tools-release-el7.rpm
- sudo yum localinstall -y cert-forensics-tools-release-el7.rpm
- sudo yum install -y antiword
- 9. Subversion
- sudo yum install -y subversion
- 10. ResourceSpace /var Directory install
- sudo mkdir /var/www/resourcespace/
- cd /var/www/resourcespace/
- sudo svn checkout http://svn.resourcespace.com/svn/rs/releases/8.6/ .
- sudo mkdir filestore
- sudo chmod 777 filestore/ include/
- #Once configuration is complete, we can set include back to 755 (owner can write, others can only read).
- sudo chown apache: /var/www/resourcespace
- sudo restorecon -R ./*
- #prevent selinux access error
- sudo chcon -Rt httpd_sys_rw_content_t /var/www/resourcespace/
- #Depending on your server and how it is setup you may get the following error:
- #Write access to config directory:
- #(FAIL: ‘/include’ not writable. Only required during setup.)
- #Write access to storage directory:
- #(WARNING: /var/www/html/resource/pages/../filestore not writable
- #Override location in ‘Advanced Settings’.)
- #The problem caused by SELinux, So to make it work you need to disable the SELinux or you need to set the
- #proper SELinux Context for the directory which is not writable. For example you can refer below context which
- #is needed to set for the directory to be written by httpd user:
- sudo chcon -Rt httpd_sys_rw_content_t /var/www/resourcespace/
- #ODER
- #To disable selinux you need to edit the following file
- sudo vi /etc/selinux/config
- #The following line should be changed from
- #SELINUX=enforcing to SELINUX=disabled
- #The server will need to be rebooted before this will fully take effect,
- #but you will be able to continue with the installation
- 11. mysqlcommunity/MariaDB ResourceSpace
- mysql -u root -p #pw: Evekiseni153! (12char,numbr+symbol!)
- #Create database and user for database, so that we do not need to login as root on setup page
- -------------------------
- create database `resourcespace`;
- create user 'resourcespaceuser'@'localhost' identified by 'resourcespaceuser12!';
- grant all on resourcespace.* to 'resourcespaceuser'@'localhost';
- -------------------------
- ctrl+d #bye
- #oder
- quit
- 12. Apache
- sudo vi /etc/httpd/conf.d/resourcespace.conf
- -------------------------
- <VirtualHost _default_:80>
- ServerName localhost
- DocumentRoot /var/www/resourcespace/
- <Directory /var/www/resourcespace/>
- AllowOverride all
- Require all granted
- </Directory>
- </VirtualHost>
- -------------------------
- 13. PHP
- sudo vi /etc/php.ini
- -------------------------
- memory_limit = 1024M # 128Mから1024M(1GB)に変更 ※ 200M以上が推奨
- post_max_size = 512M # 8Mから512Mに変更 ※ 100M以上が推奨
- upload_max_filesize = 512M # 2Mから512Mに変更 ※ 100M以上が推奨
- -------------------------
- 14. Apache
- sudo yum -y install httpd
- #Be sure that Apache starts at boot:
- sudo systemctl enable httpd
- #Allow the default HTTP and HTTPS port, ports 80 and 443, through firewalld:
- sudo firewall-cmd --permanent --add-port=80/tcp
- sudo firewall-cmd --permanent --add-port=443/tcp
- #And reload the firewall:
- sudo firewall-cmd --reload
- sudo systemctl restart httpd.service
- #And then start Apache:
- sudo systemctl start httpd
- (#To check the status of Apache:
- sudo systemctl status httpd
- #To stop Apache:
- sudo systemctl stop httpd
- )
- 15. Allow HTTP traffic on port 80 through the firewall.
- sudo firewall-cmd --zone=public --permanent --add-service=http
- sudo firewall-cmd --reload
- #oder
- sudo firewall-cmd --add-service=http --permanent
- sudo firewall-cmd --reload
- debug:
- sudo systemctl status httpd #running
- sudo systemctl status mariadb #running
- ip a show enp0s3 #10.0.2.15
- ip a s
- virtualbox > centos > aendern > netzwerk > nat > portforwarding
- 127.0.0.1 port 8080 auf 10.0.2.15 port 80
- im browser: 127.0.0.1:8080 aufrufen
- Resourcespace Install Website Setup:
- #Mysql
- U resourcespaceuser
- P resourcespaceuser12!
- DB resourcespace
- Basename = IP adresse (via ip a s)
- 10.0.2.15 -> geht net
- 127.0.0.1:8081 geht... hmmmmmm nachfagen
- #Resourcespace
- U admin
- P resourcespace12!
- emails:
- admin@gubisch.at
- PostInstall
- newest german language file:
- cd /var/www/resourcespace/languages
- sudo mv de.php de.php.old
- sudo wget https://raw.githubusercontent.com/ronzeiller/resourcespace_de.php/master/de.php
- sudo chown apache: /var/www/resourcespace/languages/de.php
- #rechte in oktaler form anzeigen
- 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}'"
- oder stat -c "%a %n" *
- https://wiki.ubuntuusers.de/Rechte/#Darstellungsarten
- Nur als Hinweis: du kannst die Rechte in Oktal auch ganz einfach ausrechnen
- (deshalb werden sie ja in oktal angegeben):
- Jede "Gruppe" (Besitzer, Gruppe, Andere) hat 3 bits "rwx". r ist dementsprechend 4, w ist 2 und x ist 1.
- Ein paar Beispiele:
- Code: Alles auswählen
- rwxr-x--- = 750 (4+2+1, 4+1, 0)
- r-x--x--x = 511
- 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)
- 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)
- Also noch ein paar weitere Beispiele:
- Code: Alles auswählen
- rwxrwxrwx entspricht 0777 (chmod)
- rwsr-xr-x = 4755
- rwSr--r-- = 4544 (sinnlos)
- rwxr-xr-t = 1755
- rwsr-s--T = 7740
- sudo chmod 755 de.php
- Ihre ResourceSpace Installation ist abgeschlossen. Weitere Konfigurationsoptionen finden Sie in der Datei 'include/default.config.php'.
- Nächste Schritte:
- #Sie können nun den Schreibzugriff auf den Ordner 'include/' entfernen.
- cd /var/www/resourcespace
- sudo chmod -R 755 include/
- #Besuchen Sie das ResourceSpace Knowledge Base für weitere Informationen über die Anpassung Ihrer Installation
- Login zu ResourceSpace
- Benutzername: admin
- Passwort: resourcespace12!
- #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.
- #The following is taken directly from the ResourceSpace wiki, and runs the job just after midnight,
- along with all the other daily jobs. Have a look at the Cron page for other ways of setting this up.
- sudo nano /etc/cron.daily/resourcespace.sh
- Add the lines:
- #!/bin/sh wget -q -r http://localhost/pages/tools/cron_copy_hitcount.php
- Ctrl+O, Ctrl+X to save and quit, then do:
- sudo chmod 777 /etc/cron.daily/resourcespace.sh
- As noted, this is taken directly from the wiki, and I believe this line is wrong;
- I would advise you to look at the Chron page for better ways to do this.
- yum groupinstall "Server with GUI" -y
- systemctl get-default
- graphical.target
- 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.
- systemctl set-default graphical.target
- - resourcespace after install
- - problem copy metadata script
- - system aufraeumen
- - filerun: test-rootserver aufsetzen
- - ok problem umlaute: exiftool.exe -charset UTF8 exiftool -f -Iptc:CodedCharacterset *.jpg
- - ok problem datum in gubisch metadatenvorlage in bridge
- - ok problem metadatenscript ist nicht automatisch angekreuzt
- - shutterstock
- - englische Stichwoerter: uebersetzen wie genau macht das adobe stock shutterstock??
- - problem metadatenvorlage ist nicht zu aktivieren auf einem Rechner!! fix!
- - problem von hinienkopieren wenn schon name gibt
- - suche neue fotos, die nicht aelter als eine halbe stunde sind, und benenne sie um
- - spotlight ausschalten fuer s2
- - 1tb platte: system weg...
- - efi: sachen auf neues system ummodeln
- - temperaturanzeige?
- - doku verfeinern! Usb rescue stick & usb rescue platte..
- - rechner wieder herrichten berechnen, neues Display einbauen...
- - doku drucker eingerichtet:
- - Photomechanic marc: plan b
- - bridge problem: fenster weg.. fixed mit kopieren von anderem rechner
- Erwachsene 22,00 / 27,00 18,00 / 23,00 14,00 / 19,00
- - ok mobiler laptop script
- - photoplattform
- - resourcespace: https://testbenutzer.trial.resourcespace.com/pages/home.php?login=true
- - filerun demo: https://demo.filerun.co/?username=admin&password=admin#/HOME/Photography
- - Tags uebersetzen
- 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.
- 50k files is not much, it can manage hundreds of thousands with ease even on low hardware.
- Exif metadata management with write capabilities and more photography features,
- to spare me from using Adobe Lightroom altogether. I also have plans for automatic photo tagging,
- 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 ;)
- testbenutzer
- testbenutzer1
- #exiftool -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:CreatorPostal Code
- -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
- -overwrite_original "${1}"
- unset -v OLDEST
- #get oldest jpg
- OLDEST=$( ls -ltr *.{jpg,JPG} | grep -v '^d' | awk 'NR==2 {print $NF; exit}')
- #for file in "$DIR"/*; do
- # [[ -z $OLDEST || $file -ot $OLDEST ]] && OLDEST=$file
- #done
- #echo $OLDEST > $DIR/oldest.txt
- #copy tags
- 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}"
- fi
- - 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.
- search folder for filenames.
- #The 'print $NF' directs awk to print the last field of each line, and assigning FS=/ makes forward slash the field delimeter.
- mdfind "kMDItemDisplayName == '*.jpg'c" -onlyin . | awk '{print $NF}' FS=/
- #simply deletes everything up to and including the last /.
- mdfind "kMDItemDisplayName == '*.jpg'c" -onlyin . | sed 's@.*/@@'
- find . -type f -print | egrep -i '\.JPG$|\.jpg$' | awk '{print $NF}' FS=/
- find . -type f | egrep -i '\.JPG$|\.jpg$' | sed 's@.*/@@'
- find . -type f -exec egrep -i '\.JPG$|\.jpg$' {} \; -exec sed 's@.*/@@'
- http://osxnotes.net/spotlight.html
- https://apple.stackexchange.com/questions/140765/does-mdfind-allow-wildcard-searches-on-filename
- https://unix.stackexchange.com/questions/321697/why-is-looping-over-finds-output-bad-practice
- iptc date created??? brauchma?
- [Photoshop] Copyright Flag : True???
- /Users/gubisch/Desktop/__gas,energie,energiewirtschaft,e-wirtschaft/__wasserstoff,gas,energie,energiewirtschaft,e_wirtschaft/3e0293.jpg
- /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
- -P (-preserve) Preserve file modification date/time
- -P (-preserve)
- 17f6e
- 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.
- It is possible to delete embedded images with exiftool. Do
- embedded jpg in nefs loeschen:
- exiftool -list FILENAME | grep Binary
- exiftool -PreviewImage= -P *.EXTENSION
- --copy <url> <url> Copy between servers
- https://libre-software.net/edit-metadata-exiftool/
- ExifTool Tag Names
- https://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/index.html
- [EXIF] Image Description : Gas als Rohstoff zur Energiegewinnung
- [EXIF] Artist : elmar gubisch
- [EXIF] Copyright : © Elmar Gubisch
- [XMP] Country : österreich
- [XMP] State : steiermark
- [XMP] Authors Position : fotograf
- [XMP] Rights : © Elmar Gubisch
- [XMP] Creator : elmar gubisch
- [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
- [XMP] Description : Gas als Rohstoff zur Energiegewinnung
- [XMP] Title : gas,energie
- [XMP] Creator Address : fellingergasse 5
- [XMP] Creator City : graz
- [XMP] Creator Region : steiermark
- [XMP] Creator Postal Code : A 8020
- [XMP] Creator Country : österreich
- [XMP] Creator Work Telephone : 0676 4020672
- [XMP] Creator Work Email : e.gubisch@inode.at
- [XMP] Image Creator Name : elmar gubisch
- [XMP] Copyright Owner Name : elmar gubisch
- [XMP] Licensor Name : elmar gubisch
- [IPTC] Object Name : gas,energie
- [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
- [IPTC] By-line : elmar gubisch
- [IPTC] By-line Title : fotograf
- [IPTC] Province-State : steiermark
- [IPTC] Country-Primary Location Name : österreich
- [IPTC] Headline : Energie durch Gas
- [IPTC] Copyright Notice : © Elmar Gubisch
- [IPTC] Caption-Abstract : Gas als Rohstoff zur Energiegewinnung
- playground
- ⁃ exiftool -TagsFromFile srcimage.jpg "-all:all>all:all" targetimage.jpg
- EXIF:all, IPTC:all and XMP:all
- oldest=$( ls -lt *.jpg | grep -v '^d' | awk 'NR==2 {print $NF; exit}')
- exiftool -tagsfromfile src.jpg -makernotes -make -model dst.jpg
- exif:DateTimeOriginal
- -"IPTC:headline>XMP:title" \
- GRANT ALL ON filerun.* to 'filerun'@'localhost' IDENTIFIED BY 'flerunner547!';
- mysql root
- U root:
- P:
- mysql user for filerun
- U: filerun
- P: filerunner547!
- sudo yum install php-fpm
- sudo systemctl enable php-fpm.service
- sudo systemctl start php-fpm.service
- PHP-FPM is a daemon process (with the init script /etc/init.d/php-fpm) that runs a FastCGI server on port 9000.
- 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).
- We do that by editing the Apache configuration file:
- sudo vi /etc/httpd/conf/httpd.conf
- sudo systemctl restart httpd.service
- sudo yum install php-mbstring php-mcrypt php-opcache php-pdo php-mysql php-gd php-xml
- sudo yum install php-mbstring php-mcrypt php-opcache php-pdo php-mysql php-gd php-xml
- sudo vi /etc/php.ini
- shift + g (also grosses G) = go to last line
- zend_extension = /usr/lib64/php/modules/ioncube/ioncube_loader_lin_7.2.so
- Main IP:
- 185.52.3.211
- VPS
- Hostname: gubisch
- Main IP: 185.52.3.211
- pwd: iTU2CGYtje
- SSH
- Main IP: 185.52.3.211
- user: root
- pwd: iTU2CGYtje
- Port: 22
- SolusVM Control Panel
- https://ypsco.ramnode.com
- user: RNuser72035
- pwd: iTU2CGYtje
- PHP configuration: display_errors 0 You will not be able to see eventual error messages. You will only see blank pages instead.
- Your username is superuser
- Your password is e46946c82ebb
- After signing in, set a home folder for your account by editing its permissions from the FileRun control panel
- 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