Few other helpful things to install I forgot to mention: apt-get …

Thursday, 28th March 2024

Comment on Installing usual Software Tools and Development header files and libraries on a newly installed Debian Server by hip0.

Few other helpful things to install I forgot to mention:

apt-get install sudo iotop mytop phpmyadmin unzip imagemagick watchdog saidar rsync pyzor razor hdparm expect ntp ntpdate ncftp gnupg

hip0 Also Commented

Installing usual Software Tools and Development header files and libraries on a newly installed Debian Server

For Debian Squeeze, the aptitude commands to check for fastest mirror should be:

# aptitude install netselect-apt
# netselect-apt -n squeeze


Installing usual Software Tools and Development header files and libraries on a newly installed Debian Server
PS.
I have a little error in the list of suggested packages to be installed the correct list would exclude few packages which couldn not be installed straight like rar and unrar here is the correct apt-get command.

debian:~# apt-get install tcpdump mc ncurses-dev htop iftop iptraf nmap tcpdump apache2 apachetop mysql-server-5.0 phpmyadmin vnstat rsync traceroute tcptrace e2fsprogs hddtemp finger mtr-tiny netcat screen imagemagick flex snort mysql-server-5.0 sysstat lm-sensors alien util-linux curl vim lynx links elinks sudo autoconf gcc build-essential dpkg-dev dstat webalizer awstats

The following extra packages will be installed:
automake autotools-dev debhelper djvulibre-desktop elinks-data esound-clients esound-common fontconfig gamin gettext ghostscript gnuplot
gnuplot-nox gnuplot-x11 gs-common gsfonts hicolor-icon-theme html2text intltool-debian libadns1 libatk1.0-0 libatk1.0-data libaudiofile0
libbeecrypt6 libcairo2 libcompress-raw-zlib-perl libcompress-zlib-perl libcroco3 libcups2 libcupsimage2 libcurl3 libdatrie0
libdirectfb-1.0-0 libdjvulibre21 libdrm2 libesd0 libfile-remove-perl libfontenc1 libfsplib0 libgamin0 libgl1-mesa-glx libglib2.0-0
libglib2.0-data libglu1-mesa libgraphviz4 libgs8 libgsf-1-114 libgsf-1-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6
libilmbase6 libio-compress-base-perl libio-compress-zlib-perl libio-stringy-perl libjasper1 liblcms1 liblua50 liblualib50 libmagick10
libmail-box-perl libmail-sendmail-perl libmailtools-perl libmcrypt4 libmime-types-perl libncurses5-dev libneon27
libobject-realize-later-perl libopenexr6 libpango1.0-0 libpango1.0-common libpaper-utils libpaper1 libpcap0.8 libpixman-1-0 libprelude2
librpm4.4 librsvg2-2 libsensors4 libsm6 libssh2-1 libsysfs2 libt1-5 libthai-data libthai0 libtiff4 libts-0.0-0 libuser-identity-perl
libwmf0.2-7 libwxbase2.6-0 libwxgtk2.6-0 libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3
libxfont1 libxft2 libxi6 libxinerama1 libxrandr2 libxrender1 libxt6 libxxf86vm1 lynx-cur oinkmaster php5-gd php5-mcrypt po-debconf
psfontmgr rpm snort-common snort-common-libraries snort-rules-default vim-runtime x-ttcidfont-conf xfonts-encodings xfonts-utils

