Skip to main content
DUNTUK
  • Home
  • Contact me

Search form

A web and systems development journal (from a–too busy–web developer who does a lot of various IT work.)

RESOLVED: mysqld won't start

Created on 2009-Jun-21
Updated on 2009-Jun-21

In case your mysqld won't work with

# service mysqld restart
or
# service mysqld start
or
# service mysqld stop

do this:

# killall mysqld

followed by:

Tags: Linux PHP / MySQL mysql
  • Read more about RESOLVED: mysqld won't start
  • Comments

How to make a bootable USB thumb drive

Created on 2009-May-22
Updated on 2009-May-22

For a Vista/Server 2008/Windows 7 install usb drive

  • format your disk as FAT32
  • click start: type 'cmd' enter
  • type:
    bootsect /nt60 X:
Tags: windows thumbdrive bios
  • Read more about How to make a bootable USB thumb drive
  • Comments

Linux server: Set date and time

Created on 2009-May-19
Updated on 2009-May-19

Set your correct timezone:

# timeconfig

* You may need to install timeconfig 'yum install tzdata'

select your timezone.. select "system clock uses UTC"

Tags: Linux admin time date
  • Read more about Linux server: Set date and time
  • Comments

update server with custombuild

Created on 2009-Jan-27
Updated on 2009-May-17

source: http://www.directadmin.com/forum/showthread.php?t=19221


cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/1.2/custombuild.tar.gz

Tags: Linux DirectAdmin custombuild upgrade
  • Read more about update server with custombuild
  • Comments

How to install ImageMagick from source

Created on 2008-Apr-21
Updated on 2009-May-05

Go into /usr/local/src directory

cd /usr/local/src

First, we need to get all the required libraries...

yum search ImageMagick-devel

Tags: Linux imagemagick source
  • Read more about How to install ImageMagick from source
  • Comments

chattr (in /usr/sbin)

Created on 2009-Apr-17
Updated on 2009-Apr-17

If something refuses to run, try:

chattr -R -suSiadAc /usr/sbin

Example: if dovecot doesn't run or install/upgrade, try doing...

whoami
lsattr /usr/sbin/dovecot

Tags: Server linux server admin
  • Read more about chattr (in /usr/sbin)
  • Comments

Using SSH with Screen for Session Management

Created on 2009-Jan-28
Updated on 2009-Jan-28

Customize your ~/.screenrc

source: http://magazine.redhat.com/2007/09/27/a-guide-to-gnu-screen/

Tags: Server Linux ssh screen
  • Read more about Using SSH with Screen for Session Management
  • Comments

Dovecot Problems

Created on 2009-Jan-27
Updated on 2009-Jan-27

We use dovecot on our servers to process email. However, with IMAP it keep freezings so here are possible solutions.

# vi /etc/dovecot.conf

change and/or uncomment :


Tags: Linux mail dovecot exim fix
  • Read more about Dovecot Problems
  • Comments

Solution: Quickbooks won't print

Created on 2009-Jan-21
Updated on 2009-Jan-21

I installed a new printer and Quickbooks Pro 2008 just would not print anything--it seemed like after you hit print, the print-job would just disappear (not even get submited)...

  • Read more about Solution: Quickbooks won't print
  • Comments

How to enable SpamAssassin on DirectAdmin

Created on 2008-Jun-03
Updated on 2008-Oct-07

Source

Tags: Server Linux DirectAdmin spam
  • Read more about How to enable SpamAssassin on DirectAdmin
  • Comments

How to change IP address on Linux server

Created on 2008-Jun-02
Updated on 2008-Jun-02

1. IP
/etc/sysconfig/network-scripts/ifcfg-eth0

2. DNS
/etc/resolv.conf
/etc/hosts

3. Router
/etc/sysconfig/network

4. Restart the network
/etc/rc.d/init.d/network restart

Tags: Server Linux ip
  • Read more about How to change IP address on Linux server
  • Comments

Unix Toolbox revision 11

Created on 2008-Mar-23
Updated on 2008-May-19
Unix Toolbox revision 11 : Source
Tags: linux server admin
  • Read more about Unix Toolbox revision 11
  • Comments

How to override open_basedir settings in Plesk

Created on 2008-May-09
Updated on 2008-May-09

Plesk will overwrite any httpd.conf settings unless you include them in...

/home/httpd/vhosts/DOMAIN/conf/vhost.conf

Tags: Server Linux PHP plesk httpd
  • Read more about How to override open_basedir settings in Plesk
  • Comments

How to use install and use Iperf

Created on 2008-Apr-24
Updated on 2008-Apr-24

Install iperf

cd /usr/local/src
wget http://internap.dl.sourceforge.net/sourceforge/iperf/iperf-2.0.4.tar.gz
tar xvfz iperf-2.0.4.tar.gz
cd iperf-2.0.4

Tags: Linux iperf network speedtest
  • Read more about How to use install and use Iperf
  • Comments

