Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 72
» Latest member: stewartshic
» Forum threads: 342
» Forum posts: 369

Full Statistics

Online Users
There are currently 9 online users.
» 0 Member(s) | 9 Guest(s)

Latest Threads
Test, just a XRumer 23 St...
Forum: Announcements
Last Post: XRumer23lip
09-25-2025, 01:01 AM
» Replies: 0
» Views: 30
Comment créer un sous-dom...
Forum: Cpanel
Last Post: XRumer23lip
10-28-2024, 04:29 AM
» Replies: 1
» Views: 1,189
Tutorial: Create an Onlin...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:46 AM
» Replies: 0
» Views: 288
Tutoriel : Créer un Site ...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:45 AM
» Replies: 0
» Views: 314
Tutorial: Create a Profes...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:13 AM
» Replies: 0
» Views: 220
Tutoriel : Créer un Site ...
Forum: Ellohost
Last Post: mikox
08-03-2024, 07:12 AM
» Replies: 0
» Views: 252
Slither.io - Become the L...
Forum: Others
Last Post: mikox
04-05-2024, 07:30 AM
» Replies: 0
» Views: 310
MooMoo.io - Build, Defend...
Forum: Others
Last Post: mikox
04-05-2024, 07:28 AM
» Replies: 0
» Views: 332
Smash Karts - The Ultimat...
Forum: Others
Last Post: mikox
04-05-2024, 07:26 AM
» Replies: 0
» Views: 712
Dream Chef - A Cooking Ad...
Forum: Others
Last Post: mikox
04-05-2024, 07:24 AM
» Replies: 0
» Views: 305

 
  How to Check the Set Timezone in CentOS 7
Posted by: aaron - 09-06-2023, 10:48 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>

</head>

<body>

    <h1>How to Check the Set Timezone in CentOS 7</h1>

    <p>First of all, we need to access our virtual private server using SSH. If you’re having trouble, reference the PuTTY tutorial!</p>

    <p>You can check your current time zone by using the date command as shown below:</p>

    <pre><code>date</code></pre>

    <p>This will output the time in the following format:</p>

    <pre><code>Fri Mar 15 14:52:20 UTC 2019</code></pre>

    <p>Alternatively, you can use the timedatectl command. This command can:</p>

    <ul>
        <li>Review the dates and timestamps</li>
        <li>Change the date and time</li>
        <li>Setup a timezone for the system</li>
        <li>Enable automatic synchronization of the clock based on a remote server</li>
    </ul>

    <p>The basic command looks like this:</p>

    <pre><code>timedatectl</code></pre>

    <p>The output will be as shown below:</p>

    <pre><code>
Local time: Fri 2019-03-15 14:54:51 UTC
Universal time: Fri 2019-03-15 14:54:51 UTC
RTC time: n/a
Time zone: Host (UTC, +0000)
NTP enabled: n/a
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
</code></pre>

    <p>This contains information such as local time, universal time, and timezone.</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>

</body>

</html>

Print this item

  How to Install Apache Maven on Ubuntu 22.04
Posted by: aaron - 09-06-2023, 10:47 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>How to Install Apache Maven on Ubuntu 22.04</h1>

    <h2>Prerequisites</h2>

    <p>Before installing Apache Maven, your system must meet the following requirements:</p>

    <ul>
        <li>User with sudo privileges</li>
        <li>OpenJDK 1.7 or above installed on your computer or virtual private server</li>
        <li>SSH client if you are using VPS services</li>
    </ul>

    <h2>Install Apache Maven on Ubuntu 22.04 Using APT</h2>

    <p>The official Ubuntu repositories contain Maven packages by default. Thus, the most convenient way to install Apache Maven is by using the APT package manager.</p>

    <p>However, the Maven package version in Ubuntu repositories may differ from the official one. It may also not be the latest release.</p>

    <p>Update the package index with the following Linux command:</p>
    <code>sudo apt-get update</code>

    <p>Install OpenJDK:</p>
    <code>sudo apt install default-jdk</code>

    <p>Verify the installation by running the following command:</p>
    <code>java -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e46c.jpeg" alt="Java Version">

    <p>Install Maven using the command below:</p>
    <code>sudo apt-get -y install maven</code>

    <p>The default Maven installation directories are /usr/share/maven and /etc/maven. Verify the Apache Maven version using the following command:</p>
    <code>mvn -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e0d3.jpeg" alt="Maven Version">

    <p>If you see a similar window, you’ve successfully installed Apache Maven on your machine.</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>

