Similar Posts
Changing Linux User Password in One Command Line
ByEric MaIn Linux, we use passwd to change password, but passwd requires input from stdin to get the new password. It is common case that we may want to change the password non-interactively, such as creating new user accounts and change or set password for these accounts on a number of Linux boxes when the new…
Linux Kernel 4.14.223 Release
ByTonyThis post summarizes Linux Kernel new features, bugfixes and changes in Linux 4.14.223 Release. Linux 4.14.223 Release contains 176 changes, patches or new features. In total, there are 277,921 lines of Linux source code changed/added in Linux 4.14.223 release compared to Linux 4.14 release. To view the source code of Linux 4.14.223 kernel release online,…
How to get the version of Zimbra?
ByEric MaHow to get the version of Zimbra I am using in a Zimbra server? In Zimbra, to get the version of Zimbra you are using, you can call zmcontrol -v: $ zmcontrol -v Release 7.2.6_GA_2926.F13_64_20131203115902 F13_64 FOSS edition. Read more: How to set Zimbra web service’s hostname and port? Libvirt crash when upgrade from version…
Printing a file in hexadecimal format of all content on Linux?
ByEric MaHow to print a binary file in hexadecimal format of all content? Use xxd: xxd file.txt or xxd -p file.txt Read more: Printing Integers in Hexadecimal Format in Python How to sort a file by hexadecimal numbers on Linux using sort command? How to read the whole file content into a string in Go? How…
What are the differences between NUMA architecture and SMP architecture?
NUMA Architecture: Non-Uniform Memory Access architecture. SMP: Symmetric Multiprocessing architecture. In a Symmetric Multiprocessor, the architectural “distance” to any memory location is the same for all processors, i.e. “symmetric”. In a NonUniform Memory Access machine, each processor is “closer” to some memory locations than others; i.e. memory is partitioned among them Asymmetrically. From my understanding,…
How to set the data replication factor of Hadoop HDFS?
ByEric MaHow to set the data replication factor of Hadoop HDFS in Hadoop 2 (YARN)? The default replication factor in HDFS is controlled by the dfs.replication property. The value is 3 by default. To change the replication factor, you can add a dfs.replication property settings in the hdfs-site.xml configuration file of Hadoop: <property> <name>dfs.replication</name> <value>1</value> <description>Replication…