• Home
  • About
  • Contact

SysAdmin Tips

Lots of useful sysadmin information

  • Cheatsheets
  • FreeBSD
    • Configuration and Setup
    • Troubleshooting
  • Hardware
  • Linux
    • All distributions
    • Debian/Ubuntu
  • Services
    • Databases
    • DLNA
    • DNS
    • LDAP
    • Mail
    • Samba
    • SSH
    • Version Control
    • Web Server
  • Solaris
    • System
  • DNS
  • LDAP
  • Web Server
  • DLNA
  • Databases
  • Version Control
  • Samba
  • SSH
  • Mail
You are here: Home » Services ( » Page 2)

samba useful commands

toshiro September 17, 2016 samba useful commands2016-09-17T14:14:14+00:00 Samba No Comment
Check whether the config file is correct # testparm List connected users and locked files # smbstatus List the shares of a host # smbclient -L <host> -N Lookup NetBIOS…
Continue Reading »

mysql: show grants of all users

toshiro September 15, 2016 mysql: show grants of all users2016-09-15T13:54:48+00:00 Databases No Comment
Unfortunately, there's no a single MySQL command to display all privileges granted to all users, but that information can be gathered with the following procedure: 1. Login as root (or…
Continue Reading »

SOCKS proxy setup

toshiro September 7, 2016 SOCKS proxy setup2016-09-07T13:51:55+00:00 SSH No Comment
A SOCKS proxy is very useful in case you want to surf the web securely over an insecure network or behind a very restrictive firewall. It's very easy to configure…
Continue Reading »

apache: enable .htaccess support

toshiro September 6, 2016 apache: enable .htaccess support2017-03-25T21:00:09+00:00 Web Server No Comment
Do the following in order to enable .htaccess support: 1. Check if the module rewrite_module is loaded: # httpd -M | grep rewrite_module (in FreeBSD) # apachectl -M | grep…
Continue Reading »

Set up a master/slave replication in MySQL

toshiro September 4, 2016 Set up a master/slave replication in MySQL2017-02-27T19:56:04+00:00 Databases No Comment
Follow this step by step procedure to replicate a MySQL server (master) to another (slave): 1. CONFIGURE THE MASTER Enable binary log. To do this, add in / under section:…
Continue Reading »

How to flush / clear DNS cache

toshiro April 18, 2016 How to flush / clear DNS cache2017-04-03T15:13:37+00:00 DNS No Comment
Here's how to flush the DNS cache (depending of the OS): In OS X For OS X and later: $ sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder For OS X…
Continue Reading »

SSH login without password

toshiro April 17, 2016 SSH login without password2016-04-17T22:29:08+00:00 SSH No Comment
To enable access to a remote host requiring a password, follow this procedure: 1. Generate SSH keys in the local host # ssh-keygen -t rsa -b 2048 -N '' This…
Continue Reading »

SSH troubleshooting

toshiro April 17, 2016 SSH troubleshooting2016-04-17T20:14:42+00:00 SSH No Comment
ERROR: Permission denied (publickey). This message appears when the remote ssh server has password authentication disabled. To fix this, edit /etc/ssh/sshd_config to enable password authentication: PasswordAuthentication yes Restart the SSH…
Continue Reading »

git: create a remote repository

toshiro February 13, 2016 git: create a remote repository2016-12-14T00:07:44+00:00 Version Control No Comment
If you have a local repository and want to create your own remote git repository as a backup (or share your work with others, here's what you need to do:…
Continue Reading »

apache: fixing ‘config variable XX is not defined’ error

toshiro November 2, 2015 apache: fixing ‘config variable XX is not defined’ error2015-11-02T03:15:29+00:00 Web Server No Comment
PROBLEM: You try to execute from a shell some apache command like this: # apache2 -t -D DUMP_MODULES and you get the following error messages: AH00111: Config variable ${APACHE_LOCK_DIR} is…
Continue Reading »
123

Categories

Tags

64bits active directory admin tools apache bind cassandra cheatsheet cpu database debian dlna dns e173 freebsd git grub huawei iso label linux lsof mail mirror modem modules mtools multimedia mysql openldap password pkg ports postfix postgresql raid replication salt samba samba4 solaris ssh troubleshooting ubuntu usb www

Login

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright © 2016 Toshiro Viera Stalker - All rights reserved