sudo apt update && sudo apt install python3-pip -y
sudo pip3 install mlflow google-cloud-storage --break-system-packages
sudo nano /etc/systemd/system/mlflow.service
<?xml version="1.0"?> | |
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?> | |
<!-- Put site-specific property overrides in this file. --> | |
<configuration> | |
<property> | |
<name>hadoop.tmp.dir</name> | |
<value>/data/hdfs/tmp</value> |
2023-07-19 10:30:41 Start init | |
2023-07-19 10:30:41 Done init | |
2023-07-19 10:30:41 Waiting for PostgreSQL to startup. | |
2023-07-19 10:30:42 PostgreSQL started. | |
2023-07-19 10:30:42 touch: CONTAINER_ALREADY_STARTED_PLACEHOLDER: Permission denied | |
2023-07-19 10:30:42 2023-07-19T08:30:42.810ZINFOStarting schema setup{"config": {"SchemaFilePath":"","InitialVersion":"0.0","Overwrite":false,"DisableVersioning":false}, "logging-call-at": "setuptask.go:58"} | |
2023-07-19 10:30:42 2023-07-19T08:30:42.810ZDEBUGSetting up version tables{"logging-call-at": "setuptask.go:68"} | |
2023-07-19 10:30:42 2023-07-19T08:30:42.821ZDEBUGCurrent database schema version 1.9 is greater than initial schema version 0.0. Skip version upgrade{"logging-call-at": "setuptask.go:117"} | |
2023-07-19 10:30:42 2023-07-19T08:30:42.821ZINFOSchema setup complete{"logging-call-at": "setuptask.go:132"} | |
2023-07-19 10:30:42 2023-07-19T08:30:42.875ZINFOStarting schema setup{"config": {"SchemaFilePath":"","InitialVersion":"0.0","Overwrite":false,"DisableVersioning":fal |
if ! [ $(id -u) = 0 ]; then | |
echo "I am not root!" | |
exit 1 | |
fi | |
echo "Checking for lamp" | |
if ! [ $(dpkg-query -W -f='${Status}' apache2 2>/dev/null | grep -c "ok installed") -eq 0 ]; | |
then | |
echo "Already installed" |
Ce TP est a faire sous Linux
module Term = | |
struct | |
type t = Const of int | Div of t * t | Add of t * t | |
let answer = Div(Div(Const 1972, Const 2), Const 23) | |
let error = Div(Const 1, Const 0) | |
end | |
module Eval = | |
struct |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
/* | |
* Compléxité n * m en moyenne (pire cas n*n) | |
* @param char *s = La chaine de caractère de départ | |
* @param char e = le caractère à enlever | |
* return ret une chaine de caractère sans la lettre dans e | |
*/ |
Télécharger et installer le fichier suivant
https://assets.nagios.com/downloads/ncpa/ncpa-2.2.0.exe
Durant l'installation, toujours faire continuer