≡ Menu

service command

Ubuntu Linux check cron log file error or messages in /var/log/cron.log file

I am trying to find errors or message for my cron job on Ubuntu Linux server. Where is the cron log in Ubuntu Linux 12.04/14.04 LTS server? How do I check cron logs in Ubuntu server? How to check if crond server is enabled and/or is running properly on Ubuntu Linux server?
[click to continue…]

Sysadmin because even developers need heroes!!!

How To Install MariaDB Databases on a FreeBSD v10 Unix Server

I‘m a new FreeBSD unix user. How can I install MariaDB database server on a FreeBSD unix based system?
[click to continue…]

How To Install Apache, MySQL, PHP stack on FreeBSD Unix Server

I‘m a new FreeBSD Unix system users. How can I setup and install Apache, MySQL, PHP stack on a FreeBSD 10 based Unix server?
[click to continue…]

CentOS Linux 5/6: Change OpenSSH Port Number

I am a new CentOS Linux user. How do I change default sshd tcp port # 22 to 2022 on CentOS Linux version 5/6?
[click to continue…]

Clear Squid Proxy Cache And Re-create the Cache Directories

How do I clear squid cache? How do I re-create the cache directories on a server where Squid version 3.x is currently running in Linux or Unix based server?
[click to continue…]

Fedora Linux: Restart / Stop / Start DHCPD Server Command

I am a new Fedora Linux version 18 system administrator. How do I restart dhcpd server using command line options in Fedora Linux server running on HP server hardware?
[click to continue…]

CentOS / RHEL: Check If A Service Is Running Or Not

How do I find out if a service such as MySQL or Apache running on my Centos/RHEL/Fedora Linux server?
[click to continue…]

CentOS / RHEL 5/6: Uninstall Apache (HTTPD) Server

I do not want to use Apache server on a CentOS / RHEL 6 server. How do I uninstall and remove Apache (HTTPD) server using command line option on Red Hat Enterprise Linux / CentOS / Fedora Linux based server?
[click to continue…]

Debian / Ubuntu: Set Port Knocking With Knockd and Iptables

My iptables based firewall allows only port TCP 80 and 443. I also need tcp port # 22, but I do not have static IP at my home. How do I open and close TCP port #22 on demand under Debian or Ubuntu Linux based server systems? How do I install a port-knock server called knockd and configure it with iptables to open tcp port #22 or any other ports?

[click to continue…]

Apache 2: Reload HTTPD Configuration File Without Restarting Apache Config Changes

I made changes to the httpd.conf file. How do I reload the new config changes without restarting the Apache 2 web server under Debian / CentOS Linux operating systems?
[click to continue…]