≡ Menu

service command

Red Hat Linux (RHEL) 5/6: Change OpenSSH Port Number

I am a new Red Hat Enterprise Linux server sysadmin. How do I change default sshd tcp port # 22 to 3033 on RHEL v5/6? How do I modify SELinux to allow port 3033 and how do I saftly update firewall on RHEL to allow tcp port # 3033? How do I change ssh port on Redhat Linux operating system?
[click to continue…]

Linux Iptables Setup Firewall For a Web Server

I have setup an Apache web server on CentOS Linux. How do I configure firewall to allow or block access? How do I setup firewall for a web server under RHEL or CentOS Linux v6.x?
[click to continue…]

CentOS Linux 5/6 Install Mysql Database Server

How do I install MySQL database server on CentOS Linux version 5 or version 6 using command line options? How do I configuring MySQL server on CentOS Linux?
[click to continue…]

Ubuntu / Debian Linux: Install and Setup TFTPD Server

How do I install and configure TFTP server under Debian or Ubuntu Linux server to configure networking equipment such as remote booting of diskless devices or remote loading of Unix like operating systems via PXE boot?
[click to continue…]

I'm getting the following error when I run mysql -u root -p

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

How do I solve this problem under CentOS / RHEL / Red Hat Enterprise Linux server 5.x or 6.x?
[click to continue…]

RHEL / Centos Linux Disable Firewall

How do I disable firewall on CentOS or Red Hat Enterprise Linux server version 5.x/6.x running on my HP micro server?
[click to continue…]

CentOS / RHEL CacheFS: Speed Up Network File System (NFS) File Access

We are using NFS v4 server under RHEL 6.x+. How do I configure CacheFS for NFS under Red Hat Enterprise Linux or CentOS to speed up file access and reduce load on our NFS server?
[click to continue…]

Linux: Start / Stop / Restart BIND DNS Server

How do I start / stop / restart the Berkeley Internet Name Daemon (BIND) dns server under Linux operating systems?
[click to continue…]

Debian Linux Install OpenSSH SSHD Server

How do I install OpenSSH sshd server under Debian GNU/Linux operating systems?
[click to continue…]

Linux / Unix: SysVinit Services Restart vs Reload vs Condrestart

Can you tell me differences between the following sysvinit /sbin/service command:

service httpd restart

service httpd condrestart

service httpd reload

[click to continue…]