How to View a Specific Page or Section of Manpage
For example, the “kill” manpage shows:
SEE ALSO
bash(1), tcsh(1), kill(2), sigvec(2), signal(7)
This is how to view section 7 of the “signal” manpage:
man 7 signal
For example, the “kill” manpage shows:
SEE ALSO
bash(1), tcsh(1), kill(2), sigvec(2), signal(7)
This is how to view section 7 of the “signal” manpage:
man 7 signal
Edit your ssh_config file like this:
/etc/ssh/ssh_configServerAliveInterval 30
This will cause your SSH client to send a keep alive ping every 30 seconds to the server.
How to go directly from string to an array using Perl Regex extraction:
my ($first, $second, $third) = ( $string =~ /not(.*?)this(.*?)stuff(.*?)/ );
Combined some tips together to figure this one out.
Put this into your .vimrc file:
au FileType * setl fo=cql
I’m using VIM version 7.1.12
Besides the boilerplate at the top, here’s the least you need to add another database server to the dropdown list in PhpMyAdmin:
$i++;
$cfg['Servers'][$i]['auth_type'] = ‘cookie’;
$cfg['Servers'][$i]['host'] = ‘my.host.com’;
Add a user “nobody” only accessible via “localhost” with no password and only “usage” privileges.
If you look at the MySQL log, you will see the munin client accessing MySQL via the “nobody” user.
To test the munin client, connect to your client via telnet:
$ telnet localhost 4949
Clear out the /etc/hosts.deny file on the destination server
Also, make sure these lines are uncommented in your sshd_config file on the destination server:
/etc/ssh/sshd_config: Subsystem sftp /usr/libexec/openssh/sftp-server DenyGroups nossh
Restart sshd.
Recent Comments