Lazyscripts

bash scripts to automate server administration tasks
Alternatives To Lazyscripts
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Mysql13,1334,8927,81512 days ago49March 25, 2022108mpl-2.0Go
Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package
Rap2 Delos7,400
5 months ago73mitTypeScript
阿里妈妈前端团队出品的开源接口管理工具RAP第二代
Zabbix Docker1,812
5 days ago5gpl-2.0Shell
Official Zabbix Dockerfiles
Mycat21,420
4 days ago134gpl-3.0Java
MySQL Proxy using Java NIO based on Sharding SQL,Calcite ,simple and fast
Borgmatic1,348
16 hours ago2gpl-3.0Python
Simple, configuration-driven backup software for servers and workstations
Chinook Database1,214
3 months ago13otherC#
Sample database for SQL Server, Oracle, MySQL, PostgreSQL, SQLite, DB2
Seal Report1,212
5 days ago12apache-2.0C#
Open Database Reporting Tool (.Net)
Lithium1,061
6 months ago21mitC++
Easy to use C++17 HTTP Server with no compromise on performances. https://matt-42.github.io/lithium
Go Mysql Server1,0231114 hours ago868June 12, 202238apache-2.0Go
A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
Go Mysql Server1,015342 years ago9January 27, 202124apache-2.0Go
An extensible MySQL server implementation in Go.
Alternatives To Lazyscripts
Select To Compare


Alternative Project Comparisons
Readme

LazyScripts

This is a set of bash shell functions to simplify and automate specific routine tasks, as well as some more specialized ones.

Compatibility

  • RedHat Enterprise Linux 5+
  • CentOS 5+
  • Ubuntu 10.04+

Installation

Run this bash function as root:

function lsgethelper() {
        local LZDIR=/root/.lazyscripts/tools;
        if command -v git 2>&1 1>/dev/null; then
            if [[ -d ${LZDIR} ]]; then
                    cd "${LZDIR}" \
                    && git reset --hard HEAD \
                    && git clean -f	\
                    && git pull git://github.com/hhoover/lazyscripts.git master; \
            else
                    cd \
                    && git clone git://github.com/hhoover/lazyscripts.git "${LZDIR}";
            fi
            cd;
            source ${LZDIR}/ls-init.sh;
        else
            rm -rf "${LZDIR}"/lazyscripts-master
            cd "${LZDIR}" \
            && curl -L https://github.com/hhover/lazyscripts/archive/master.tar.gz | tar xvz
            cd;
            source "${LZDIR}"/lazyscripts-master/ls-init.sh;
        fi
}
lsgethelper && lslogin

Throw this in your .bashrc for extra credit.

Functions

Function Description
lsinfo Display useful system information
lsbwprompt Switch to a plain prompt.
lscolorprompt Switch to a fancy colorized prompt.
lsbigfiles List the top 50 files based on disk usage.
lsmytuner MySQL Tuner.
lshighio Reports stats on processes in an uninterruptable sleep state.
lsmylogin Auto login to MySQL
lsmyengines List MySQL tables and their storage engine.
lsmyusers List MySQL users and grants.
lsmycreate Creates a MySQL DB and MySQL user
lsmycopy Copies an existing database to a new database.
lsap Show a virtual host listing.
lsapcheck Verify apache max client settings and memory usage.
lsapdocs Prints out Apache's DocumentRoots
lsapproc Shows the memory used by each Apache process
lsrblcheck Server Email Blacklist Check
lscloudkick Installs the Cloudkick agent
lsvhost Add an Apache virtual host
lsvsftpd Installs/configures vsftpd
lspostfix Set up Postfix for relaying email
lsparsar Pretty sar output
lslsync Install lsyncd and configure this server as a master
lswordpress Install Wordpress on this server
lsdrupal Install Drupal 7 on this server
lswebmin Install Webmin on this server
lsvarnish Installs Varnish 3.0
lsconcurchk Show concurrent connections
lscrtchk Check SSL Cert/Key to make sure they match
lsrpaf Install mod_rpaf to set correct client IP behind a proxy.
lspma Installs phpMyAdmin
lsnginx Replace Apache with nginx/php-fpm
lshaproxy Install HAProxy on this server
lshppool Adds a new pool to an existing HAProxy config
lswhatis Output the script that would be run with a specific command.
lsnodejs Installs Node.js and Node Package Manager
lsapitools Installs API tools for Rackspace Cloud
lsrecap Installs Recap - rackerlabs/recap
lsnova Nova Configuration generator

Enjoy!

Popular Server Projects
Popular Mysql Projects
Popular Networking Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Shell
Server
Mysql
Bash
Apache
Haproxy