Guides
How website valuation actually works, what traffic estimates can and cannot tell you, and which once-standard metrics have quietly stopped existing.
Mac OS x Restart Apache Web Server
To restart the Apache web server on a Mac OS X system, you can use the apachectl command. Here are the steps to restart Apache:rn rn Open the Terminal application, which is located in the Utilities folder within the Applications folder. rn Type the following command to stop the Apache web server:rn
Start / Stop / Restart Postfix Mail Server
To start, stop, or restart the Postfix mail server on a Linux system, you can use the systemctl command if your system uses systemd as the init system. Here are the commands you can use: n n To start Postfix, run the following command:n n n systemctl start postfix n n n n To stop Postfix, run the fo
Reverse nslookup Command
The nslookup command is used to perform forward DNS lookups, meaning it resolves hostnames to IP addresses. To perform a reverse DNS lookup, which resolves IP addresses to hostnames, you can use the host command instead. The host command can perform both forward and reverse DNS lookups. To perfor
See Filesystems In Linux
To see the file systems in Linux, you can use the df (disk free) command. The df command displays information about the file system disk space usage. By default, df displays the file system disk space usage in blocks, with the sizes rounded to the nearest 1K block. To display the disk space usage
Ubuntu Linux Renew DHCP
To renew DHCP lease on Ubuntu Linux, you can use the following steps: n n Open a terminal window. n Run the following command to release the current DHCP lease: n n n n sudo dhclient -r n n n n Run the following command to renew the DHCP lease: n n n n sudo dhclient n n n n If the renewal is success
Linux Configure Tata Indicom Photon+ Mobile Broadband
To configure Tata Indicom Photon+ mobile broadband on Linux, you can use the following steps:rn rn Insert the Photon+ USB modem into your computer's USB port. rn Open a terminal window and run the following command to install the wvdial package, which is a utility for setting up dial-up connections
Bash: Display Current Date
To display the current date in Bash, you can use the date command. Simply run the following command in a Bash terminal:rn rn rn date rn rn rnThis will display the current date and time in the default format, which is determined by the system's locale settings. If you want to display the date i
How To Turn off SELinux using command line
To turn off SELinux using the command line, you can use the following steps:rn rn Log in to the system as the root user. rn Edit the /etc/selinux/config file using a text editor such as vi or nano : rn rn rn rn vi /etc/selinux/configrn rn rn rn Change the SELINUX parameter to disabled : rn rn rn rn
OpenBSD Change Password For Root and Other Users
To change the password for the root user or any other user on OpenBSD, you can use the passwd command. To change the password for the root user, you can run the following command as the root user:rn rn rn passwdrn rn rnYou will be prompted to enter the new password twice. Note that when you type
MySQL Import File / Database Command
To import a MySQL database from a file, you can use the mysql command-line client. Assuming that you have a MySQL dump file (which is a text file containing SQL statements that recreate the database), you can use the following command to import the file:rn rn rn mysql -u username - p database_nam
Ubuntu Linux Find JDK Version
To find the version of the Java Development Kit (JDK) installed on Ubuntu Linux, you can use the following command in a terminal:rn rn rn java -versionrn rn rnThis will output information about the Java Runtime Environment (JRE) installed on your system, including the version number. If you have the
E: Archive directory /var/cache/apt/archives/partial is missing Error and Solution
The "E: Archive directory /var/cache/apt/archives/partial is missing" error usually indicates that the apt-get package manager is unable to locate the directory where it stores the downloaded package files. This can happen if the directory is deleted or if there is a permission issue preventing apt-
BIND DNS: Disable Dynamic Updates
To disable dynamic updates in BIND DNS, follow these steps: n n Open the named.conf file in a text editor. The location of the file may vary depending on your system configuration, but it is typically located in /etc/named.conf. n Find the section of the named.conf file that contains the configurati
FreeBSD Install vnStat – A Console-Based Network Traffic Monitor
vnStat is a console-based network traffic monitor for Linux and BSD systems that can be used to keep track of network traffic usage. Here's how to install vnStat on FreeBSD:rn rn Install vnStat using the package manager: rn rn rn rn sudo pkg install vnstatrn rn rn rn Create the vnStat database and c
RHEL / CentOS Xcache: /usr/include/php/ext/date/lib/timelib_structs.h:24:28: error: timelib_config.h: No such file or directory Error and Soultion
The error message you are seeing is typically caused by a missing file called "timelib_config.h", which is required by the timelib library used by Xcache. Here's how to fix the error:rn rn Install the required dependencies: rn rn rn rn sudo yum install gcc make automake autoconf httpd-devel php-d
Mac OS X Disable Unnecessary Services
On a Mac running macOS, you can disable unnecessary services to improve system performance and security. Here are the steps to disable some of the unnecessary services on a Mac:rn rn Open the "System Preferences" app by clicking on the Apple icon in the menu bar and selecting "System Preferences". r
Linux Log All SCSI Events To Syslog
In Linux, you can use the udev subsystem to log all SCSI events to the system log using syslog. Here are the steps to set up logging of SCSI events to syslog:rn rn Create a new file called /etc/udev/rules.d/99-scsi-log.rules with the following contents: rn rn rn rn ACTION== "add|remove" , SUBSYSTEM=
Linux: Create /tmp And Mount as Partition File With the noexec, nosuid, And nodev
The /tmp directory in Linux is used for temporary files and is typically stored on the root file system. However, for security reasons, it is recommended to create a separate partition for /tmp and mount it with the noexec , nosuid , and nodev options to prevent the execution of binaries, privilege
UNIX / Linux: Delete All Files Using rm Command
The rm command is used to remove or delete files and directories in Unix and Linux operating systems. To delete all files in a directory using the rm command, you can use the following command:rn rn rn rm /path/to/directory/*rn rn rnThis command deletes all files in the specified directory (but not
CentOS / Redhat: Turn On SELinux Protection
SELinux (Security-Enhanced Linux) is a security module built into the Linux kernel that provides access control and other security features. By default, SELinux is usually enabled on CentOS and Red Hat Enterprise Linux, but it may be set to permissive mode, which logs violations but does not enforce
2,685 guides published.
