Restarting an interface in Ubuntu Server
Restarting an interface in Ubuntu Server How to restart a network in Ubuntu Server without reboot sudo ifdown eth0 && sudo ifup eth0
Restarting an interface in Ubuntu Server How to restart a network in Ubuntu Server without reboot sudo ifdown eth0 && sudo ifup eth0
Windows 10 Installation: How to Fix 80240020 Installer Bug Navigate to the C:WindowsSoftwareDistributionDownload folder and erase all the data in it. Click on the Start button, search CMD and right click on the icon and choose Run as Administrator. The command prompt will… Continue Reading
Install nslookup on CentOS For install nslookup, dig, host you need bind-utils pakage. Just run the command: sudo yum install bind-utils
Fail2ban Unban Single Host run: iptables -L For example we need to unban 10.110.11.16 Then get the actual jails list: fail2ban-client status Unban command is: fail2ban-client set jailname unbanip m.y.i.p For unban 10.110.11.16 IP from asterisk jail run command: fail2ban-client… Continue Reading
Increase File Upload Size in PHP-Nginx How to fix “[error] client intended to send too large body” in Ubuntu Edit php.ini: vi /etc/php5/fpm/php.ini Set: upload_max_filesize = 10M post_max_size = 12M Then change Nginx config file: vi /etc/nginx/nginx.conf … Continue Reading
Install Rkhunter (Rootkit Hunter) in RHEL, CentOS Rkhunter is rootkit scanner for Linux systems. This tool scans for rootkits, backdoors and local exploits by running tests like: – MD5 hash compare – Look for default files used by rootkits –… Continue Reading
Apt-Get Install Apache Tomcat 7 on Ubuntu 14.04 sudo apt-get update sudo apt-get install tomcat7 tomcat7-docs tomcat7-admin tomcat7-examples then type: http://your_ip_address:8080 in your browser, and you will see next screen-shot: If you see “It works!” your tomcat successfully installed Install… Continue Reading
How to enable mod_rewrite for Apache a2enmod rewrite then restart apache2 server: /etc/init.d/apache2 restart or service apache2 restart
Install Apache, MySQL, PHP (LAMP) stack On CentOS 6 LAMP is software bundle of web service solution stacks, named as an acronym of the names of its original four components: the Linux operating system, the Apache HTTP Server, the MySQL… Continue Reading
When trying to Upgrade from Webmin 1.740 to 1.750 on CentOS 6 you may have error: error: Failed dependencies:perl(Net::SSLeay) is needed by webmin-1.750-1.noarch For resolve problem: you just need install perl-Net-SSLeay package # yum install perl-Net-SSLeay Fix Webmin Error: Failed… Continue Reading