Posts

Showing posts from March, 2021

How to install deb file in Ubuntu

Image
I will show you in this tutorial, how to install any debian package or .deb file on ubuntu Linux. Exist 3 method to install .deb package on Ubuntu/Debian Linux System.  1st method open new terminal window and type the following command : sudo dpkg -i path_to_your_package.deb Example : brahim@brahim-desktop:~$ sudo dpkg -i yuranpad_2.4_i386.deb  [sudo] password for brahim:          (Reading database ... 385376 files and directories currently installed.) Preparing to unpack yuranpad_2.4_i386.deb ... Unpacking yuranpad (2.4) over (2.4) ... Setting up yuranpad (2.4) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Processing triggers for desktop-file-utils (0.23+linuxmint8) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) … 2nd method Double click on your .deb package and click install  then will ask you to enter superuser account password for your Ubuntu Linux. 3rd method Open new terminal window and type the foll

Monitoring NFS Server on FreeBSD

I will show you in this tutorial, step-by-step, how to monitor your NFS server on FreeBSD. There is an awesome tool provided by NFS Server by default called nfsstat , that give you a detailed statistics about your NFS server/client structure activity (number of requests executed read/write, cache hits, server faults, real-time bandwidth or traffic served by nfs server), there is alternatives to it like nfswatch and daemonfs . nfsstat -d : shows kb/s/transfer, transfers/s, and mb/s for read/write operations, and all operation, and also gives the current queue depth, the busy percentage and latency for all operations. root@freebsdsrv:~ # nfsstat -d  [===== Read =====]  [===== Write ====]  [=========== Total ============]  KB/t   tps    MB/s  KB/t   tps    MB/s  KB/t   tps    MB/s    ms  ql  %b  0.00     0    0.00   0.00       0     0.00   0.00     0    0.00  0.00   0   0  0.00     0    0.00   0.00       0     0.00   0.00     0    0.00  0.00   0   0  0.00     0    0.00 64.00   150     9

Install and configure NFS Client on FreeBSD

I will show you in this tutorial how to setup and configure NFS client on FreeBSD system, you can read too, How to install and configure NFS Server on FreeBSD NFS Client installation On FreeBSD system, NFS client is installed by default but is disabled, no worry about NFS installation just you need to enabled it. Enabling NFS Client To enable NFS Client you require to edit the file /etc/rc.conf with the following command : nano /etc/rc.conf And to add the following two lines to it (to bottom of file) : nfs_client_enable="YES" nfs_client_flags="-n 4" Then, You should now restart your machine where NFS client is configured, or alternatively, you can start NFS service manually without rebooting the machine (for first time) with :  nfsiod -n 4 NFS Client Configuration First, lets create a test directory and name it nfs_dir with the following command : mkdir /media/nfs_dir Next step, is to mount a remote share directory /root/my_shared_dir on NFS Server to your newly

Install and configure NFS Server on FreeBSD

I will show you in this tutorial, step-by-step, how to setup NFS Server and configure it on FreeBSD system. Introduction NFS  (or:  N etwork  F ile  S ystem) is a distributed file system created first by Sun MicroSystems and an open standard defined in RFC. NFS permit to client user to access (read/write) data (files/directories) on remote share over a network, similar to access data on your hard drive (local storage). NFS Server installation on FreeBSD On FreeBSD system, NFS server is installed by default but is disabled, so no need to install it just to enabled it. Enabling NFS Server To enable NFS Server you require to edit the file /etc/rc.conf with the following command : nano /etc/rc.conf And to add the following five lines to it (to bottom of file) : rpcbind_enable="YES" nfs_server_enable="YES" nfs_server_flags="-u -t -n 4" mountd_enable="YES" mountd_flags="-r" NFS Server Configuration First, lets create a test directory and name