Suggested packages:
lsb-rpm lintian autobook autoconf-archive autoconf-doc autoconf2.13 gnu-standards libtool dh-make djview4 djvu-viewer evince elinks-doc
bison cvs gettext-doc ghostscript-x hpijs gnuplot-doc ksensors adns-tools cups-common esound librsvg2-common libjasper-runtime
liblcms-utils libwmf-bin html2ps libmime-tools-perl libhtml-format-perl libmail-imapclient-perl libmcrypt-dev mcrypt ttf-kochi-gothic
ttf-kochi-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp librsvg2-bin
libgnomeprintui2.2-0 sensord read-edid i2c-tools lynx-cur-wrapper arj xpdf dbview odt2txt snort-doc isag ctags vim-doc vim-scripts
The following NEW packages will be installed
alien apachetop autoconf automake autotools-dev curl debhelper djvulibre-desktop elinks elinks-data esound-clients esound-common finger
flex fontconfig gamin gettext ghostscript gnuplot gnuplot-nox gnuplot-x11 gs-common gsfonts hddtemp hicolor-icon-theme html2text htop iftop
imagemagick intltool-debian iptraf libadns1 libatk1.0-0 libatk1.0-data libaudiofile0 libbeecrypt6 libcairo2 libcompress-raw-zlib-perl
libcompress-zlib-perl libcroco3 libcups2 libcupsimage2 libcurl3 libdatrie0 libdirectfb-1.0-0 libdjvulibre21 libdrm2 libesd0
libfile-remove-perl libfontenc1 libfsplib0 libgamin0 libgl1-mesa-glx libglib2.0-0 libglib2.0-data libglu1-mesa libgraphviz4 libgs8
libgsf-1-114 libgsf-1-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6 libilmbase6 libio-compress-base-perl
libio-compress-zlib-perl libio-stringy-perl libjasper1 liblcms1 liblua50 liblualib50 libmagick10 libmail-box-perl libmail-sendmail-perl
libmailtools-perl libmcrypt4 libmime-types-perl libncurses5-dev libneon27 libobject-realize-later-perl libopenexr6 libpango1.0-0
libpango1.0-common libpaper-utils libpaper1 libpcap0.8 libpixman-1-0 libprelude2 librpm4.4 librsvg2-2 libsensors4 libsm6 libssh2-1
libsysfs2 libt1-5 libthai-data libthai0 libtiff4 libts-0.0-0 libuser-identity-perl libwmf0.2-7 libwxbase2.6-0 libwxgtk2.6-0
libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1
libxrandr2 libxrender1 libxt6 libxxf86vm1 links lm-sensors lynx lynx-cur mc mtr-tiny netcat nmap oinkmaster php5-gd php5-mcrypt phpmyadmin
po-debconf psfontmgr rpm rsync screen snort snort-common snort-common-libraries snort-rules-default sudo sysstat tcpdump tcptrace vim
vim-runtime vnstat x-ttcidfont-conf xfonts-encodings xfonts-utils

Check out the suggested packages you might want to install some of the suggested ones as well


Recent Comments by hip0

Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
       –rwo, –report-warnings-only
              This option causes only warning messages to be displayed. This can be useful when rkhunter is run via cron. Other options may
              be used to force other items of information to be displayed.

       –sk, –skip-keypress
              When  the  –check command option is used, after certain sections of tests, the user will be prompted to press the return key
              in order to continue. This option disables that feature, and rkhunter will run until all the tests have completed.

         


Install and configure rkhunter for improved security on a PCI DSS Linux / BSD servers with no access to Internet
As rkhunter check, can be pretty annoying and ask you to press keypresses multiple times and spit you a lot of unnecessery data a very good useful option arguments are:

–rwo and –sk

# rkhunter -c –rwo –sk
Warning: The SSH and rkhunter configuration options should be the same:
         SSH configuration option 'PermitRootLogin': yes
         Rkhunter configuration option 'ALLOW_SSH_ROOT_USER': no


Fix eth changing network interface names from new Linux naming scheme ens, eno, em1 to legacy eth0, eth1, eth2 on CentOS Linux

Sorry for really late reply.

perhaps you have to create it or rename the ifcfg-eno1 to ifcfg-eth1 or you have some old ifcfg-enp1s0f0 or ifcfg-eno still under /etc/sysconfig/network-scripts/ interfering


How to RPM update Hypervisors and Virtual Machines running Haproxy High Availability cluster on KVM, Virtuozzo without a downtime on RHEL / CentOS Linux
if you happen to be missing versionlock plugin and you need to get use of it

yum versionlock capabilities

You will have to install yum-utils package:

For example on CentOS 8 Linux, to enable the yum versionlock plugiun

yum install yum-utils.noarch


How to log every Linux executed command by every running system program to separte log via rsyslog for better server Security and audit trails

In case if by default log is not configured for snoopy,
these are default output locations on various Linux distributions:

Distribution Snoopy output location Notes
CentOS /var/log/secure  
Debian /var/log/auth.log  
Ubuntu /var/log/auth.log  
(others) /var/log/messages (potentially, could be elsewhere)

Share this on:

Comments are closed.