408 commandes partagées

Ta mémoire technique
collaborative

Ne perds plus jamais une commande. Recherche, copie et partage tes solutions techniques en quelques secondes.

CodeBox
408 Commandes
13 Développeurs
99 Technologies

16 résultat(s) pour "service"

Redémarre Apache (httpd) sur CentOS/RHEL.

bash
sudo systemctl restart httpd

Arrête le service Apache2.

bash
sudo systemctl stop apache2

Redémarre Apache2 (ferme et rouvre les connexions).

bash
sudo systemctl restart apache2

Recharge la configuration sans couper les connexions actives.

bash
sudo systemctl reload apache2

Affiche l'état courant du service Apache2.

bash
sudo systemctl status apache2

Configure Apache2 pour démarrer automatiquement au boot.

bash
sudo systemctl enable apache2

Empêche Apache2 de démarrer automatiquement au boot.

bash
sudo systemctl disable apache2

Démarre le service Apache (httpd) sur CentOS/RHEL.

bash
sudo systemctl start httpd

Démarre le service Apache2 sur Debian/Ubuntu.

bash
sudo systemctl start apache2

Redémarre un service systemd sur tous les hôtes.

bash
ansible all -m service -a "name=nginx state=restarted" --become

Affiche les services d'un cluster ECS.

bash
aws ecs list-services --cluster mon-cluster --output table

Génère un service Angular injectable.

bash
ng g service services/nom-service

Installe et publie la config Sanctum pour les API tokens.

bash
composer require laravel/sanctum && php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"

Génère un Service Provider.

bash
php artisan make:provider NomServiceProvider

Configure le projet comme une Progressive Web App.

bash
ng add @angular/pwa