https://github.com/thejaxon/rhcsa_env
An environment to prepare for the RHCSA certification, mainly automates server side installation of samba and NFS (RHCSA deals only with the client side)
https://github.com/thejaxon/rhcsa_env
nfs-server rhcsa samba-share vagrant
Last synced: 10 months ago
JSON representation
An environment to prepare for the RHCSA certification, mainly automates server side installation of samba and NFS (RHCSA deals only with the client side)
- Host: GitHub
- URL: https://github.com/thejaxon/rhcsa_env
- Owner: theJaxon
- Created: 2020-07-21T12:10:48.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-11T15:23:54.000Z (about 5 years ago)
- Last Synced: 2025-04-01T11:11:41.670Z (about 1 year ago)
- Topics: nfs-server, rhcsa, samba-share, vagrant
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 30
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RHCSA_ENV


An environment to prepare for the RHCSA certification, mainly automates server side installation of samba and NFS (RHCSA deals only with the client side)
### How to use:
`vagrant up` will bring three machines `controller`, `share_1` and `share_2`
Details for these machines are as follows:
| Machine name | IP address | FQDN |
|:------------:|:--------------:|:--------:|
| controller | 192.168.50.210 | |
| share_1 | 192.168.50.211 | nfs.com |
| share_2 | 192.168.50.212 | cifs.com |
after the machines are up and running do `vagrant ssh controller` and from there start practicing.
SSH keys have already been generated on the controller so from the controller you can ssh into any of the 2 machines using
```bash
ssh cifs.com
ssh nfs.com
```
---
#### showing NFS shares
`showmount -e nfs.com` OR `showmount -e cifs.com`
#### showing samba shares
`smbclient -U cifs //cifs.com/cifs` OR `smbclient -U cifs //nfs.com/cifs`
*password is **cifs**