Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Create the Store with LVMIt is recommended to create the STORE machine without the disk for the storage being mounted by the installation routines. Useful CommandsThe following commands are useful to see the current configuration of the machine, 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 Some of the information above may be required to complete installation. It is important to know where the disk to be used is, and where the space is. Usually, we recommend adding a second disk drive to the machine for the storage. The following assumes that the disk was added as /dev/sdb on the machine, and is not yet partitioned. If this is not the case, or the drive is not /dev/sdb or the space was added to an existing partition, then the commands below will have to be (carefully) modified to take this into account. Creation StepsCreate a Partition
Schritt 3 - Hereinnahme in LVM - Device Erzeugen Create LVM Physical VolumeThis command creates a physical volume which can be managed by LVM. The above commands will have created a partition /dev/sdb1. If you are working on a different partition, then modify accordingly.
Schritt 4 - Volume Group anlegen
Create a Volume GroupThis command creates a volume group called vg_jtelshared. The volume group can be expanded later, by adding more physical volumes.
Create a Logical VolumeFinally, a logical volume lv_jtelshared is created on the volume group which contains the aggregated space.
Create File SystemNow, the file system is created. Here we use xfs, though you can use something else if you really want.
Prepare Mount PointThe data should be mounted to the directory /srv/jtel/shared. The following commands prepare for this:Schritt 5 - Logical Volume anlegen
Schritt 6 - File System erzeugen Translations Ignore |
Add to fstab to Mount at BootThe following adds a line to fstab to mount the file system at boot:
Schritt 7 - Mount Point vorbereiten
Schritt 8 - Mount Point in fstab festlegen und mounten fstab Eintrag:
Mount the File System
Checks
This should show an entry for /srv/jtel/shared with the expected amount of free space. Install and Configure Access to STOREInstall SambaThese commands install the samba server and client and lsof.Und mounten:
Configure SambaThe following creates a samba configuration file with a minimum configuration.Schritt 9 - Zwischenergebnis prüfen
Es sollte ein Eintrag für /srv/jtel/shared existieren mit entsprechend freier Platz. Install Samba and lsof Translations Ignore |
Configure Samba
Setup SeLinux, jtel User access and Firewall for SambaReplace <password> with the password for the jtel user: Translations Ignore |
If necessary, add further users to samba - replacing password with the actual password for the user. Here, for example, the windows administrator user: Translations Ignore |
Test SAMBA Translations Ignore |
Manually link /home/jtel/shared Translations Ignore |
Test the file mount Translations Ignore |
Setup SeLinux and the FirewallThe following command sets up selinux for the smb service and opens the necessary ports in the firewall:
Enable and Start SambaThe following commands setup the SMB and NMB services to autostart, and start them.
Manually link /home/jtel/sharedFinally, link the /home/jtel/shared folder.
Setup Access to the Samba Serverjtel User AccessThe following command creates the smb credentials for the jtel user.
Further User AccessIf necessary, add further users to samba - replacing password with the actual password for the user. Here, for example, the windows administrator user:
Test the file mountFinally, test the file mount from one of the other machines. Either by connecting to STORE, or by using the windows explorer to attach to \\acd-store\shared |
Sv translation | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Sv translation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Créez la magasin avec LVMIl est recommandé de créer la machine MAGASIN sans que le disque de stockage soit monté par les routines d'installation. Commandes utilesLes commandes suivantes sont utiles pour voir la configuration actuelle de la machine,
Certaines des informations ci-dessus peuvent être nécessaires pour terminer l'installation. Il est important de savoir où se trouve le disque à utiliser, et où se trouve l'espace. En général, nous recommandons d'ajouter un deuxième lecteur de disque à la machine pour le stockage. Ce qui suit suppose que le disque a été ajouté en tant que /dev/sdb sur la machine, et n'est pas encore partitionné. Si ce n'est pas le cas, ou si le disque n'est pas /dev/sdb ou l'espace a été ajouté à une partition existante, alors les commandes ci-dessous devront être (soigneusement) modifiées pour en tenir compte. Étapes de la créationCréer une partition
Créer un volume physique de LVMCette commande crée un volume physique qui peut être géré par LVM. Les commandes ci-dessus auront créé une partition /dev/sdb1. Si vous travaillez sur une autre partition, modifiez en conséquence.
Créer un Group VolumeCette commande crée un groupe de volume appelé vg_jtelshared. Le groupe de volumes peut être élargi ultérieurement, en ajoutant d'autres volumes physiques.
Créer un volume logiqueEnfin, un volume logique lv_jtelshared est créé sur le groupe de volume qui contient l'espace agrégé.
Créer un système de fichiersMaintenant, le système de fichiers est créé. Ici, nous utilisons xfs, mais vous pouvez utiliser autre chose si vous le souhaitez vraiment.
Préparer le point de montageLes données doivent être montées dans le répertoire /srv/jtel/shared. Les commandes suivants s'y préparent :
Ajouter à la fstab de Monture en BootCe qui suit ajoute une ligne à fstab pour monter le système de fichiers au démarrage :
Monter le système de fichiers
Vérifications
Il devrait y avoir une entrée pour /srv/jtel/shared avec la quantité d'espace libre prévue. Installer et configurer l'accès au MAGASINInstaller SAMBACes commandes installent le serveur et le client samba et lsof.
Configurer SambaCe qui suit crée un fichier de configuration samba avec une configuration minimale.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 Translations Ignore |
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 Translations Ignore |
Schritt 3 - Hereinnahme in LVM - Device Erzeugen Translations Ignore |
Schritt 4 - Volume Group anlegen Translations Ignore |
Schritt 5 - Logical Volume anlegen Translations Ignore |
Schritt 6 - File System erzeugen Translations Ignore |
Schritt 7 - Mount Point vorbereiten Translations Ignore |
Schritt 8 - Mount Point in fstab festlegen und mounten fstab Eintrag: Translations Ignore |
Und mounten: Translations Ignore |
Translations Ignore |
Es sollte ein Eintrag für /srv/jtel/shared existieren mit entsprechend freier Platz. Install Samba and lsof Translations Ignore |
Configure Samba
Setup SeLinux, jtel User access and Firewall for SambaReplace <password> with the password for the jtel user: Translations Ignore |
Configuration de SeLinux et du pare-feuLa commande suivante configure selinux pour le service smb et ouvre les ports nécessaires dans le pare-feu :
Activer et démarrer SambaLes commandes suivantes permettent de configurer les services SMB et NMB pour un démarrage automatique, et de les démarrer.
Lien manuel /home/jtel/partagéEnfin, liez le dossier /home/jtel/shared.
Configuration de l'accès au serveur Sambaaccès des utilisateurs à jtelLa commande suivante crée les identifiants smb pour l'utilisateur jtel.
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 Translations Ignore |
Accès supplémentaire pour les utilisateursSi 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 :
Testerla monture de fichierManually link /home/jtel/shared Translations Ignore |
Test the file mount Translations Ignore | Code Block | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|