مدیریت سرورها

آموزش مدیریت سرورهای لینوکس و ویندوز

مدیریت سرورها

آموزش مدیریت سرورهای لینوکس و ویندوز

سایت در باره انواع آموزشها در زمینه IT می باشد.
مانند: لینوکس، ویندوز، سیسکو، میکروتیک، طراحی وب
به دلیل شخصی بودن وبلاگ ارائه مطالب متفرقه در آن بلامانع است.
با تشکر

طبقه بندی موضوعی

۳ مطلب در مهر ۱۳۹۴ ثبت شده است

۲۱
مهر

In Debian:

Check your /root/.bashrc file for these lines

if [ -f /etc/bash_completion ]; then
  . /etc/bash_completion
fi

If they do not exist add them to the end of the file using your favorite text editor.


In CentOS:

# yum install bash-completion

How do I use bash Autocomplete feature?

  • طاهر ضیائی
۲۰
مهر

Install Perl Modules Manually

Download Perl module

Go to CPAN Search website and search for the module that you wish to download. In this example, let us search, download and install XML::Parser Perl module. I have downloaded the XML-Parser-2.36.tar.gz to /home/download

# cd /home/download
# gzip -d XML-Parser-2.36.tar.gz
# tar xvf XML-Parser-2.36.tar
# cd XML-Parser-2.36

Build the perl module

# perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
# make
# make test

Install the perl module

# make install

  • طاهر ضیائی
۰۶
مهر

This is for reference purposes for those who get the error:


# qmailctl start

qmail-send supervise not running

qmail-smtpd supervise not running



Though the solution for me was simple, it took quite a while to track down.


The problem was during my install of daemontools, I did not want to restart my server (don't like resetting my uptime :-p ), even though the instructions said I should. This caused the problem that 'svscanboot' was not running, though it would have been started after a reboot. Well, I saved my uptime and solved the problem with one simple command:


# svscanboot &


Now when I start and stop qmail I get:

# qmailctl start

Starting qmail

# qmailctl stop

Stopping qmail...

qmail-smtpd

qmail-send


  • طاهر ضیائی