myisamchk

The myisamchk utility comes with a standard MySQL server installation, and can check, repair and optimize MyISAM tables faster than the CHECK TABLE, REPAIR TABLE and OPTIMIZE TABLE SQL commands.

See also

Bind Samba server to specific IP

By default, a Samba server will listen for connections on all the interfaces of the host. This can be verified by:

# netstat -tulpn | egrep "samba|smbd|nmbd|winbind"
tcp    0    0 0.0.0.0:139         0.0.0.0:*       LISTEN      30352/smbd
tcp    0    0 0.0.0.0:445         0.0.0.0:*       LISTEN      30352/smbd
tcp    0    0 :::139              :::*            LISTEN      30352/smbd
tcp    0    0 :::445              :::*            LISTEN      30352/smbd

To bind the server to a specific IP or interface, add the following lines to the [global] section of Samba's configuration:

bind interfaces only = yes
interfaces = lo eth0

That will make the server listen to connections only to lo and eth0. The value of the interfaces parameter, can also be an IP, like:

interfaces = 10.1.2.3

For further information, see the man page for smb.conf.

See also

  • The Samba port usage article in the Samba Wiki explains a bit more on why it might be necessary to have the server listening on the lo interface.

PepperMint OS

PepperMint OS is a Linux distribution, based on Ubuntu and running the LXDE desktop by default.

See also

/etc/shells

The /etc/shells file is a list of valid shells on the system. Example from an Ubuntu 12.10 Desktop system:

# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/screen

Example from a CentOS 6 minimal server:

/bin/sh 
/bin/bash
/sbin/nologin
/bin/dash

See Also

Installation of syslog-ng on CentOS 6

  1. Enable EPEL
  2. yum install -y syslog-ng
  3. Configure /etc/syslog-ng/syslog-ng.conf
  4. chkconfig syslog-ng on
  5. chkconfig rsyslog off
  6. service rsyslog stop
  7. service syslog-ng start
About

Hello, I'm Marios Zindilis and this is my website. Opinions are my own. You also find me on LinkedIn and GitHub.

Unless otherwise specified, content is licensed under CC0.

Search