Posts Tagged ‘Linux’
Here’s a quick run-down on how to resize an existing LVM volume on Linux. I’m currently using LVM2. Let’s see what LVM volumes I have configured right now: [root@Rudi-PC ~]# lvscan ACTIVE ‘/dev/vg_rudipc/swap’ [5.80 GB] inherit ACTIVE ‘/dev/vg_rudipc/var’ [2.00 GB] inherit ACTIVE ‘/dev/vg_rudipc/home’ [20.00 GB] inherit ACTIVE ‘/dev/vg_rudipc/root’ [8.00 GB] inherit ACTIVE ‘/dev/vg_rudipc/data’ [10.00 GB] [...]
Here’s a quick & ditry trick to repair all MySQL databases on a server, in one go. Run the following commands on your server, in the console as root. mysqlcheck –all-databases -r #repair mysqlcheck –all-databases -a #analyze mysqlcheck –all-databases -o #optimize Share and Enjoy:
Debian 4.0 doesn’t have an /etc/rc.local file, so if you’re used to adding your own startup scripts to /etc/rc.local then you will need to add this file manually as follows: 1 2 3 4 5 6 7 8 9 10 11 echo "#!/bin/bash" > /etc/init.d/rc.local echo "# Add all the scripts to run after [...]
This is quite a nice list of UNIX & Linux commands: http://cb.vu/unixtoolbox.xhtml Very handy for any Linux or UNIX admin Share and Enjoy:
Linux firewalls, by Robert L. Ziegler. TCP/IP packet handling may seem crystal clear when you first hear about it, but after you’ve configured your Ethernet card’s netmask address, the details become rather vague. You might find yourself asking–if you were a Danish prince–”What is a packet, if its chief good and market of its time [...]
Linux Complete, by Sybex. Linux Complete is a one-of-a-kind book – valuable both for its broad content and its low price. Not only does Linux Complete provide beginners with the essential information they need to get up and running, it features coverage for building network administrators with topics such as Samba and Apache. Share and [...]
Recent Comments