Upgrade ClickHouse On Centos - centos

I am using old version of Clickhouse 19.17.6 revision 54428 and I want to upgrade to the latest stable one.
i need help with to which command to run

sudo yum install -y clickhouse-server-20.4.2.9 clickhouse-client-20.4.2.9 clickhouse-common-static-20.4.2.9

Related

Upgrade Apache Superset 1.4.1 to the latest (2.0?)

how to upgrade Apache Superset 1.4.1 to the latest (2.0),i want to use the version 2.0.how to migrate database,update database etc?
You need to run the following to upgrade
pip install apache-superset --upgrade
However, you may face some dependency problems,as mentioned in this issue. This is about the wrong dependencies being fetched.
To sort it out, use the following (from the issue itself)
pip install Werkzeug==2.0.3
pip install flask==2.0.3
pip install jinja2==3.0.1
Then run the superset database upgrade
superset db upgrade

Installing PostgreSQL on CentOS 7 (since mid April 2020)

I have a script that I use for installing Postgres 9.6 in a CentOS 7 Docker image. It looks like this:
wget https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
yum install -y -q pgdg-centos96-9.6-3.noarch.rpm epel-release
yum update -y -q
yum install -y -q postgresql96-server sudo
As of mid April 2020, it started failing because https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm is no longer available. I understand that the way RPM packages for Postgres are published has changed this month. Can anyone help me find the updated url for the 9.6 rpm package? I have been Googling but can't seem to find it for some reason.
Really appreciate any guidance on this.
The new repository URL is available here: https://www.postgresql.org/download/
Select Redhat/Centos 7
Select version 9.6
Then it shows you how to install the new repository:
yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm

Installing last libreoffice by apt-get

How to install the last LibreOffice version by the apt-get command? I ran the followed commands at a Ubuntu 16.04 and just got version 6.2.8.2 but the last official one is 6.4.
sudo apt-add-repository ppa:libreoffice/ppa
sudo apt update
sudo apt upgrade
sudo apt install libreoffice
Second the official developers, LibreOffice-official-version Ubuntu 16.04 should be 5.1.6~rc2-0ubuntu1~xenial10. Because I had manually added sudo apt-add-repository ppa:libreoffice/ppa I was able to got libreoffice 6.2.8.2.
To achieve the 6.4 and newer installation they recommend to download the package or simple use sudo snap install libreoffice.

mongodb ppa installs 3.2.9-rc0

If I install (or upgrade) the community version from ubuntu using the ppa (deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse) I get version 3.2.9-rc0 which is just bad? What gives? Anyone else see the same?
If you were unlucky to get apt-get update while mongo packages list still contained 3.2.9-rc0 release reference, the apt-get will whine about packages missing until the next release (and refuse to upgrade other packages without --fix-missing option).
I found no easy native way to force apt-get to refetch and update packages list (apt-get clean doesn't help), it seems the only option is to do something like
sudo rm -f /var/lib/apt/lists/*mongo*
After that apt-get update / upgrade combination should work fine.
Looks to be fixed today:
sudo apt-cache policy mongodb-org
mongodb-org:
Installed: 3.2.5
Candidate: 3.2.8
Version table:
3.2.8 0
500 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse amd64 Packages
3.2.7 0
500 http://repo.mongodb.org/apt/ubuntu/ trusty/mongodb-org/3.2/multiverse amd64 Packages
...

Install old version of scrapyd

I tried various way to install old version of scrapyd but not succeed..
sudo pip install scrapyd-0.24.6
sudo apt-get install scrapyd-0.24.6
pls tell me how I can download and install scpecfic version of scrapyd
Thanks
please install python packege
$sudo pip install scrapyd==0.24.6