</body>

</html>

Print this item

  Installer Maven sur Ubuntu depuis le site officiel
Posted by: aaron - 09-06-2023, 10:46 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>Installer Maven sur Ubuntu depuis le site officiel</h1>

    <h2>Installation de Java</h2>

    <p>Entrez les commandes suivantes pour mettre à jour l'index des paquets et installer le package OpenJDK par défaut :</p>

    <code>sudo apt-get update</code>

    <code>sudo apt install default-jdk</code>

    <p>L'installation peut prendre quelques minutes pour se terminer.</p>

    <p>Vérifiez la version d'OpenJDK à l'aide de la commande suivante :</p>

    <code>java -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e46c.jpeg" alt="Version de Java">

    <h2>Télécharger Apache Maven</h2>

    <p>Ouvrez la page officielle de Maven pour vérifier la dernière version. Au moment de la rédaction, la dernière version est la 3.8.7. Téléchargez-la à l'aide de la commande wget vers le répertoire d'installation Maven /tmp :</p>

    <code>wget https://dlcdn.apache.org/maven/maven-3/3...bin.tar.gz -P /tmp</code>

    <p>Extrayez le fichier tar.gz nouvellement téléchargé vers le répertoire /opt avec la commande suivante :</p>

    <code>sudo tar xf /tmp/apache-maven-*.tar.gz -C /opt</code>

    <p>Pour vous assurer que Maven fonctionne correctement, configurez quelques variables d'environnement, notamment JAVA_HOME, M3_HOME, MAVEN_HOME et PATH. Pour ce faire, créez un fichier nommé Maven.sh dans le répertoire /etc/profile.d/ avec votre éditeur de texte préféré :</p>

    <code>sudo nano /etc/profile.d/maven.sh</code>

    <p>Remplissez le fichier avec les variables d'environnement suivantes :</p>

    <pre>
export JAVA_HOME=/usr/lib/jvm/default-java
export M3_HOME=/opt/maven
export MAVEN_HOME=/opt/maven
export PATH=${M3_HOME}/bin:${PATH}
    </pre>

    <p>Enregistrez ce fichier et fournissez les privilèges d'exécution requis :</p>

    <code>sudo chmod +x /etc/profile.d/maven.sh</code>

    <p>Actualisez et exécutez le fichier avec la commande suivante :</p>

    <code>source /etc/profile.d/maven.sh</code>

    <p>Confirmez l'installation de Maven en vérifiant sa version avec la commande suivante :</p>

    <code>mvn -version</code>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoignez ellohost</button></a>

</body>

</html>

Print this item

  Comment installer Apache Maven sur Ubuntu 22.04
Posted by: aaron - 09-06-2023, 10:44 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>Comment installer Apache Maven sur Ubuntu 22.04</h1>

    <p>Avant d'installer Apache Maven, votre système doit remplir les conditions suivantes :</p>

    <ul>
        <li>Un utilisateur avec des privilèges sudo</li>
        <li>OpenJDK 1.7 ou version ultérieure installé sur votre ordinateur ou votre serveur privé virtuel</li>
        <li>Un client SSH si vous utilisez des services VPS</li>
    </ul>

    <p>Les utilisateurs peuvent installer Apache Maven en utilisant l'outil de gestion de paquets avancé (APT) ou en passant par le site web officiel d'Apache Maven.</p>

    <p>Commençons par la méthode APT.</p>

    <h2>Installer Apache Maven sur Ubuntu 22.04 en utilisant APT</h2>

    <p>Les dépôts officiels d'Ubuntu contiennent des paquets Maven par défaut. Ainsi, la manière la plus pratique d'installer Apache Maven est d'utiliser le gestionnaire de paquets APT.</p>

    <p>Cependant, la version du paquet Maven dans les dépôts Ubuntu peut différer de la version officielle. Il se peut également que ce ne soit pas la dernière version disponible.</p>

    <p>Mettez à jour l'index des paquets avec la commande Linux suivante :</p>

    <code>sudo apt-get update</code>

    <p>Installez OpenJDK :</p>

    <code>sudo apt install default-jdk</code>

    <p>Vérifiez l'installation en exécutant la commande suivante :</p>

    <code>java -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e46c.jpeg" alt="Version de Java">

    <p>Installez Maven en utilisant la commande suivante :</p>

    <code>sudo apt-get -y install maven</code>

    <p>Les répertoires d'installation par défaut de Maven sont /usr/share/maven et /etc/maven. Vérifiez la version d'Apache Maven en utilisant la commande suivante :</p>

    <code>mvn -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e0d3.jpeg" alt="Version de Maven">

    <p>Si vous voyez une fenêtre similaire, vous avez réussi à installer Apache Maven sur votre machine.</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoignez ellohost</button></a>

