• 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

change console resolution in linux

toshiro July 30, 2019 change console resolution in linux2019-07-30T08:26:38+00:00 All distributions No Comment
Do the following to change the console resolution: 1. Determine available resolutions To do this, at the GRUB menu, press 'c' At the GRUB prompt type: grub> set pager=1 grub>…
Continue Reading »

PostgreSQL: ERROR: permission denied to reassign objects

toshiro August 5, 2018 PostgreSQL: ERROR: permission denied to reassign objects2018-08-05T16:43:57+00:00 Databases No Comment
When reassigning all database objects to a new owner in PostgreSQL you might get this error: mydb=> REASSIGN OWNED BY admin TO new_admin; ERROR: permission denied to reassign objects This…
Continue Reading »

flush deferred messages in mail queue

toshiro April 18, 2018 flush deferred messages in mail queue2018-04-18T20:14:59+00:00 Mail No Comment
In Exim: # exim -qff In Postfix: # postfix flush In Sendmail: # sendmail -q -v
Continue Reading »

how to shrink a linux partition used by LVM

toshiro February 12, 2017 how to shrink a linux partition used by LVM2017-02-12T16:40:43+00:00 All distributions No Comment
To shrink a linux partition, any common tool like gparted can be used. In case the partition is currently being used by LVM, some previous steps should be performed. Assuming…
Continue Reading »

move IMAP messages from one server to another

toshiro December 17, 2016 move IMAP messages from one server to another2016-12-17T18:49:29+00:00 Mail No Comment
Use larch to migrate the data stored in a user's IMAP account. To install it on Debian/Ubuntu: # apt-get install larch When executing larch, it will prompt the source and…
Continue Reading »

git basic commands

toshiro December 15, 2016 git basic commands2017-09-27T20:27:25+00:00 Version Control No Comment
List differences between versions of a file Differences in content between the working directory and the staging area: $ git diff Differences in content between the last commit and the…
Continue Reading »

subversion basic commands

toshiro December 12, 2016 subversion basic commands2016-12-12T12:29:51+00:00 Version Control No Comment
Create a repository in /home/svn $ svnadmin create --fs-type fsfs /home/svn Import an existing project located in /soft/project into the newly created repository $ svn import /soft/project/ file:///home/svn/project/trunk -m 'Initial…
Continue Reading »

find location of database files

toshiro December 7, 2016 find location of database files2016-12-07T13:16:04+00:00 Databases No Comment
MySQL 1. Connect to the mysql console: # mysql -p 2. Look the value of 'datadir' variable to find the location of database files: mysql> SHOW VARIABLES WHERE Variable_Name =…
Continue Reading »

mysql: change a user’s password

toshiro December 6, 2016 mysql: change a user’s password2016-12-06T15:13:36+00:00 Databases No Comment
1. Login to mysql server with a user with enough privileges (usually root) $ mysql -u root -p 2. Select the database 'mysql' mysql> use mysql; 3. Modify the password…
Continue Reading »

postfix: analyse logs using pflogsumm

toshiro December 5, 2016 postfix: analyse logs using pflogsumm2016-12-05T14:12:07+00:00 Mail No Comment
pflogsumm is a great tool to quickly analyse Postfix log files. To install it: // Debian based distros # apt get install pflogsumm You can also it directly from the…
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