Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Creating the Store with LVMMost of our Linux / CentOS installations work with LVM. This guide describes how to install the STORE role on a system using LVM. Step 1 - Determining the current config
The information above is now needed. The configuration should be checked, maybe an LVM is already planned for the storage. Step 2 - Create a new partition Here it is necessary to know where to find the additional space. There are 2 variants - either a new plate, or an extended plate. In both cases, a new partition is created. Here in this example, a new disk was used, which can be found on /dev/sdb Adjust the commands below and the partition number (for an existing disk, the partition is then no longer necessarily 1) accordingly. Anzeige von Discs
Step 3 - Inclusion in LVM - Create Device
Step 4 - Create Volume Group
Step 5 - Create Logical Volume
Step 6 - Create File System
Step 7 - Prepare Mount Point
Step 8 - Set and mount the mount point in fstab fstab entry:
And mount:
There should be an entry for /srv/jtel/shared with corresponding free space. Install Samba and lsof
Configure Samba
Setup SeLinux, jtel User access and Firewall for SambaReplace <password> with the password for the jtel user:
If necessary, add further users to samba - replacing password with the actual password for the user. Here, for example, the windows administrator user:
Test SAMBA
Manually link /home/jtel/shared
Test the file mount
|
Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Erstellen des Stores mit LVMDie meisten Linux / CentOS Installationen von uns arbeiten mit LVM. Diese Anleitung beschreibt, wie die Rolle STORE auf ein System mittels LVM installiert werden kann. Schritt 1 - Feststellen der aktuellen config
Die Informationen oben werden nun gebraucht. Die Konfiguration sollte geprüft werden, nicht das bereits ein LVM für das Storage vorgesehen ist. Schritt 2 - Anlegen einer neuen Partition Hier ist es erforderlich, dass man weiß, wo der zusätzlicher Platz zu finden ist. Es gibt 2 Varianten - entweder eine neue Platte, oder eine erweiterte Platte. In beiden Fällen, wird eine neue Partition angelegt. Hier in diesen Beispiel, wurde eine neue Platte genutzt, die auf /dev/sdb zu finden ist. Die Befehle unten sowie die Partitionsnummer (bei einer vorhandenen Platte ist die Partition dann nicht mehr zwingend 1), entsprechend anpassen. Display of discs
Schritt 3 - Hereinnahme in LVM - Device Erzeugen
Schritt 4 - Volume Group anlegen
Schritt 5 - Logical Volume anlegen
Schritt 6 - File System erzeugen
Schritt 7 - Mount Point vorbereiten
Schritt 8 - Mount Point in fstab festlegen und mounten fstab Eintrag:
Und mounten:
Es sollte ein Eintrag für /srv/jtel/shared existieren mit entsprechend freier Platz. Install Samba and lsof
Configure Samba
Setup SeLinux, jtel User access and Firewall for SambaReplace <password> with the password for the jtel user:
If necessary, add further users to samba - replacing password with the actual password for the user. Here, for example, the windows administrator user:
Test SAMBA
Manually link /home/jtel/shared
Test the file mount
|
Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Créer le magasin avec LVMLa plupart de nos installations Linux / CentOS fonctionnent avec LVM. Ce guide décrit comment installer le rôle MAGASIN sur un système utilisant LVM. Étape 1 - Détermination de la configuration actuelle
Les informations ci-dessus sont maintenant nécessaires. La configuration doit être vérifiée, peut-être qu'un LVM est déjà prévu pour le stockage. Étape 2 - Créer une nouvelle partition Ici, il faut savoir où trouver l'espace supplémentaire. Il existe 2 variantes : soit une nouvelle plaque, soit une plaque étendue. Dans les deux cas, une nouvelle partition est créée. Dans cet exemple, un nouveau disque a été utilisé, qui peut être trouvé sur /dev/sdb Ajustez les commandes ci-dessous et le numéro de partition (pour un disque existant, la partition n'est alors plus nécessairement 1) en conséquence. Affichage du disque
Étape 3 - Inclusion dans LVM - Créer un Appareil
Étape 4 - Créer un groupe de volume
Étape 5 - Créer un volume logique
Étape 6 - Création d'un système de fichiers
Étape 7 - Préparer le point de monture
Étape 8 - Définir et monter le point de montage dans le fstab entrée fstab :
Et monter :
Il devrait y avoir une entrée pour /srv/jtel/shared avec l'espace libre correspondant. Installer Samba et lsof
Configurer Samba
Configuration de SeLinux, jtel Accès utilisateur et pare-feu pour SambaRemplacez <password> par le mot de passe de l'utilisateur de jtel :
Si nécessaire, ajoutez d'autres utilisateurs à samba - en remplaçant le mot de passe par le mot de passe réel de l'utilisateur. Ici, par exemple, l'utilisateur administrateur de Windows :
Test SAMBA
Lien manuel /home/jtel/shared
Tester le fichier mount
|