Quantcast
Image

Search Results for: start

How to restart SSH service

By  •  May 28, 2018

Ubuntu 16.10 and later, RedHat/CentOS 7 and later, fedora and other platform with systemd

sudo systemctl restart sshd.service

Older platforms with System V init scripts

sudo /etc/init.d/sshd restart

Platforms with service command. Normally a wrapper to System V init scripts or systemd commands.

sudo service ssh restart

How to restart Apache service

By  •  May 28, 2018

There are many ways to restart Apache service and this depends on your platform of choice and personal preferences

Platform Command
Ubuntu 16.10 and later, RedHat/CentOS 7 and later, Fedora and other platform with systemd
# systemctl restart httpd.service
Platforms with service command. Normally a wrapper to System V init scripts or systemd commands.
# service httpd restart
Older platforms with System V init scripts
# /etc/init.d/apache2 restart
Apache’s built-in command
# httpd -k restart

Different platform might use different binary/script names such as apache, apache2, apachectl or apache2ctl

How to install Git on Ubuntu

By  •  December 2, 2023

Git is by far the most widely used distributed version control system while being free and open source. git client is not installed by default in the desktop variants …
Read More

How to disable screen auto lock in iPhone and iPad

By  •  November 28, 2023

Screen auto lock is a feature that locks the screen of your iOS devices after a set period of time which is both battery-saving and provides privacy and security by preventing unauthorized access to your phone from an unlocked screen.

If you somehow have to disable the feature perhaps temporarily due to lack of full background process support in iOS, you can do it via the Settings app by following these steps;

  1. Open Settings by tapping the following icon on the home screen .
  2. Tap on Display & Brightness.
  3. Tap on Auto-Lock.
  4. Choose the preferred timing. Never disables the display auto lock feature completely.

How to install ImageMagick PHP module on Ubuntu and Debian

By  •  November 28, 2023

ImageMagick is a command-based and capable image editing suite, making it perfect as a backend to many other tools. This includes PHP with the use of imagick PHP module. …
Read More

How to redirect a page to another website using HTML

By  •  November 28, 2023

Meta tag http-equiv refresh is used to tell the browser to refresh or reload the page, and is usually placed in the <head> seaction of an HTML document.

<meta http-equiv="refresh" content="5"/>

The option content defines the time in second of how long should the browser wait to reload the page.

To redirect to another site, the option content need to slightly be changed to include the URL it is to be redirected to and as in the following example, will immediately redirect to http://www.mohdshakir.net

<meta http-equiv="refresh" content="0;url=http://www.mohdshakir.net"/>

How to install Google Chrome on SUSE

By  •  November 28, 2023

Google Chrome is not installed by default in openSUSE and SLES and is not even available in the default zypper repository. It is probably due to Google Chrome being …
Read More

How to install Chromium web browser on SUSE

By  •  November 28, 2023

Chromium web browser is not installed by default in both SLES and openSUSE. It is, however, available in the default zypper repository.

You can install Chromium web …
Read More

How to track Google AdSense earnings in Google Analytics

By  •  November 28, 2023

Google Analytics is a great tool for web analytics. Its uses range from tracking the number of visitors to a site, to tracking effectiveness of online marketing campaign. One of the other feature of Google Analytics is to track earnings from Google AdSense program.

While Google AdSense has its own reporting tool, there are just things that Google Analytics can do better. This includes page-level details of earning tracking that is not available from the Google AdSense member page. Google AdSense reporting tools in the other hand has Custom channel and URL channel reporting option that’s not available in Google Analytics.

Both tools complement each other, and using them both would give better insight of your AdSense earnings and optimization strategy.

To start viewing Google AdSense data in Google Analytics, follow these steps.

How to track Google AdSense earnings based on URL

By  •  November 28, 2023

Google AdSense allows you to track your earnings based on URLs that you can specify using the URL Channel features. Google AdSense support earning tracking based on the following …
Read More

Top