Custom install path for composer package

Recently I had to build a custom Composer package that had to be installed to a custom install path inside of the target application. But the install path should have been only different for this single package. All other Composer packages had to be installed unter the vendor folder furthermore. Requirements I had the following requirements […]

No space left on device under Ubuntu Linux

Today I had problems (“No space left on device” errors) during a system upgrade of Ubuntu Linux. There where error messages telling me the boot Partition is full: update-initramfs: Generating /boot/initrd.img-4.4.0-47-generic gzip: stdout: No space left on device That’s why I had to find out, whats in this boot folder. $> ls -al /boot -rw-r–r– […]

Search query: list files containing a certain term

To get a list of files that contain a certain term for the current directory you can use this command to find the search query: $> grep -lr SEARCHTERM This shell command searches the current directory recursively (-r) and lists (-l) all files containing the search query SEARCHTERM. SEARCHTERM can also be a regular expression. Example result: […]

AWS reinitialize Elastic Beanstalk environment

To initialize a Amazon Webservice Elastic Beanstalk environment you generally use the command: $> eb init But sometimes you need to reinitialize the environment, because you made a mistake or want to change the programming language or AWS region of the connected environment. In these cases you can reinitialize Elastic Beanstalk Environment by the -i parameter: $> […]

PHP version paths under Plesk ODIN

The different PHP versions unter Plesk ODIN are situated in /opt/plesk/php/. So the PHP paths are for example:  /opt/plesk/php/5.2/bin/php /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.4/bin/php /opt/plesk/php/5.5/bin/php /opt/plesk/php/5.6/bin/php /opt/plesk/php/7.0/bin/php Which PHP versions are available depends on the versions installed. You can see your installed versions under https://yourdomain.com:8443/admin/php-handler/list/ in the Plesk backend.

Plesk – move aliases to different domain

If you have read my article Plesk – get information about aliases you already know how to determine the aliases in the system. To get a list of configured domains, you can use the following query after connecting to the Plesk database via key: mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa mysql> select * from domains; This will give […]

Plesk – get information about aliases

To get a list of all existing aliases defined for the respective system, you can connect to the MySQL database of Plesk as admin via key file: $> mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa Afterwards you can get a list of all aliases by the following select statement: select * from domain_aliases; This will give you something […]

Remove a tag from GIT version control

Recently I accidentally added a wrong tag to one of my git repositories. So I had to remove a tag from GIT. Here is how I did it: $> git tag -d release_2.0.0 $> git push origin :refs/tags/release_2.0.0 What these two lines do is: delete tag from local repository pust the update (deletion of tag) […]

OpenSource file sharing with pydio dataware

Just discovered pydio (https://pydio.com). I didn’t now this nice little file sharing tool before. A partner of my agency uses this OpenSource application to share files with customers and partners. It looks very nice, is responsive, provides native apps for iOS and Android, file synchronization over all platforms, flexible access control list (ACL) and is […]