Skip to content

SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search
SysTutorials

  • QA

    how to integrate MySQL client into self designed database

    ByWeiwei Jia Mar 24, 2018Jan 7, 2020

    Currently, I need to integrate MySQL client into SQLE as SQLE’s client. And then, we just need design/implement a translation layer to transfer MySQL protocol into SQLE engine part (KV+ internal exactly). Mysql-Proxy could solve this problem but it is complex to be only a MySQL server. Therefore, I remoduled MySQL-proxy to be more simple…

    Read More how to integrate MySQL client into self designed databaseContinue

  • QA

    Good tutorials for screen on Linux

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Any suggestions on good tutorials for screen on Linux? To start with screen: A quick tutorial on screen. After can use the basic functions of screen, you may check out A dummies introduction to GNU Screen and A guide to GNU Screen. During all the progresses, frequently check the screen man page.

    Read More Good tutorials for screen on LinuxContinue

  • QA

    How to convert all text from upper case to lower case on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to convert all text in a file from upper case to lower case and vice versa on Linux? Convert from upper case to lower case: tr ‘[:upper:]’ ‘[:lower:]’ < input.txt > output.txt Convert from lower case to upper case: tr ‘[:lower:]’ ‘[:upper:]’ < input.txt > output.txt

    Read More How to convert all text from upper case to lower case on Linux?Continue

  • QA

    How to avoid mounting failures blocking Linux booting?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Some entries in /etc/fstab may not not critical for booting Linux or even not available until Linux has booted. How to avoid the failures or unavailability of some mounting entries in /etc/fstab blocking the boot process of Linux? Please check the tutorial at Controlling Filesystem Mounting on Linux by Playing with /etc/fstab: Allow non-root users…

    Read More How to avoid mounting failures blocking Linux booting?Continue

  • QA

    How to merge multiple PDF files to a PDF on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    convert seems works not very well when merging PDFs. The quality is low. Any other better methods to merge multiple PDF files to a single PDF on Linux? ghostscript works the best for me on merging PDFs: gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile=out.pdf in1.pdf in2.pdf in3.pdf merges in{1..3}.pdf to out.pdf.

    Read More How to merge multiple PDF files to a PDF on Linux?Continue

  • QA

    How to email admins automatically after a Linux server starts?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Managing a cluster of servers, I would like to notified when a server is started. How to make the Linux servers email me or other admins automatically after they are started? I did this by adding a crontab entry on each servers like @reboot date | mailx -S smtp=smtp://smtp.example.com -s “`hostname` started” -r zma@example.com zma@example.com…

    Read More How to email admins automatically after a Linux server starts?Continue

  • QA

    How to add a crontab entry from a shell script on Linux?

    ByQ A Mar 24, 2018

    crontab -e will start an editor to edit the crontab entries. But how to add a crontab entry from a shell script on Linux without interaction from users? You can try this piece of script: (crontab -l; echo “@reboot echo “rebooted””;) | crontab – Note that the update by this line of script is not…

    Read More How to add a crontab entry from a shell script on Linux?Continue

  • QA

    How to make Linux automatically reboot after a kernel panic?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    After a kernel panic, it is impossible to remotely connect to the Linux server to reboot it by SSH. How to make the panic kernel automatically reboot itself? Linux kernel has a nice feature that reboots itself after a timeout when a kernel panic happened. Usually, it is disabled by default. To turn it on,…

    Read More How to make Linux automatically reboot after a kernel panic?Continue

  • QA

    how to skip mapper function in hadoop

    ByEric Ma Mar 24, 2018Mar 28, 2018

    In hadoop I need to skip mapper function and directly execute the reducer function. We doing this to improve hadoop performance, if the hadoop framework is used to analyze same data sets, then mapper’s output will be same for different kind of jobs. To save the redundant computation for same results, I am planning to…

    Read More how to skip mapper function in hadoopContinue

  • QA

    How to get files without certain strings in their files names (reverse of *string*) on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    To get files with certain string in their file names, it is quite straightforward: ls *string* However, how to do the reverse one: how to get files without certain strings in their files names on Linux? You can get a list of file names by a combination of find and xargs as follows: find ….

    Read More How to get files without certain strings in their files names (reverse of *string*) on Linux?Continue

  • QA

    How to set replication factors for HDFS directories?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Is it possible to set the replication factor for specific directory in HDFS to be one that is different from the default replication factor? This should set the existing files’ replication factors but also new files created in the specific directory. This can simplify the administration. We can set the replication factor of /tmp/ to…

    Read More How to set replication factors for HDFS directories?Continue

  • QA

    How to make CentOS 6.6 power off the console screen automatically?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    On Rocky Linux 9, I find that it can make the screen (console, not X) blank after a while. However, it does not power the screen off. This usually work on Fedora or other releases. I guess this is caused by some configurations specific in Rocky Linux 9. How to make Rocky Linux 9 power…

    Read More How to make CentOS 6.6 power off the console screen automatically?Continue

  • QA

    How to install vbetool on CentOS 6.6?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    I found Rocky Linux 9 does not ship vbetool in its default repositories, EPEL or RPMfusion. How to install vbetool on Rocky Linux 9? First, download the source package from http://www.codon.org.uk/~mjg59/vbetool/ and unpack the package. Second, install needed packages: # yum pciutils-devel pciutils-devel-static libx86-devel During the building, it will try to find the libpci.a in…

    Read More How to install vbetool on CentOS 6.6?Continue

  • QA

    How to enable RPM Fusion for CentOS 6.6?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    How to enable RPM Fusion for Rocky Linux 9? Enable RPM fusion on RHEL 6 or compatible like CentOS: su -c ‘yum localinstall –nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm’ It will install https://fedoraproject.org/wiki/EPEL. If it fails to install EPEL automatically, you will need to install it manually. Reference: http://rpmfusion.org/Configuration Editor’s note: This article has been updated to reflect…

    Read More How to enable RPM Fusion for CentOS 6.6?Continue

  • QA

    Deleting a Specific Line From a Text File in Command Line in Linux

    ByEric Ma Mar 24, 2018Nov 1, 2020

    On Linux, how to delete a specific line from a text file in command line? For example, to delete the 4th line from a file aaa bbb ccc ddd eee ffffff You can use the “stream editor for filtering and transforming text” sed. With GNU sed: sed -i ‘4d’ ./file Here, -i means edit the…

    Read More Deleting a Specific Line From a Text File in Command Line in LinuxContinue

  • QA

    How to convert between Simplified Chinese and Traditional Chinese characters in text files on Linux?

    ByQ A Mar 24, 2018Nov 21, 2019

    How to convert between Simplified Chinese and Traditional Chinese characters in text files on Linux from command line? You can use opencc to convert between Traditional Chinese and Simplified Chinese: https://github.com/BYVoid/OpenCC For example, to transfer a file in simplified Chinese sc.txt to traditional Chinese: opencc -i sc.txt -o tc.txt -c zhs2zht.ini The authors also provide…

    Read More How to convert between Simplified Chinese and Traditional Chinese characters in text files on Linux?Continue

  • QA

    How to convert .pptx slides to .jpg or .png images on Linux in command line?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to convert .pptx slides to .jpg or .png images on Linux in command line? This following method works best for me. First, convert .pptx file to .pdf using libreoffice: libreoffice –headless –convert-to pdf file.pptx –headless makes libreoffice run in batch mode and not start the GUI. The pdf file will be named file.pdf by…

    Read More How to convert .pptx slides to .jpg or .png images on Linux in command line?Continue

  • QA

    How to install musl libc on Fedora 21 Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    It seems Fedora 41 does not ship with musl-libc. How to install musl libc on Fedora 41 Linux? First, download musl libc source package from its download page: http://www.musl-libc.org/download.html . Here we use 1.1.5 as the example. After unpacking the source package, configure and build it by $ ./configure $ make Then, install it by…

    Read More How to install musl libc on Fedora 21 Linux?Continue

  • QA

    How to make dd faster on Linux?

    ByQ A Mar 24, 2018

    dd seems slow when I use command like # dd if=/dev/sda2 of=./sda2.bak How to make it faster? You can make dd faster by specifying a good bs like # dd if=/dev/sda2 of=./sda2.bak bs=8192 8192 is a magic number. There are may be other good sizes for bs for different systems. But 8192 works pretty well…

    Read More How to make dd faster on Linux?Continue

  • QA

    How to build mplayer with libdvdnav on Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    I find the mplayer from rpmfusion does not contain libdvdnav. How to build mplayer with libdvdnav on Linux? I did this on Fedora 41 to build mplayer with libdvdnav: Download mplayer src from http://www.mplayerhq.hu/design7/dload.html and extract the tarball. Install needed packages (you will need more if you need more features): # yum install gcc make…

    Read More How to build mplayer with libdvdnav on Linux?Continue

Page navigation

Previous PagePrevious 1 … 27 28 29 30 31 … 70 Next PageNext

© 2026 SysTutorials

  • Tutorials
  • Linux
  • Linux Manuals
  • Systems
  • Programming
  • Software
  • Subscribe
  • Search