Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Debian / Ubuntu Linux: Install and Configure Shoreline Firewall (Shorewall)
Here's an overview of the steps to install and configure Shoreline Firewall (Shorewall) on Debian or Ubuntu Linux: Install Shorewall: sudo apt - get update rnsudo apt - get install shorewallrn Configure the network interfaces: Create a file "/etc/network/interfaces" with the following content, repla
Debian / Ubuntu Linux: Install SquidGuard Web Filter Plugin For Squid 3.x To Block Unwanted Sites
Here’s an overview of the steps to install the SquidGuard web filter plugin for Squid 3.x on Debian or Ubuntu Linux: n n Install SquidGuard and its dependencies: n n n n sudo apt - get update nsudo apt - get install squid3 squidguard n n n n Create the SquidGuard configuration directory: n n n
Debian / Ubuntu Linux: Setup Wireless Access Point (WAP) with Hostapd
Here's an overview of the steps to set up a wireless access point (WAP) with hostapd on Debian or Ubuntu Linux: Install hostapd and its dependencies: sudo apt - get update rnsudo apt - get install hostapd dnsmasqrn Configure hostapd: Create a new configuration file for hostapd, for example at "/etc/
Linux Gnome Desktop Windows Decoration Disappeared
If the window decorations (title bar, close button, etc.) have disappeared from Gnome desktop in Linux, you can try the following steps to restore them: Restart Gnome Shell: You can do this by pressing ALT + F2 and then typing "r" in the run dialog and pressing enter. Reset Gnome settings: You can d
HowTo: Linux Remove a Partition Name (/dev/sdXY entry) Temporarily
To temporarily remove a partition name in Linux, you can use the "blockdev" command line tool. Here's an example for removing a partition named "/dev/sdb1": sudo blockdev --remove-partition /dev/sdb1rn This will remove the partition name "/dev/sdb1", but the partition itself will still exist on the
Linux / Unix: Record / Capture MMS Stream And Save To a File
You can use the "mplayer" command line tool in Linux/Unix to capture and save an MMS stream to a file. Here's an example: mplayer -dumpstream mms : //yourstream.com -dumpfile output.wmv rn This will save the MMS stream located at "mms://yourstream.com" to a file named "output.wmv". Replace "mms://yo
HowTo: Install firefox-15.0.tar.bz2 in Linux
To install the Firefox 15.0 archive in a Linux environment, follow these steps: Download the archive: wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/15.0/linux-x86_64/en-US/firefox-15.0.tar.bz2 Extract the archive: tar xvjf firefox-15.0.tar.bz2 Move the extracted folder to the
How To: Linux Show List Of Network Cards
You can use the ip or ifconfig command to show a list of network cards on a Linux system. Here's how you can use the ip command: Open a terminal window. Run the following command: ip link show . The output will show a list of network interfaces, each with a unique identifier in the form <interfac
Linux Command To Find SATA Link Speed Such as 1.5 / 3.0 / 6.0 Gbps [ Hard Disk ]
You can use the hdparm utility to find the SATA link speed of a hard disk in Linux. Here's how: Open a terminal window. Run the following command: sudo hdparm -I /dev/sda | grep "SATA revision" (replace /dev/sda with the appropriate device name for your hard disk). The output will show the SATA revi
Linux: Firefox Browser Add BitTorrent Magnet Links Support
Firefox does not have built-in support for BitTorrent magnet links, but you can add it by installing a browser extension. Here's how: Open Firefox and go to the Add-ons section. Search for "BitTorrent magnet links" in the add-ons store and install the extension that best fits your needs. Once the ex
WordPress Add A Shortcode Example
A shortcode in WordPress is a simple code that can be used to display dynamic content within posts and pages. Here's an example of how to create a shortcode in WordPress. Open the functions.php file of your WordPress theme. Add the following code to the functions.php file: function example_shortcode
Linux FTP Server Traffic Control And Throttle Port 21
To control and throttle FTP traffic on a Linux FTP server, you can use the tc command from the iproute2 package. The tc command can be used to set up traffic control rules and limit the bandwidth of the FTP traffic on port 21. Here's an example of how you can limit the FTP traffic to 100 kbps using
WordPress Change Preview Post Link Button URL Via preview_post_link Filter
The preview_post_link filter in WordPress can be used to change the URL of the Preview Post button on the post editor screen. You can use the following code to change the URL of the Preview Post button: function custom_preview_post_link ( $preview_link , $post ) {rn $preview_link = home_url ( '/my-c
Linux / Unix rsync: Delete Source File After Transfer
To delete the source file after a successful transfer using rsync , you can use the --remove-source-files option. For example: rsync -- remove -source-files source_file destinationrn This will transfer the file source_file to the destination and remove it from the source location after the transfer
Linux / Unix sed: Delete Word From File / Input
To delete a word from a file or input using the sed command in Linux or Unix, you can use the following syntax: sed 's /word_to_delete //g' file.txt rn This will search for all instances of the word word_to_delete in the file file.txt and delete them. The g at the end of the expression specifies tha
How to install htop on OpenBSD
To install htop on OpenBSD, you can use the pkg_add command, which is the package manager for OpenBSD. First, make sure your package list is up-to-date by running the following command: sudo pkg_add -urn Next, you can install htop by running the following command: sudo pkg_add htoprn This will downl
Default robots.txt File For Web-Server
A robots.txt file is a file used by web servers to communicate with web robots (also known as “bots” or “crawlers”) about which pages or sections of a website should or should not be crawled and indexed. The default content of a robots.txt file can vary depending on the web s
Unix Command To Change Password
In Unix and Linux systems, the passwd command is used to change a user's password. The basic syntax is as follows: passwd rn If you're changing your own password, you can simply run the command without specifying a username: passwdrn The system will prompt you for your current password and then for
awk: warning: escape sequence '\<' treated as plain '>'
The “awk: warning: escape sequence ‘<‘ treated as plain ‘>'” error message is produced by the awk command when it encounters an escape sequence in a string that it does not recognize. In this case, the escape sequence \< is being interpreted as > , which can
Linux: warning: CUPSEXT could not be loaded. Please check HPLIP installation.
The "warning: CUPSEXT could not be loaded. Please check HPLIP installation" message usually indicates that there is an issue with the HPLIP (HP Linux Imaging and Printing) package installed on your Linux system. This message can occur when trying to use the HPLIP toolbox or run a HP printer setup. T
2,685 guides published.