</body>

</html>

Print this item

  How to Install Apache Maven on Ubuntu 22.04
Posted by: aaron - 09-06-2023, 10:43 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>How to Install Apache Maven on Ubuntu 22.04</h1>

    <p>Before installing Apache Maven, your system must meet the following requirements:</p>

    <ul>
        <li>User with sudo privileges</li>
        <li>OpenJDK 1.7 or above installed on your computer or virtual private server</li>
        <li>SSH client if you are using VPS services</li>
    </ul>

    <p>Users can install Apache Maven using the Advanced Package Tool (APT) or through the official Apache Maven website.</p>

    <p>Let’s start with the APT method.</p>

    <h2>Install Apache Maven on Ubuntu 22.04 Using APT</h2>

    <p>The official Ubuntu repositories contain Maven packages by default. Thus, the most convenient way to install Apache Maven is by using the APT package manager.</p>

    <p>However, the Maven package version in Ubuntu repositories may differ from the official one. It may also not be the latest release.</p>

    <p>Update the package index with the following Linux command:</p>

    <code>sudo apt-get update</code>

    <p>Install OpenJDK:</p>

    <code>sudo apt install default-jdk</code>

    <p>Verify the installation by running the following command:</p>

    <code>java -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e46c.jpeg" alt="Java version">

    <p>Install Maven using the command below:</p>

    <code>sudo apt-get -y install maven</code>

    <p>The default Maven installation directories are /usr/share/maven and /etc/maven. Verify the Apache Maven version using the following command:</p>

    <code>mvn -version</code>

    <img src="https://ellohost.com/imageshack/uploads/1693996952_64f857983e0d3.jpeg" alt="Maven version">

    <p>If you see a similar window, you’ve successfully installed Apache Maven on your machine.</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>

</body>

</html>

Print this item

  Comment supprimer les réseaux Docker ?
Posted by: aaron - 09-06-2023, 10:33 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>Comment supprimer les réseaux Docker ?</h1>

    <p>Bien que les réseaux Docker ne prennent pas beaucoup d'espace disque, cela peut poser des problèmes si des fichiers inutiles ne sont pas supprimés du disque.</p>

    <p>Un problème est que cela crée des règles pour iptables et des réseaux de pont avec des entrées de table de routage, ce qui peut poser des problèmes à long terme.</p>

    <p>Pour obtenir la liste complète des ID de RÉSEAU, utilisez la commande suivante :</p>

    <pre>
        docker network ls
    </pre>

    <p>Pour supprimer un réseau spécifique, vous pouvez utiliser :</p>

    <pre>
        docker network rm ID_DU_RÉSEAU
    </pre>

    <p>Si vous souhaitez supprimer tous les réseaux inutilisés, utilisez la commande suivante :</p>

    <pre>
        docker network prune
    </pre>

    <p>Pour un filtre basé sur la plage de temps, 24 heures dans cet exemple, vous pouvez simplement entrer :</p>

    <pre>
        docker network prune --filter "until=24h"
    </pre>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoignez ellohost</button></a>

</body>

</html>

Print this item

  How to Remove Docker Networks?
Posted by: aaron - 09-06-2023, 10:32 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>How to Remove Docker Networks?</h1>

    <p>Though Docker networks don’t take much disk space, it can cause some problems if unnecessary files are not cleared from the disk.</p>

    <p>One problem is that it creates rules for iptables and bridge networks with routing table entries, which can cause some issues in the long run.</p>

    <p>For a full list of NETWORK IDs, use the following command:</p>

    <pre>
        docker network ls
    </pre>

    <p>In order to remove a specific network, you can use:</p>

    <pre>
        docker network rm NETWORK_ID
    </pre>

    <p>If you wish to remove all unused networks, use the following command:</p>

    <pre>
        docker network prune
    </pre>

    <p>For a filter based on the time frame, 24 hours in this example, you can simply enter instead:</p>

    <pre>
        docker network prune --filter "until=24h"
    </pre>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>

</body>

</html>

Print this item

  How to Remove Docker Volumes?
