Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble

NickTheGreek

Administrators
  • Content Count

    454
  • Joined

  • Last visited

  • Days Won

    76
  • Feedback

    N/A

Everything posted by NickTheGreek

  1. Have you used this ? you would be thrilled Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed. CODE https://telegram.org/ "Telegram is a cloud-based instant messaging service. Telegram clients exist for both mobile (Android, iOS, Windows Phone, Ubuntu Touch) and desktop systems (Windows, OS X, Linux). Users can send messages and exchange photos, videos, stickers and files of any type. Telegram also provides end-to-end encrypted messaging, but its optionality and home-brew nature have been contested by security experts and cryptography researchers." CODE https://en.wikipedia.org/wiki/Telegram_(software) "In October 2013, Telegram had 100,000 daily active users. On 24 March 2014, Telegram announced that it had reached 35 million monthly users and 15 million daily active users. In October 2014, South Korean governmental surveillance plans drove many of its citizens to switch to Telegram. In December 2014, Telegram announced they had 50 million active users, generating 1 billion daily messages and that they had 1 million new users signing up on their service every week; traffic doubled in five months with 2 billion daily messages. In September 2015, an announcement stated that the app had 60 million active users and delivered 12 billion daily messages. In February 2016, Telegram announced that they had 100 million monthly active users, with 350,000 new users signing up every day, delivering 15 billion messages daily"
  2. Καλώς ήρθατε στο designhost.gr.

    Νιώστε ελεύθερα και πλοηγηθείτε στην κοινότητα μας όπου μπορείτε να βρείτε διάφορες πληροφορίες και να γνωριστείτε με τα υπόλοιπα μέλη.

    Μην διστάσετε να μας ρωτήσετε για οποιαδήποτε απορία σας ή διευκρίνηση.

  3. Το θεμα δεν ειναι τοσο να βρουμε ποιος μπηκε κατόπιν εορτής όσο να λαμβάνουμε ειδοποιήσεις σε email realtime
  4. Πως να κλείνετε idle - inactive RDP sessions ή πως να λύσετε το σπάνιο αλλά ενοχλητικό σφάλμα σε W2K8R2 "because of a protocol error this session will be disconnected. please try connecting to remote computer again' χωρις χρήση άλλου Remote Software, χωρίς φυσική πρόσβαση και χωρίς reboot ? To get a list of the Remote Sessions in the command window (Get the session Id of user to kick out): qwinsta /server:SERVERIP To disconnect the remote session: rwinsta /server:SERVERIP SESSIONID Πηγές: http://www.techtalkz.com/blog/tips-n-tricks/how-to-view-disconnect-remote-desktop-sessions-from-commandline.html https://social.technet.microsoft.com/Forums/windows/en-US/4523ce86-9a0b-4e6c-90d1-225ddda67ce5/because-of-a-protocol-error-this-session-will-be-disconnected-please-try-connecting-to-remote?forum=w7itprogeneral http://superuser.com/questions/62498/kicking-logging-out-remote-windows-users/62504
  5. Για να προσθεσει κανεις εγγραφές σε crontab υπαρχουν διάφοροι τρόποι, αν θελει να το κανει ομως μεσα σε καποιο script και χωρις crontab -e μια λυση θα ηταν: crontab -l | { cat; echo "0 0 0 0 0 some entry"; } | crontab - http://stackoverflow.com/questions/878600/how-to-create-cronjob-using-bash φυσικα υπάρχουν και άλλοι τρόποι αλλα αυτός είναι και ο πιο σύντομος ίσως.
  6. εχει τύχει πολλές φορες σε daily usage reports να βλέπουμε το xmlrpc.php ως πρώτη αιτία φόρτου, ο λόγος αναλύεται εδώ: https://bobcares.com/blog/xmlrpc-php-causing-high-load-in-server-how-to-recover-and-prevent-this-issue-in-cpanel-plesk-and-directadmin-apache-servers/ "In cPanel, Plesk and DirectAdmin servers that have WordPress websites, high server load is sometimes reported with “xmlrpc.php” showing up as the top CPU hog. xmlrpc.php is a file in WordPress websites used for remote publishing and ping-back tracking. Botnets target this file to initiate brute force attacks to gain control of the targeted website. This causes high load in the server." όπως και κάποιες λύσεις βελτιστοποίησης και αντιμετώπισης του φαινομένου: How to recover from high load When the server is under high load, your first priority is to restore normalcy. For this, you’ll need to prevent access to xmlrpc.php at the Apache connection level. You can do this by adding the below directive to Apache configuration file, and restarting the server. Files ~ "xmlrpc.php" Order allow,deny Deny from all Files How to prevent xmlrpc.php abuse Disabling access to xmlrpc.php is only a temporary solution as many websites would need it to track blog ping-backs or do remote publishing. So, the solution is to block the attacks based on a common attack signature. Here’s a sample of xmlrpc.php attack log: 37.203.208.49 - - [21/Jan/2015:15:37:54 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4859 37.203.208.49 - - [21/Jan/2015:15:37:55 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4859 37.203.208.49 - - [21/Jan/2015:15:37:57 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4859 37.203.208.49 - - [21/Jan/2015:15:38:02 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4859 37.203.208.49 - - [21/Jan/2015:15:38:11 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4861 37.203.208.49 - - [21/Jan/2015:15:38:13 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4861 37.203.208.49 - - [21/Jan/2015:15:38:18 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4861 A valid request will have a referrer field, while the attacks wont usually have a referrer field. So, a firewall rule can be used to block such requests. Mod_security can come in very handy for this. Add the following to the mod_security rule set. #Block requests to xmlrpc.php with no referring URL SecRule REQUEST_METHOD "POST" "deny,status:401,id:5000900,chain,msg:'xmlrpc request blocked, no referer'" SecRule &HTTP_REFERER "@eq 0" "chain" SecRule REQUEST_URI "xmlrpc.php" For dedicated servers with a limited set of WordPress sites, it might be easier and more flexible to install a plugin like “xmlrpc attacks blocker“. https://srd.wordpress.org/plugins/xmlrpc-attacks-blocker/
  7. http://www.aws.gr http://angellight.com web hosting, vps cpanel host & domain Web Hosting, Web Design & Search Engine Optimization angellight Services Ltd works for more than 14 years, in order to be your perfect partner for the promotion and growth of your business using advanced promotional media and the powerful internet tools. We offer web site hosting services (web hosting) and Virtual Private Servers (VPS) through a high standard European network. We offer web site building services (web design) as well as graphic design services aiming to present of your personal or business profile in the most efficient way. Using the Control Panel of our services, our clients have access to domain names registration, in more than 60 TLDs having full administration possibilities. In addition, Angellight Services Ltd represents and cooperates with top of the line companies such as cPanel, Parallels, Google, Webroot and CS-Cart.
  8. Καλησπέρα σας, επειδη δεν βρηκα καποιο dedicated forum section με προτάσεις για την βελτίωση του forum παρακαλω μετακινήστε το όπου απαιτείται. Πολλές φορές τυχαίνει να υπάρχουν θέματα που κατά την ταπεινή μου γνώμη θα ενδιέφεραν και τα άλλα μέλη αλλά δεν βρίσκω την κατάλληλη ενότητα για να τα ξεκινήσω. Επίσης βλέπω καπως ασύμμετρη (πάλι κατά την προσωπική μου άποψη) την διάταξη του forum, Θα μπορούσε να είναι πιο nested με περισσότερες επιλογές για Posting σε ενότητες όπως: * Training * Ebooks δεν εχω κατι απολυτα ξεκαθαρισμένο σχετικά, με μια γρήγορη ματια εχω καποια παραδειγματα παντως: Hosting Hardware θα μπορούσε να έχει Nested από κάτω VPS DS Cloud etc Hosting Software θα μπορουσε εκει μεσα να εχει DNS MTAs Control Panels στο Design ισως να ηταν ολα απο κατω nested ? γενικα ειναι καλύτερα να μην ξεπερνά το forum index τα 2,5 - 3 page scrolls, αυτη την στιγμη σε 1024 ύψος ειναι περιπου 5-6 Αναπτύσσω τον όλο προβληματισμό σε ένα topic να δω αν συμφωνούν και άλλοι, αν δεν είναι κάτι τέτοιο αρεστό μπορώ να τα στελνω και σε PM σε κάποιο διαχειριστή. Εχω παραδείγματα από δικά μου forum για το 2,5-3 Pages που τηρείται απαρέγκλιτα. Πάντα με εκτίμηση
  9. Serva is an Automated PXE Server Solution Accelerator based on an all-in-one portable multi-server engine HTTP server FTP server TFTP server TFTP client DHCP server proxyDHCP server 1 BINL server 2 DNS server SNTP server SYSLOG server 1- PXE DHCP service that does not require altering your current DHCP server. 2- Microsoft WAIK/ADK independent RIS and WDS alternative. Serva is a light (~3 MB), yet powerful Microsoft Windows application. It was conceived mainly as an Automated PXE Server Solution Accelerator. It bundles on a single exe all of the underlying server protocols and services required by the most complex PXE network boot/install scenarios simultaneously delivering Windows and non-Windows assets to BIOS and UEFI based targets. It includes proxyDHCP and a WAIK (Windows Automated Install Kit) and ADK (Assessment and Deployment Kit) independent RIS and WDS server alternative. Serva's application field also tackles the ultra-fast set-up of simple single-protocol solutions like i.e. HTTP, FTP or TFTP server for file delivery. The application does not require installation, it does not require Internet connection, it does not save keys on your Windows registry, and it can be used right away. Serva includes a very simple and comprehensive interface that will quickly guide you through all its settings. Serva is a full C/C++ multi-threaded application that runs from Windows 2000 to Windows 10. See what Serva can do for you by reading its Application Notes starting here.
  10. Question: Need a script to send email notification to user when their passwords is set to expiry. Also if there's a means of doing this without running a script I'd appreciate. Answer(s): 1. https://gallery.technet.microsoft.com/Password-Expiry-Email-177c3e27/ Password Expiry Email Notification This script will email a user in the event that their password is due to expire in X number of days. 2. https://www.manageengine.com/products/self-service-password/free-password-expiry-notification-tool.html Free Password Expiry Reminder Tool By forcing users to change their passwords from time to time, password expiration helps IT admins ensure the safety of passwords to a great extent. But remote users like OWA and VPN users have no way of knowing when their Active Directory passwords will expire, as Windows will only let users who are directly connected to the corporate network know about their password expiry. Users with expired passwords will result in an increased number of help desk calls, productivity losses and frustration for everyone involved. So how do you avoid help desk calls related to password expiry?
  11. "The command below will output version numbers for your OS, cPanel, Apache, PHP, and MySQL. In addition, it will output information about your cPanel update preferences and environment type. Include this information in your thread so we can better answer your question and reproduce an issue." grep '' /etc/redhat-release /usr/local/cpanel/version /var/cpanel/envtype ; grep CPANEL= /etc/cpupdate.conf ; httpd -v ; php -v ; mysql -V
  12. https://crybit.com/how-to-reset-ssh-port-from-whm/ http://www.cpanelkb.net/how-to-reset-default-ssh-port-on-cpanel-servers/ http://serverip:2087/scripts2/doautofixer?autofix=safesshrestart
  13. Anyone who has never made a mistake has never tried anything new. — Albert Einstein ωραίο άρθρο: https://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.html userdel Command The file /etc/deluser.conf was configured to remove the home directory (it was done by previous sys admin and it was my first day at work) and mail spool of the user to be removed. I just wanted to remove the user account and I end up deleting everything (note -r was activated via deluser.conf): userdel foo Rebooted Solaris Box On Linux killall command kill processes by name (killall httpd). On Solaris it kill all active processes. As root I killed all process, this was our main Oracle db box: killall process-name Destroyed named.conf I wanted to append a new zone to /var/named/chroot/etc/named.conf file., but end up running: ./mkzone example.com > /var/named/chroot/etc/named.conf Destroyed Working Backups with Tar and Rsync (personal backups) I had only one backup copy of my QT project and I just wanted to get a directory called functions. I end up deleting entire backup (note -c switch instead of -x): cd /mnt/bacupusbharddisk tar -zcvf project.tar.gz functions I had no backup. Similarly I end up running rsync command and deleted all new files by overwriting files from backup set (now I’ve switched to rsnapshot) rsync -av -delete /dest /src Again, I had no backup. Deleted Apache DocumentRoot I had sym links for my web server docroot (/home/httpd/http was symlinked to /www). I forgot about symlink issue. To save disk space, I ran rm -rf on http directory. Luckily, I had full working backup set. Accidentally Changed Hostname and Triggered False Alarm Accidentally changed the current hostname (I wanted to see current hostname settings) for one of our cluster node. Within minutes I received an alert message on both mobile and email. hostname foo.example.com Public Network Interface Shutdown I wanted to shutdown VPN interface eth0, but ended up shutting down eth1 while I was logged in via SSH: ifconfig eth1 down Firewall Lockdown I made changes to sshd_config and changed the ssh port number from 22 to 1022, but failed to update firewall rules. After a quick kernel upgrade, I had rebooted the box. I had to call remote data center tech to reset firewall settings. (now I use firewall reset script to avoid lockdowns). Typing UNIX Commands on Wrong Box I wanted to shutdown my local Fedora desktop system, but I issued halt on remote server (I was logged into remote box via SSH): halt service httpd stop Wrong CNAME DNS Entry Created a wrong DNS CNAME entry in example.com zone file. The end result – a few visitors went to /dev/null: echo 'foo 86400 IN CNAME lb0.example.com' >> example.com && rndc reload Failed To Update Postfix RBL Configuration In 2006 ORDB went out of operation. But, I failed to update my Postfix RBL settings. One day ORDB was re-activated and it was returning every IP address queried as being on its blacklist. The end result was a disaster. Conclusion All men make mistakes, but only wise men learn from their mistakes — Winston Churchill. From all those mistakes I’ve learnt that: Backup = ( Full + Removable tapes (or media) + Offline + Offsite + Tested ) The clear choice for preserving all data of UNIX file systems is dump, which is only tool that guaranties recovery under all conditions. (see Torture-testing Backup and Archive Programs paper). Never use rsync with single backup directory. Create a snapshots using rsync or rsnapshots. Use CVS to store configuration files. Wait and read command line again before hitting the dam [Enter] key. Use your well tested perl / shell scripts and open source configuration management software such as puppet, Cfengine or Chef to configure all servers. This also applies to day today jobs such as creating the users and so on.
  14. http://stackoverflow.com/questions/15216370/how-to-count-number-of-files-in-each-directory find . -type d -print0 | while read -d '' -r dir; do files=("$dir"/*) printf "%5d files in directory %s\n" "${#files[@]}" "$dir" done findfiles() { echo "$1" $(find "$1" -maxdepth 1 -type f | wc -l) } export -f findfiles find ./ -type d -exec bash -c 'findfiles "$0"' {} \;
  15. News: Mar 30, 2015 UltraMon™ 3.3.0 released UltraMon 3.3.0 is now available for download. New in this release: new taskbar extensions feature for Windows 8, and new window button compatibility options which improve support for applications with custom window title bars. Several bugs have been fixed as well, for details see the release notes. This is a free upgrade if you have a version 3 license. ειναι πρακτικά ένα ολοκληρωμένο προϊόν πάντως, για να κανεις αυτό που δίνει η Smart TaskBar διαβάζω πως ούτε στα 10 δεν θα το πετύχεις απόλυτα... μετά είναι και το άλλο, προσωπικά είμαι fan σε τέτοια περιβάλλοντα εργασίας ! http://www.win2008r2workstation.com http://www.win2012workstation.com/ αν ζήσεις λίγο με τα παραπάνω, δύσκολα μετακομίζεις ακόμα και για τα W11 ή W12. ή απλά: Old Habbits Die Hard
  16. ωραίο seedbox σηκώνεις στα 10 μέχρι και σε 1 πάντως που έκανα κάποια φορά δοκιμή, η προσφορά (μου) ξεπερνούσε την ζητηση συνήθως !
  17. δεν έχεις άδικο, ειδικά αν μιλάμε για Gbps, στα 100Mbps εχεις πρακτικα θεωρητικό μέγιστο 12,5MBps και στην πράξη οτιδήποτε ξεπερνά τα 10MB/s είναι μια χαρά, αλλά εκεί έχεις κέρδος σίγουρα από την συμπίεση. Επίσης, περισσότερο θέλουμε compression για περιβάλλοντα όπου η χρήση χώρου παίζει ρόλο, πχ smaller VPS
  18. σε multiple screen setup, έχει δοκιμάσει κανείς UltraMon ?
  19. καλα κι εγω εχω αποβάλλει εντελώς το CAT αλλά κάπου διάβαζα πως είναι ό,τι πιο γρήγορο ακόμα και για transfers, γρηγορότερο από cp/scp/rsync
  20. αυτο τελικα που φανταζε ευκολο ειναι αρκετα πιο συνθετο απο το WP καθως στο Joomla πλέον απαιτούνται 2 αρχεία για να έχεις πλήρη εικόνα βρήκα έτοιμο το ιδανικο script ( απλα ως γνωστόν ήθελαν διορθώσεις τα quotes ) cPanel find /home/*/public_html/ -type f \( -iwholename '*/libraries/joomla/version.php' -o -iwholename '*/libraries/cms/version.php' -o -iwholename '*/libraries/cms/version/version.php' \) -print -exec perl -e 'while (<>) { $release = $1 if m/ \$RELEASE\s+= .([\d.]+).;/; $dev = $1 if m/ \$DEV_LEVEL\s+= .(\d+).;/; } print qq($release.$dev\n);' {} \; && echo “-“ Plesk find /var/www/vhosts/*/httpdocs/ -type f \( -iwholename '*/libraries/joomla/version.php' -o -iwholename '*/libraries/cms/version.php' -o -iwholename '*/libraries/cms/version/version.php' \) -print -exec perl -e 'while (<>) { $release = $1 if m/ \$RELEASE\s+= .([\d.]+).;/; $dev = $1 if m/ \$DEV_LEVEL\s+= .(\d+).;/; } print qq($release.$dev\n);' {} \; && echo “-” https://serversitters.com/how-to-get-a-listing-of-all-joomla-installs-on-your-server-and-their-versions.html η αποθέωση του oneliner !
  21. ωραιο oneliner για Output σε ολες τις εκδόσεις WordPress, ιδανικό για shared hosting reports, με λίγη τροποποίηση το στήνεις και για Joomla etc find . -name 'version.php' -path '*wp-includes/*' -print -exec grep '$wp_version =' {} \; -exec echo '' \; παράδειγμα από output:
×