Latest News: Linux shell script to change you ssh port

Tutorial

Tutorial and relative

HOW TO ADD CRON JOBS IN LINUX AND UNIX

HOW TO ADD CRON JOBS IN LINUX AND UNIX

willing 2Year(s) Ago (2017-03-14) 367 View(s) 0 Comment(s)

  Introduction Cron job are used to schedule commands to be executed periodically. You can setup commands or scripts, which will repeatedly run at a set time. Cron is one of the most useful tool in Linux or UNIX like operating systems. The cron service (daemon) runs in the background and constantly checks the /etc/crontab file, and /etc/cron.*/ directories. It also checks the /var/spool/cron/ directory. Command of crontab crontab is the command used to install, deinstall or list the tables ...

How to Prevent SSH Brute Force Attacks with Fail2Ban on Debian 7

How to Prevent SSH Brute Force Attacks with Fail2Ban on Debian 7

willing 2Year(s) Ago (2017-03-14) 319 View(s) 0 Comment(s)

Fail2ban is an open-source intrusion prevention system that can be used to prevent brute force attacks and other suspicious malicious attacks. It scans log files (e.g. /var/log/apache/error_log) and bans IP’s that show the malicious signs such as too many password failures, seeking for exploits etc. Generally Fail2Ban then used to update firewall rules to reject the IP addresses for a specified amount of time, although any arbitrary other action (e.g. sending an email, or ejecting CD-ROM tray) c...

How To Install Fail2Ban On CentOS 7

How To Install Fail2Ban On CentOS 7

willing 2Year(s) Ago (2017-03-14) 482 View(s) 0 Comment(s)

Brute force attacks are a way for malicious hackers to get access on your machine so in order to protect from these kind of attacks you need to prepare. A very good solution is the use of an intrusion prevention framework on your server such as Fail2Ban which will provide security on your server by blocking and banning the ip address from which the attack is coming from. Experiencing ssh attacks on your server is a real struggle and I am sure you don’t want to be part of that so better follow th...

uncompress *.tar.xz in Linux

uncompress *.tar.xz in Linux

willing 2Year(s) Ago (2016-09-08) 645 View(s) 0 Comment(s)

CentOS yum install -y xz Ubuntu apt-get -y install xz   xz -d ***.tar.xz tar -xvf ***.tar Please give credit to the original author when you use it elsewhere: VPS List Agent » uncompress *.tar.xz in Linux

How to allow 80 3306 22 in your CENTOS 6.0 iptables

How to allow 80 3306 22 in your CENTOS 6.0 iptables

willing 2Year(s) Ago (2016-06-06) 833 View(s) 0 Comment(s)

iptables -I INPUT -p tcp --dport 80 -j ACCEPT iptables -I INPUT -p tcp --dport 22 -j ACCEPT iptables -I INPUT -p tcp --dport 3306 -j ACCEPT Save it: service iptables save service iptables restart Check the rule in the iptables: iptables -L ——————————————————- addition: #close the iptables /etc/init.d/iptables stop service iptables stop # stop iptables service #Check the rule in the iptable...

How to Benchmark your VPS?

How to Benchmark your VPS?

willing 3Year(s) Ago (2016-03-23) 1117 View(s) 0 Comment(s)

Have you recently purchased a VPS? do you want to see how powerful is that VPS and what can you do with it? or do you want to write a review for a host and can’t find the rights scripts to benchmark with? Benchmarking VPS is that process where some script runs code (like editing image, copying file and compiling things.. etc) and calculate how much time does VPS or Server take to finish it, of course the faster VPS will do these processes faster, and in this way you can check quality of the prod...

How to backup you data to remote FTP server daily

How to backup you data to remote FTP server daily

willing 3Year(s) Ago (2016-01-10) 1030 View(s) 0 Comment(s)

[crayon-5beb8661b61ef083371295/] save the code below as backup.sh under the /root run: [crayon-5beb8661b61f6853094865/] run: [crayon-5beb8661b61f9078810231/] add: [crayon-5beb8661b61fb343455079/] Please give credit to the original author when you use it elsewhere: VPS List Agent » How to backup you data to remote FTP server daily

Install Windows on a Kimsufi or Online.net Server

Install Windows on a Kimsufi or Online.net Server

willing 3Year(s) Ago (2015-10-16) 1831 View(s) 0 Comment(s)

Okay, so you want to install Windows on your Kimsufi server? Cool! Just follow the instructions and you’ll have Windows installed within an hour! These templates work on Kimsufi, Online.net, may also work on Hetzner.de and SoYouStart.com servers (but it is not guaranteed to work). First of all disable monitoring, once disabled, boot into rescue mode (netboot) from the Kimsufi control panel. Wait a few minutes and an email will show up in your inbox with the details (username and password) of the...

Install VNC into you OpenVZ by shell

Install VNC into you OpenVZ by shell

willing 3Year(s) Ago (2015-10-09) 1120 View(s) 0 Comment(s)

apt-get update -y;apt-get upgrade -y;apt-get install nano -y;apt-get install gnome-core firefox flashplugin-installer -y;apt-get install vnc4server -y; vncserver; vncserver -kill :1; cd ~; wget http://wget.vps.la/sh/vnc/vnc-ubuntu-12.txt -O .vnc/xstartup; mkdir -p /etc/vncserver; echo 'VNCSERVERS="1:root"' >> /etc/vncserver/vncservers.conf; echo 'VNCSERVERARGS[1]="-geometry 1000x700"' >> /etc/vncserver/vncservers.conf; cd /etc/init.d/; wget http://wget.vps.la/sh/vnc/vnc-init-ubuntu-12.txt -O vnc...

How to run chrome in you OpenVZ with VNC

How to run chrome in you OpenVZ with VNC

willing 3Year(s) Ago (2015-10-09) 1054 View(s) 0 Comment(s)

Maybe you hasve installed chrome on you OpenVZ. But the fact is that you can’t open you chrome. This is cause by the OpenVZ does not support the Chrome’s sandbox. You can run Chrome without sandbox by running special commamd under terminal: google-chrome –no-sandbox What’s more, if you want to run under root user, you can by running the command under terminal: google-chrome –no-sandbox –user-data-dir Please give credit to the original author when you use it elsewher...