FFMPEG is an encoding/decoding tool , you might need it if you want to live stream a camera to youtube , facebook etc via your Linux machines . The below is a popular error you might encounter if your camera password has special characters like ?,$ etc . So in the above error you...
Sometimes , you might need to create files of different sizes for various testing purposes. For eg : testing an FTP or downloading a large file via VPN etc . The dd command in Linux is used to create the empty file with a specific size The above dd command creates a 10 MB...
In ubuntu/CentOS you can add a static route, but if its temporary it won’t withstand a network restart/reboot/powercycle . So we need to add it permanent/persistent . To add a temporary route in ubuntu , you can run the below command , here 192.168.10.0 network is routed via 192.168.1.1 gateway . You will need...
By default , most OS comes with the DHCP client enabled and it will then get an IP from the DCHP server pool . But in some cases, you may need to add a static IP instead of receiving a dynamc IP via DHCP . So ubuntu on latest versions uses a utility called...
First you need apache webserver for this : Then create a folder in web root Now you need the dpkg-dev packages: Now copy all the required .deb files to /var/www/repo/ and then run the command: So everytime you add a new .deb file to this location , you need to run the above command...
Prerequisites Install OpenVPN client packages Copy your client configuration to as client.conf If you want a sample client.conf , you might be able to find it on /usr/share/doc/ . If you don’t know about the location of this sample file , you can search for it: So if you want to use this file...
So once you have the SD card ready with Raspbian OS , the usual way is to connect a HDMI monitor , keyboard etc directly to the pi and once boot up you can further configure . Here we show how to enable SSH and configure a wifi on the first boot , so...
Sometimes we need to use postfix as a relay SMTP server . This is needed if you have devices on your network that generates system emails and sent it to your mail. In most cases , it ends up in spam folder if you don’t have a proper relay server for these emails ....
The netstat and the lsof are the two main commands to check the tcp/udp listening ports in Linux. Netstat Installation: CentOS and Debian: To show established tcp connections : To show only UDP connections: If you are looking for a specific service listens to which port : Filter with specific port number : lsof...
You might need to zip a number of files, folders and sub folders to keep as a backup . To zip the folders and subfolders: This will create a new gzip file of your entire folder mydir/ no matter how many files or sub folders in that To untar a gzip file : So...