Don’t forget to remount in rw mode:
mount -o rw,remount /
Also, cron needs to be started:
/opt/etc/init.d/S10cron
{ 0 comments }
From the category archives:
Don’t forget to remount in rw mode:
mount -o rw,remount /
Also, cron needs to be started:
/opt/etc/init.d/S10cron
{ 0 comments }
Need to transfer a really large file but are worried that it will fail before completing?
Create a multi-part file using the split command, then join it on the remote server after it transfers. Example: Start with a zipped file (somefile.zip), then run…
split -b 10m somefile.zip someprefix-
That will take somefile.zip, chop it into 10MB pieces and [...]
{ 1 comment }
Having problems getting iSCSI LUNs to appear in ESXi after enabling a second VMkernel switch on a separate subnet? Make sure you disable/re-enable the ESXi iSCSI Initiator AFTER adding the new vSwitch on the isolated network. I think iSCSI discovery only occurs on the Vswitches enabled at the time the initiator is enabled. Here is [...]
{ 0 comments }
At work, I was unable to access my Ensim control panel (on RHEL4); the browser kept timing out. So I thought I’d restart it to see if that would fix it. I did the usual:
/etc/init.d/epld restart
And got this error
Stopping Ensim Pro For Linux Control Panel [ OK ]
Stopping Ensim Pro For Linux SSL Tunnel [FAILED]
Starting [...]
{ 0 comments }
While trying to run a YUM update on a CentOS server today, I got an error message about my /boot partition being full. I ran a df -h and sure enough, there was only 100k left. (My standard install uses 100MB for the boot partition.)
Here’s what I did to fix it.
rpm -q kernel
That returns a [...]
{ 0 comments }
This tip is for my friend Scarb. For years I’ve used the Linux command “tail -f” for watching logs… but only recently did I discover its versatility for extracting parts of files.
Need to grab only the last 25 lines of a file?
tail -n 25 somefile.txt
How about the last 200000 bytes redirected to another file?
tail -c [...]
{ 2 comments }
nano /etc/rc.local
and add
/etc/init.d/zabbix-agent start
{ 0 comments }
Dropbox is a service that allows you to keep files synchronized across multiple machines (and multiple platforms).
Click through and checkout the video. It’s pretty slick!
Here is some additional info from ars technica.
{ 0 comments }
I contributed to a Handbrake forum a while back. Thought you might find it useful too.
This is my evolving script for transcoding DVDs from MacTheRipper.
1) Save the file in a logical place (I keep it in the Movies Folder… same place I rip movies to). It will loop through all titles longer than X.
#!/bin/sh
# usage [...]
{ 1 comment }
To find what flavor of Linux you’re using:
cat /etc/*-release
To find the version, use:
uname -a
{ 0 comments }