Knowledgebase
emscom > emscom Help Desk > Knowledgebase

Search help:


» Category: Linux  (Go back)

» Articles in this category:

 
Linux Mount SMB shared folder Article rated 3.0/5.0
  Mounting an SMB/CIFS share on Linux indirectly calls the mount.cifs utility, that is included within the cifs-utils package. mount.cifs accepts various options passed as a comma separated lis...
Centos 7 rename ethernet interface Article rated 4.6/5.0
Problem: By default Centos 7 assigns a clumsy device name to the Ethernet interface Resolution: Assign a different device name to the interface Update: June 2018 CentOS 7.5 build 1804. A further fi...
Webmin Install webmin Article rated 5.0/5.0
Install Webmin on Centos 7 yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect yum -y install nano wget http://www.webmin.com/jcameron-key.asc rpm --import jcameron-key.asc...
Webmin Install perl modules Article rated 5.0/5.0
Problem: complete install of webmin suggested perl modules Install perl-modules and package dependencies        command: yum install gcc -y      ...
Linux show numeric file permissions Article rated 3.0/5.0
To list files with numeric file permissions use the following command stat -c "%a %n"  
Linux Find and remove files from system Article rated 3.0/5.0
find <path_to_search> -name "filespec" -exec rm -rf {} \; e.g remove all files and folders names temp from home folder find ~/ -name "temp" -exec rm -rf {} \; remove only files prefixed ._ fi...
Linux Install FastCGI on Apache2 Article rated 3.0/5.0
Basic steps for installing FastCGI support on Apache2 under Centos 5 yum install httpd-devel wget http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz tar xzf mod_fastcgi-current.tar.gz cd mod_fast...
Linux change group ownership Article rated 3.0/5.0
Change ownership of a file chown user:group filespec Change ownership of directory and contents chown -R user:group filespec Change ownership of a symlink chown -h user:group symlink
Linux rsync common usage Article rated 3.0/5.0
rsync is a command line file synchronisation application, which is available for Natively for almost all Linux distributions As a statically linked binary for ESXi server Most versions of Windows...
Linux change console resolution Article rated 3.3/5.0
The default Linux video mode is 640x480, 8 bit, which produces a text console of 80 x 25 characters The text console dimensions may be increased by setting the video mode used by the kernel during boo...
VMNet realtime packet capture Article rated 3.1/5.0
Problem: VMWare virtual interfaces can not be captured directly using WiresharkSolution: The vmnet-sniff command is capable or writing libpcap files which can be read by Wireshark. To capture in realt...
Build. Create Ram Disk Article rated 3.0/5.0
A Ram disk is can be useful for many purposes.   In particular when creating a root fs during the building of a boot image. To create a 4MB Ext2 Ram disk 1. Check that /dev/ram0 exists, or cre...
Build. Align partition Article rated 3.0/5.0
When using parted to create disk partions you may recieve the following warning message Warning: The resulting partition is not properly aligned for best performance Th parameters required to align ...
Bind 9 logging template Article not rated yet
Bind9 / named logging skeleton template. Various channel definitions which can be C&Pd to named.conf at the global level.  On redhat the log files should be created before starting bind wit...
FirewallD custom ftpd port Article not rated yet
General FirewallD is the zone based netfilter configuration tool shipped with CentOS / RHEL 7.  Various standard service definitions are distributed with FirewallD, in the lib/firewalld/services...
Postfix berkley db error Article not rated yet
Postfix error on Debian 8 Jessie   Jun 16 13:45:44 mail01 postfix/postscreen[6086]: close database /var/lib/postfix/postscreen_cache.db: No such file or directory (possible Berkeley DB bug) &n...
awk count client ip occurrence in log files Article not rated yet
Problem:  report the number of errors produced by individual clients This may be useful for tracking down attacks. cat error_log | awk '{print $11}' | awk -F: '{print $1}' | sort | uniq -c &n...
 

 
Powered by Help Desk Software HESK, brought to you by SysAid