How to install ffmpeg on centos/rhel via YUM

Created on 2008-Apr-17
Updated on 2008-Apr-18

source

I seen where a lot of server management companies are charging big bucks for this, so this might save you some time and money.

First

Tags: Linux ffmpeg centos rhel
  • Read more about How to install ffmpeg on centos/rhel via YUM
  • Comments

Install ffmpeg on CentOS/RHEL i386 via rpm

Created on 2008-Apr-17
Updated on 2008-Apr-18

Source: Vikrant

This actually was the only thing that worked exactly like i wanted.

Tags: Linux ffmpeg centos rhel rpm
  • Read more about Install ffmpeg on CentOS/RHEL i386 via rpm
  • Comments

install ffmpeg via ffmpeginstall.2.X series

Created on 2008-Apr-17
Updated on 2008-Apr-17

source

Tags: Linux ffmpeg centos rhel
  • Read more about install ffmpeg via ffmpeginstall.2.X series
  • Comments

directadmin yum.conf

Created on 2008-Apr-17
Updated on 2008-Apr-17

vi /etc/yum.conf

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1

Tags: Linux yum fedora
  • Read more about directadmin yum.conf
  • Comments

Detecting hardware in Linux via SSH

Created on 2005-Oct-11
Updated on 2008-Apr-17
source

Detecting hardware from outside the box

We

Tags: Linux
  • Read more about Detecting hardware in Linux via SSH
  • Comments

RKHunter Install

Created on 2006-Aug-14
Updated on 2008-Mar-18

Source: http://forums.cpanel.net/showpost.php?p=211290&postcount=102

1. Login to your server via SSH as root.

Then Type: cd /usr/local/src/

Tags: Linux security howto
  • Read more about RKHunter Install
  • Comments

Update Exim and switch to dovecot

Created on 2008-Mar-05
Updated on 2008-Mar-06

exim conf update: http://help.directadmin.com/item.php?id=51

Tags: linux exim mail dovecot ssl
  • Read more about Update Exim and switch to dovecot
  • Comments

Renew / Create server SSL certificate

Created on 2007-Sep-23
Updated on 2008-Feb-15

http://help.directadmin.com/item.php?id=15

/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9999 -nodes

Tags: linux ssl server
  • Read more about Renew / Create server SSL certificate
  • Comments

New Server Checklist

Created on 2007-Aug-01
Updated on 2008-Feb-15
source: http://directadmin.com/forum/showthread.php?t=65&highlight=hostname
Tags: linux server
  • Read more about New Server Checklist
  • Comments

How-to Upgrade Apache to 2.2.x

Created on 2006-Sep-18
Updated on 2007-Nov-26

http://www.directadmin.com/forum/showthread.php?s=78b

  • Read more about How-to Upgrade Apache to 2.2.x
  • Comments

Exim with SSL POP/SMTP/IMAP (using stunnel)

Created on 2006-Sep-21
Updated on 2007-Sep-23

Source

Tags: Linux security how-to mail SSL
  • Read more about Exim with SSL POP/SMTP/IMAP (using stunnel)
  • Comments

How to automatically sync date and time on *nix server

Created on 2007-Jan-23
Updated on 2007-Sep-11

Here's how we do it on RHEL:

Logged in as root:

* Create file at /etc/cron.hourly/clockset
* with these two lines only:

rdate -s time-a.nist.gov > /dev/null
hwclock --systohc > /dev/null

Tags: Server how-to
  • Read more about How to automatically sync date and time on *nix server
  • Comments

How To: Bulletproof Server Backups with Amazon S3

Created on 2007-Jul-29
Updated on 2007-Jul-29

http://paulstamatiou.com/2007/07/29/how-to-bulletproof-server-backups-with-amazon-s3/

  • Read more about How To: Bulletproof Server Backups with Amazon S3
  • Comments

Regular Expressions

Created on 2007-Jan-04
Updated on 2007-Jan-04

search: ([A-Za-z0-9\s-=";/0]*)

replace: $1whateveryouwant

 

The () mark takes place of $1

 

e.g.

this is wrong: <td><img src="img/D0204</td>

Tags: Programming
  • Read more about Regular Expressions
  • Comments

Linux IP management

Created on 2006-Nov-13
Updated on 2006-Nov-13

# ifconfig eth1 192.168.10.12 netmask 255.255.255.0

# cd /etc/sysconfig/network-scripts

Edit the NETMASK lines in the ifcfg-eth0* and in the ifcfg-eth1* files as required.

Tags: Linux DirectAdmin
  • Read more about Linux IP management
  • Comments

WHM / Cpanel Common Stuff

Created on 2006-Aug-22
Updated on 2006-Oct-19

location of whm/cpanel (/scripts/upcp) conf file: /etc/cpupdate.conf

 

  • Read more about WHM / Cpanel Common Stuff
  • Comments
  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • next ›
  • last »