Allow group sudo

From linuxers.org How to allow users in a group to run all commands in Fedora / CentOS using sudo This tutorial will guide you on how to allow a group of users to run all the commands without sharing your system root password in Fedora / Redhat / CentOS based Distros. This is similar to…


Gitso

From ubuntugeek.com Gitso is a frontend to reverse VNC connections. It is meant to be a simple two-step process that connects one person to another’s screen. First, the support person offers to give support. Second, the person who needs help connects and has their screen remotely visible. Because Gitso is cross-platform (Linux, OS X and…


How to Lock / UnLock (Enable / Disable) Linux User Account

From linuxpoison.blogspot.com Before you remove an account from a system, is a good idea lock it for one week to make sure that no one use it. To lock, you can use the follow command: # passwd -l username (where username is the login id). This option is used to lock the specified account and…


Phpmyadmin cannot export db in cpanel

From blackonsole.org error export database in phpmyadmin export.php: Missing parameter: what (FAQ 2.8) export.php: Missing parameter: export_type (FAQ 2.8) how to fix error export database on phpmyadmin login to whm and go to Tweak Settings, setup these settings: (11.25.1) PHP Max Post Size for cPanel PHP… = 55M PHP Max Upload Size for cPanel PHP……


Linux: Subnet (CIDR) Calculator

From cyberciti.biz I’m new to networking and need help with network settings. I’m looking for a tool for calculating available host address ranges with CIDR using Linux command prompt. How do I use subnet calculator under Linux or UNIX? Linux comes with various IP subnet calculator that will help you with network settings. Once such…


SSH Tricks

From diogomelo.net SSH is a powerful tool that allow you to remotely operate another machine. Here you’ll find some tips about SSH. Basic Usage The most typical usage of SSH is something like this: ssh dmelo@merov Where dmelo is the user name and merov [1] the name of the host being accessed. When run this…


Installing LiquidSoap on CentOS5

From djlab.com So I spend nearly half of an otherwise productive day fighting dependency hell with LiquidSoap. I haven’t tested it yet but here’s a cleaned up and organized command history of how it happened: ## Liquid soap install cd /usr/src rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install automake pkgconfig ncurses ncurses-devel ocaml ocaml-camlp4 ocaml-labltk libtheora libtheora-devel…


Cpanel/Exim ‘535 Incorrect authentication data’ error

From djlab.com So this issue has been plaguing some customers ever since I started migrating sites from older Ensim boxes to new Cpanel servers. It seems 50% of the email users (or more, haven’t heard from everyone yet) is getting authentication errors on their outbound mail – even in Webmail. So the first solution I’ve…


Migrating from Rackspace Cloud to Cpanel

From djlab.com Fed up with cloud hosting? You’re not alone. Just recently, I assisted a mass exodus of over 50 mysql/joomla based sites. After the migration to just a modest dedicated server with Cpanel, MySQL queries improved by 200% on average. Some longer queries and page loading times saw improvement of over 1000%. Additionally, the…


Monitoring bandwidth usage using vnstat

From webhostingwalk.com vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily and monthly network traffic for the selected interface(s). However, it isn’t a packet sniffer. The traffic information is analyzed from the proc(5) and sys filesystems depending on availability. That way vnStat can be used even without root permissions on…