Skip to main content

Posts

:: dovecot missing on pam.d ::

:: what is please take a look this. :: dovecot error missing with pam.d dovecot: auth-worker(default): pam(username,127.0.0.1): pam_authenticate() failed: Authentication failure (/etc/pam.d/dovecot missing? :: how to fix dovecot missing on pam.d [ linux: ~ ]# vi /etc/pam.d/dovecot #%PAM-1.0 auth required pam_unix.so nullok account required pam_unix.so :: restarting dovecot [ linux:~]# /etc/init.d/dovecot restart if you compiled dovecot from sorce: [ linux: ~ ]# killall dovecot [ linux: ~ ]# /usr/local/sbin/dovecot & :: links + googlelinux

:: make linux liveusb opensuse linux distro ::

:: what is please take a look this :: download linux opensuse file iso you can choice on this download page. [ linux: ~ ]# wget -c http://dl2.foss-id.web.id/opensuse/distribution/11.3/iso/openSUSE-11.3-GNOME-LiveCD-i686.iso :: plug usb pendrive and detecting on your system [ linux: ~ ]# fdisk -l :: make sure your usb pendrive device not mounting on your system [ linux: ~ ]# df -h [ linux: ~ ]# umount /path/mounting/usb :: write livecd opensuse iso to usb pendrive (liveusb) [ linux: ~ ]# dd if=/path/iso/file/openSUSE-11.3-GNOME-LiveCD-i686.iso of=/dev/sdc /dev/sdc = your pendrive device not your pendrive partition :: links + googlelinux + opensuse

:: compress / uncompress file on linux ::

:: tar.gz + compress file / folder to tar.gz [ linux: ~ ]$ tar -czf filename.tar.gz file folder/ + listed content of compressed file [ linux: ~ ]$ tar -tf filename.tar.gz + uncompress on active directory [ linux: ~ ]$ tar -xzf filename.tar.gz extract files into exdir [ linux: ~ ]$ tar -xzf filename.tar.gz -C /path/to/ex/dir :: tar.bz2 + compress [ linux: ~ ]$ tar -cjf filename.tar.bz2 file folder/ + listed content of compressed file [ linux: ~ ]$ tar -tf filename.tar.bz2 + uncompress on active directory [ linux: ~ ]$ tar -xjf filename.tar.bz2 extract files into exdir [ linux: ~ ]$ tar -xjf filename.tar.bz2 -C /path/to/ex/dir :: zip + compress file to zip [ linux: ~ ]$ zip -r9 filename file folder/ + listed content of compressed file [ linux: ~ ]$ zipinfo filename.zip + uncompress on active directory [ linux: ~ ]$ unzip filename.zip extract files into exdir [ linux: ~ ]$ unzip filename.zip -d /path/to/ex/dir :: links + googlelinux + man tar zip unzip

:: how to delete empty line in vi ::

:: lets do it <esc>:g/^$/d <esc> is esc key on the keyboard :: delete some of those lines in vi <esc>:g/^ *$/d there is a space after the '^' and before the '*' :: links + googlelinux + sysunconfig Related articles by Zemanta Emacs v. vi is rooted in the love of Lisp (stevengharms.com) deleting files and folders in user areas via script (edugeek.net) VI Editor / Linux Terminal Cheat Sheet (PDF) (smashingmagazine.com)

:: install cpanel on centos ::

:: what is please take a look this. :: install cpanel on linux [ linux: ~ ]# yum install perl wget [ linux: ~ ]# wget layer1.cpanel.net/latest [ linux: ~ ]# sh latest thats it once it is done installing, assuming you have a license, you can access whm and start to configure it. :: links + googlelinux + cpanel