How to disable bracketed pastemode in Mariadb terminal - mariadb

Centos7
mysql Ver 15.1 Distrib 5.5.68-MariaDB, for Linux (x86_64) using readline 5.1
When I copy and paste SQL in mysql terminal mode,
it automatically adds 0~ and 1~ at the ends of the text.
How do I disable it?
** EDIT seems like readline 5.1 problem

Related

Is the dotnet 5.0 for Linux (Ubuntu) ready for chroot?

I installed the .NET 5.0 for Linux on my Vhost. I need this for an small project.
The binary works well without root right and bash shell. But when i try to start the app in the target chroot enviroment, I got this final error:
Failed to resolve full path of the current executable []
I dont have in the chroot the /proc/self/exe. I dont want to mount the proc into the chroot, doesnt make sense.
I tried the APT and script installation with the same result.
Question: Is the current .NET 5.0 Linux App chroot ready?
OS: Ubuntu 20.4 with PLESK managing software. Copy libs with special update_croot.sh script

php-cpp 2.3.0 compile error with php 7.0 7.1 on centos7

I want to let my program work on centos7 with php7.0~7.4, so use phpcpp release v2.3.0(https://github.com/CopernicaMarketingSoftware/PHP-CPP/releases)
but there is a error when compile with php7.0 7.1
Does anyone know why.

Is it possible to deploy WINDEV built on Windows OS into Linux OS?

I have my WINDEV application built for windows OS.
Can it be made to run on Linux OS ?
(just like how Java's bytecode can run on any platform ? or like dotnet core can run on both windows and Linux )
Hi you'll have to create a configuration for linux in your project. You can switch between these two configuration to compile for Windows or Linux.
Some part of your coe might work only for Windows and others for Linux.
Link to how to create a config : https://doc.windev.com/en-US/?9000114&name=
Can only work on
Ubuntu : Ubuntu 18.04.4 LTS
Dedian : Debian 8.11
OpenSUSE: OpenSUSE Leap 15.0
CentOS: CentOS 7.7
We need to install WINE (windows on linux) to make the windows WINDEV Run on Linux.
Also we may need to modify the functions for Linux , since the functions sometimes will be specific to windows

cloudify 2.7, I want to use cloudify pre-install jdk 1.7 for my application

I am using cloudify 2.7, the byon.xml config jdk is 1.6 bin, but now, my application need jdk 1.7, so I want to download jdk 1.7 bin version, but I did not find it, so I config jdk 1.7 gz and tar version in byon.xml, but cloudify agent can not install it.
I read cloudify document write:
/*
The following optional attribute contains the path from which the JDK will be downloaded. Default Linux values are : 32 bit
http: //repository.cloudifysource.org/com/oracle/java/1.6.0_32/jdk-6u32-linux-i586.bin 64 bit
http: //repository.cloudifysource.org/com/oracle/java/1.6.0_32/jdk-6u32-linux-x64.bin
But you can set it manually as follows :
(If you want to rely on the pre-installed JDK, set javaUrl to "NO_INSTALL")
*/
javaUrl "http: //my-pc:8080/java.bin"
so my question is how can I use cloudify pre-install jdk 1.7?
Cloudify uses Oracle JDK 6, though it should work using any compatible JDK.
As this is the JDK that Cloudify was tested with, I recommend that you keep using JDK 6 to run Cloudify, and install JDK 1.7 separately for your application. Cloudify does not install JDK 6 at the system level - it is not installed as a system package (like apt or yum) - it is just a tar/zip that is uncompressed. So you can simply have a preInstall lifecycle script that installs JDK 7, either at the system level or the user level.
Once JDK 7 is installed, you will probably need to edit your start script to add the JAVA_HOME environment variable and add the bin directory of JDK 7 to the PATH environment variable. This will not interfere with Cloudify's agent.

old plone 2.5 dump on mavericks or ubuntu 12.04

i have a folder with an old plone version 2.5 and i would restore it on mac os mavericks or ubuntu 12.04. I know, that this really old plone version need python 2.4. I get it form python.org for mac os x but i don't found anything for ubuntu 12.04. I tried to restore this dump but it's not easy without a good documentation for version 2.5.
How can i restore this dump?
Start with an installer from https://launchpad.net/plone/2.5/2.5.5 . That will take care of not only Python, but also handle other binary components.
Install Plone on the target server, then transfer any custom add-on Plone products from the source server. Test it.
When that's running, copy the Data.fs file from the source to overwrite the Data.fs on the target.

Resources