Posted by: aaron - 09-06-2023, 10:31 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>How to Remove Docker Volumes?</h1>

    <p>Volumes are used for multiple containers, and it is very likely there will be a number of either unused or stopped volume files.</p>

    <p>These files are not removed automatically, neither is there a setting in Docker to do so, as that can cause significant loss or damage to data.</p>

    <p>First, to get all Docker volume IDs, use the following command:</p>

    <pre>
        docker volume ls
    </pre>

    <p>If you want to remove a certain volume, use this command followed by the VOLUME NAME:</p>

    <pre>
        docker volume rm VOLUME_NAME
    </pre>

    <p>To remove all unused volumes using a single command, you can use the following:</p>

    <pre>
        docker volume prune
    </pre>

    <p>If Docker volumes have labels attached to them, you can also use this:</p>

    <pre>
        docker volume prune --filter "label!=keep"
    </pre>

    <p>In this example, the command will only remove those volume files which are not labeled and assigned with the "keep" label.</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Join ellohost</button></a>

</body>

</html>

Print this item

  Comment supprimer des volumes Docker ?
Posted by: aaron - 09-06-2023, 10:30 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>Comment supprimer des volumes Docker ?</h1>

    <p>Les volumes sont utilisés pour plusieurs conteneurs, et il est très probable qu'il y ait un certain nombre de fichiers de volumes inutilisés ou arrêtés.</p>

    <p>Ces fichiers ne sont pas supprimés automatiquement, et il n'existe pas de paramètre dans Docker pour le faire, car cela peut entraîner une perte ou des dommages importants aux données.</p>

    <p>Tout d'abord, pour obtenir tous les identifiants de volume Docker, utilisez la commande suivante :</p>

    <pre>
        docker volume ls
    </pre>

    <p>Si vous souhaitez supprimer un volume spécifique, utilisez cette commande suivie du NOM DU VOLUME :</p>

    <pre>
        docker volume rm NOM_DU_VOLUME
    </pre>

    <p>Pour supprimer tous les volumes inutilisés en une seule commande, vous pouvez utiliser la suivante :</p>

    <pre>
        docker volume prune
    </pre>

    <p>Si des volumes Docker ont des étiquettes qui leur sont attachées, vous pouvez également utiliser ceci :</p>

    <pre>
        docker volume prune --filter "label!=keep"
    </pre>

    <p>Dans cet exemple, la commande ne supprimera que les fichiers de volume qui ne sont pas étiquetés et qui n'ont pas l'étiquette "keep".</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoignez ellohost</button></a>

</body>

</html>

Print this item

  Comment supprimer des conteneurs Docker
Posted by: aaron - 09-06-2023, 10:29 AM - Forum: Others - No Replies

<!DOCTYPE html>
<html>

<head>
</head>

<body>

    <h1>Comment supprimer des conteneurs Docker ?</h1>

    <p>De manière similaire à ce qui précède, pour voir la liste de tous les conteneurs Docker, vous devrez exécuter cette commande :</p>

    <pre>
        docker container ls -a
    </pre>

    <p>Si vous souhaitez supprimer un conteneur spécifique, saisissez l'ID du CONTENEUR comme illustré dans cet exemple :</p>

    <pre>
        docker container rm ID_DU_CONTENEUR
    </pre>

    <p>Pour supprimer tous les conteneurs qui se sont arrêtés dans l'application, suivez cette commande :</p>

    <pre>
        docker container prune
    </pre>

    <p>Prenez note que cela supprimera tous les conteneurs arrêtés. Pour voir la liste des conteneurs qui seront supprimés en utilisant la commande précédente, utilisez le drapeau --filter :</p>

    <pre>
        docker container ls -a --filter status=created --filter status=exited
    </pre>

    <p>Pour limiter la suppression des conteneurs qui se sont arrêtés, par exemple, en fonction de la plage horaire, vous pouvez utiliser la commande suivante :</p>

    <pre>
        docker container prune --filter "until=24h"
    </pre>

    <p>Si vous souhaitez supprimer un conteneur une fois que vous avez fini de travailler avec lui, vous pouvez en lancer un en ajoutant le drapeau --rm. Voici un exemple de suppression d'un tel conteneur :</p>

    <pre>
        docker run --rm ID_DU_CONTENEUR
    </pre>

    <p>Une fois que vous avez terminé, le conteneur sera automatiquement supprimé.</p>

    <br><br>

    <a href="https://ellohost.com"><button style="padding: 10px 20px; background-color: blue; color: blue; border: none;">Rejoignez ellohost</button></a>

</body>

</html>

Print this item