Skip to content

SysTutorials

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

  • QA

    How to configure Linux to use the scanner in an HP all-in-one printer?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    How to configure Linux to use the scanner (not only the printer) in an HP all-in-one printer? The OS is Fedora 41 and the connection between the HP all-in-one printer and the PC is through wireless. The printer is working well. You can check this post for configuring the printer and scanner of HP All-In-One…

    Read More How to configure Linux to use the scanner in an HP all-in-one printer?Continue

  • QA

    How to find out the MX record for a domain on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to find out a domain’s MX record for Email on Linux? For example, to find which domain/IP the email to gmail.com is delivered to. You may make use of the host command. The -t option is used to select the query type. type can be any recognized query type: CNAME, NS, SOA, SIG, KEY,…

    Read More How to find out the MX record for a domain on Linux?Continue

  • QA

    Good free images hosting services on the Web?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Suggestions on some good free images hosting services on the Web? Two good free image hosting websites: Imgur: http://imgur.com/ Postimage.org: http://postimage.org/

    Read More Good free images hosting services on the Web?Continue

  • QA

    How to force umount a NFS directory on Linux?

    ByEric Ma Mar 24, 2018Oct 7, 2019

    The NFS server is down. It is reported “Stale NFS file handle”. I tried ‘umount’ and ‘umount -f’. But neither succeeded. # umount /mnt/store umount.nfs: /mnt/store: Stale NFS file handle # umount -f /mnt/store umount.nfs: /mnt/store: Stale NFS file handle How to force umounting the NFS without rebooting the Linux server? I usually have to…

    Read More How to force umount a NFS directory on Linux?Continue

  • QA

    How to allow websites’ .htaccess files in Apache2?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    How to allow websites to use .htaccess files in Apache2 web servers? The AllowOverride directive controls this: http://httpd.apache.org/docs/current/mod/core.html#allowoverride To allow AllowOverride in a directory, add the following rules to the /etc/httpd/conf/httpd.conf or similar configuration file for your apache installation: <Directory “/var/www/www.example.com”> Options FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files….

    Read More How to allow websites’ .htaccess files in Apache2?Continue

  • QA

    How to host multiple websites on a Apache Linux web server?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I have a Linux web server with Apache (httpd). How to host multiple websites on Apache? To host websites www.example1.com and www.example2.com on a single node with Apache2 on a single IP, you can use VirtualHost as follows. Edit /etc/httpd/conf/httpd.conf and add the following lines: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/example1.com ServerName www.example1.com # Other…

    Read More How to host multiple websites on a Apache Linux web server?Continue

  • QA

    How to run firefox under different profiles simultaniusly?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Firefox has multiple profiles and I am aware of choosing them by invoking firefox with the -P option. But I find that after one firefox instance under one profile is running, even I choose another profile during starting with -P, the new instance is still running under the existing profile. How to run firefox with…

    Read More How to run firefox under different profiles simultaniusly?Continue

  • QA

    How to Add “nomodeset” to Grub2 in Fedora and Ubuntu

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I need to add nomodeset to make my GPU card work on Linux. Latest Fedora and Ubuntu and their derives use grub2. How to add nomodeset permanently to grub2 on Fedora and Ubuntu? The parameters grub2 will use are stored in its grub.cfg file. The grub.cfg file is generated from grub’s default settings file /etc/default/grub….

    Read More How to Add “nomodeset” to Grub2 in Fedora and UbuntuContinue

  • QA

    How to redirect anything written on a file to another file in linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Suppose we have two files, a.txt and b.txt . If we write anything in a.txt & b.txt, it should be redirected to c.txt. tee may help for this purpose. tee: duplicate standard input You may try a command like this: echo “hello” | tee -a a.txt >>b.txt Both a.txt and b.txt will contain the “hello”….

    Read More How to redirect anything written on a file to another file in linux?Continue

  • QA | Tutorial

    git push error

    ByWeiwei Jia Mar 24, 2018May 31, 2020

    $ git push error: The requested URL returned error: 403 Forbidden while accessing https://github.com/HarryWei/hummer.git/info/refs fatal: HTTP request failed Replace (or add) url=ssh://git@github.com/HarryWei/hummer.git with url=https://git@github.com/HarryWei/hummer.git under “[remote “origin”]” section in ~/.gitconfig file. Reference:http://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed

    Read More git push errorContinue

  • QA

    Skype crashes because it cannot read data from “C:Documents and SettingsAdministratorLocal SettingsTemp”

    ByWeiwei Jia Mar 24, 2018Jan 7, 2020

    On my laptop, I install windows xp because it is user-friendly for me. However, Skype cannot be open because “The system is not unavailable”. At last, I find the “Skype” directory under “C:Documents and SettingsAdministratorLocal SettingsTemp” cannot be accessed. “C:Documents and SettingsAdministratorLocal SettingsTemp” is like temporary directory for specific user under Linux OS. Actually, for…

    Read More Skype crashes because it cannot read data from “C:Documents and SettingsAdministratorLocal SettingsTemp”Continue

  • QA

    How to wrap long lines in a text file on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    I have some text files which contain some long lines. Now I would like to break lines to at most 80 characters. How to wrap long lines in a text file on Linux? The fold command can wrap lines. fold – wrap each input line to fit in specified width For your purpose, fold -w…

    Read More How to wrap long lines in a text file on Linux?Continue

  • QA

    Block Ads in WordPress, while mobile view

    ByEric Ma Mar 24, 2018Mar 24, 2018

    Hi there, Quite recently I’ve created a native app (webview app)of my wordpress website and this wordpress site is using responsive theme as well. Now I want to publish this app at play store. The problem is that Adsense are not allowed to be shown in a native android app. So I want to know…

    Read More Block Ads in WordPress, while mobile viewContinue

  • QA

    git: how to merge upstream with fork repo

    ByWeiwei Jia Mar 24, 2018Jan 7, 2020

    How to merge upstream into local fork repo with git? Merging an upstream repository into your fork: https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/ Merging an upstream repository into your fork: https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/

    Read More git: how to merge upstream with fork repoContinue

  • QA

    How to enable SSH service on Fedora Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    How to enable SSH service on Fedora Linux? By default, it seems ssh is not enabled. Fedora may not have sshd service installed/enabled by default. You will need to install and configure it by yourself. The following instructions is for Fedora 41 as an example. First, install the sshd server by # dnf install openssh-server…

    Read More How to enable SSH service on Fedora Linux?Continue

  • QA

    How to change the display manager on Fedora Linux?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    The default display manager on my Fedora 41 is gdm. If I would like to change it to other display manager like KDM, LightDM or other, which is the portable and reliable method? You can use the “system-switch-displaymanager” tools to manage the display manager. This is possibly the most portable way. To install it: #…

    Read More How to change the display manager on Fedora Linux?Continue

  • QA

    How to Passwordless SSH to an OpenWrt Router?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    The good ssh-copy-id method which works well on common Linux seems not working for OpenWrt router. How to Passwordless SSH to an OpenWrt Router? OpenWrt’s SSH server is Dropbear. It can accept normal RSA keys. But the authorized_keys location is not the same as the openssh “~/.ssh/authorized_keys”. The location for the authorized_keys is /etc/dropbear/authorized_keys What…

    Read More How to Passwordless SSH to an OpenWrt Router?Continue

  • QA

    How to merge 2 .a libraries to one .a library on Linux?

    ByEric Ma Mar 24, 2018Mar 24, 2018

    We have 2 static .a libraries and we would like to merge them into a single one for easier usage. How to merge 2 .a libraries to one .a library on Linux? With GNU ar, you can specify the single command-line option -M and control it with a script supplied via standard input, like the…

    Read More How to merge 2 .a libraries to one .a library on Linux?Continue

  • QA

    Windows 7 repetitively tried to update but failed every time I boot Windows 7

    ByEric Ma Mar 24, 2018Oct 7, 2019

    Windows 7 repetitively tried to update but failed every time I boot Windows 7. It will reboot automatically several times itself. How should I fix it? First, you need to identify which update causes the problem. You can find this in the Updates control panel tool as follows. After identifying the failed package (e.g. KB3033929…

    Read More Windows 7 repetitively tried to update but failed every time I boot Windows 7Continue

  • QA

    How to configure systemd to boot Linux to console mode (runlevel 3)?

    ByEric Ma Mar 24, 2018Mar 30, 2026

    How to configure Linux (am using Fedora 41) managed by systemd to boot to console (init 3) mode? systemd has the concept of targets as a more flexible replacement for runlevels in sysvinit. Runlevel 3 is emulated by multi-user.target. runlevel3.target is a symbolic link to multi-user.target. You can switch to ‘runlevel 3’ by running #…

    Read More How to configure systemd to boot Linux to console mode (runlevel 3)?Continue

Page navigation

Previous PagePrevious 1 … 23 24 25 26 27 … 70 Next PageNext

© 2026 SysTutorials

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