β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Linux steps to build NFS file sharing server
> BUILD YOUR OWN
1) Linux build NFS server
In order to achieve data sharing in different operating systems, we generally build some servers for file sharing, nfs server is one of them, it realizes the sharing between linux and linux. Today I will share the steps on how to build an nfs server on a Linux system for your reference.
2) Construction steps
1. Install nfs required packages
yum install rpcbind nfs-utils
2. Create test files and grant permissions
mkdir /home/test
chmod -R 777 /home/test/
cd /home/test/
vim aaa/bbb.txt
3. Modify the configuration file
vim /etc/exports
/home/test 192.168.121.0/24(rw)
4) ro
rw
sync
hide
no_hide
all_squash
no_all_squash
root_squash
no_root_squas
4. Open the service
systemctl start rpcbind nfs
echo "192.168.121.38:/home/test /nfs nfs4 defaults 0 0" >> /etc/fstab
mount -av
5. View shared information
showmount -e 192.168.121.38
6. Access to the
Linux side of the NFS server :
mount 192.168.121.38:/home/test/ /mnt/
df
WRITTEN BY UNDERCODE
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Linux steps to build NFS file sharing server
> BUILD YOUR OWN
1) Linux build NFS server
In order to achieve data sharing in different operating systems, we generally build some servers for file sharing, nfs server is one of them, it realizes the sharing between linux and linux. Today I will share the steps on how to build an nfs server on a Linux system for your reference.
2) Construction steps
1. Install nfs required packages
yum install rpcbind nfs-utils
2. Create test files and grant permissions
mkdir /home/test
chmod -R 777 /home/test/
cd /home/test/
vim aaa/bbb.txt
3. Modify the configuration file
vim /etc/exports
/home/test 192.168.121.0/24(rw)
4) ro
rw
sync
hide
no_hide
all_squash
no_all_squash
root_squash
no_root_squas
4. Open the service
systemctl start rpcbind nfs
echo "192.168.121.38:/home/test /nfs nfs4 defaults 0 0" >> /etc/fstab
mount -av
5. View shared information
showmount -e 192.168.121.38
6. Access to the
Linux side of the NFS server :
mount 192.168.121.38:/home/test/ /mnt/
df
WRITTEN BY UNDERCODE
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
β β β ο½ππ»βΊπ«Δπ¬πβ β β β
π¦Graphic tutorial to install Cygwin on Windows system to build Swoole test environment
π¦Graphic tutorial to install Cygwin on Windows system to build Swoole test environment
π¦Foreword
> Yesterday, the local installation Swooledebugging environment encountered several pits, because my computer is a Windowssystem, it is installed cygwin, but the process is not smooth, installation problems spate terminal, and a step by step to find information pit row, final The installation was also successful. In order to allow others to install successfully at one time and save a lot of trouble and trouble, I wrote this article specifically, hoping to help those in need.
1) Download Swoole
Swoole download address: https://github.com/swoole/swoole-src/releases
> Yesterday, the local installation Swooledebugging environment encountered several pits, because my computer is a Windowssystem, it is installed cygwin, but the process is not smooth, installation problems spate terminal, and a step by step to find information pit row, final The installation was also successful. In order to allow others to install successfully at one time and save a lot of trouble and trouble, I wrote this article specifically, hoping to help those in need.
1) Download Swoole
Swoole download address: https://github.com/swoole/swoole-src/releases
GitHub
Releases Β· swoole/swoole-src
π Coroutine-based concurrency library for PHP. Contribute to swoole/swoole-src development by creating an account on GitHub.
2) Open browser download, download location to the slide, can download the zippackage or tar.gzpackage, the download is complete standby waiting behind.
Open in the browser cygwin's official website, down to the Installing Cygwinsection, click the setup-x86_64.exedownload exefile to
π¦Install cygwin
Find just downloaded setup-x86_64.exethe file, double-click it to start the installation cygwin
Step 1: Open the installation interface and click next directly
π¦Install cygwin
Find just downloaded setup-x86_64.exethe file, double-click it to start the installation cygwin
Step 1: Open the installation interface and click next directly
Step 2: Select the download source, we directly select the default Install from Internet, and then click Next
Step 3: Select the installation directory, can be modified directly in the input box installation directory, or click Browseto select the directory, click Next
Step 4: Select the download package directory, you can directly modify the directory in the input box, or click Browseto select the directory, click Next
Step 5: Select the network server, just default directly, click to continue to the next step
Step 6: Choose a download server URL, we choose http://mirrors.metapeer.com, here, we can also add 163 download server, the address is http://mirrors.163.com/cygwin/, choose to continue to the next step