• 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
You are here: Home » toshiro ( » Page 4)

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 »

Create PDF files in Linux

toshiro September 5, 2016 Create PDF files in Linux2016-09-05T23:27:36+00:00 All distributions No Comment
CONVERT IMAGE FILES INTO A SINGLE PDF FILE Use convert (an utility that is part of the ImageMagick package) to convert a bunch of images into a single pdf file:…
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 »

Restoring and/or repairing GRUB

toshiro September 3, 2016 Restoring and/or repairing GRUB2016-09-03T18:42:42+00:00 All distributions No Comment
After reinstalling Windows in a dual boot machine, the GRUB boot manager usually stops working. To restore it, use the following procedure: 1. Boot from a Linux Live CD 2.…
Continue Reading »

Rename the label of a USB drive in Linux

toshiro September 2, 2016 Rename the label of a USB drive in Linux2016-09-02T13:22:07+00:00 All distributions No Comment
To change the label of external USB drives (like flash memory cards) in Linux, follow these steps (use root user to perform these commands): 1. Install the package mtools: #…
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 »

FreeBSD: managing software

toshiro April 12, 2016 FreeBSD: managing software2016-11-28T17:13:16+00:00 Configuration and Setup No Comment
FreeBSD has in its repositories more than 25,000 applications available for installation. There are two methods of installation: Install from source (using ports) Great for maximum control, you can select…
Continue Reading »

FreeBSD: working with modules

toshiro April 10, 2016 FreeBSD: working with modules2016-04-11T12:42:01+00:00 Configuration and Setup No Comment
List all loaded kernel modules: kldstat Load a module from the command line: kldload <module> NOTE: If the module is in the module search path, then just specifying the module…
Continue Reading »
«‹23456›»

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