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

    452
  • Joined

  • Last visited

  • Days Won

    76
  • Feedback

    N/A

Posts posted by NickTheGreek


  1. Welcome to DesignHost

    These guidelines are to assist you as a member of DesignHost and we would be grateful if you would operate within them during your stay here.
     


     

     



     

     

    • Be polite! We’re a friendly, welcoming community and want it to stay like that. Don’t be rude or abrasive. If you’re pleasant to others, they’ll be pleasant back. We all have disagreements now and again but we don’t insult people or get angry with them. Remember to be
      articulate and witty. We like that. Forget about being rude or mean, we don’t like that! Also, offensive, illegal or mature-themed material is not allowed.
       
    • Have fun…. but not at the expense of others! We like to have fun; we enjoy a laugh and a joke as long as that’s all it is. We
      don’t like the ridiculing of fellow community members. If you keep clear of doing that, we’ll keep clear of doing that to you.
       
    • Keep all your support topics in the correct support forum. If you are not sure where to post, please ask a staff member for assistance.
       
    • SPAM! We don’t like it and we’re sure you don’t either. We’re proud of our site and want it to be the best. We don’t mind it if
      you’re from a competing site but we don’t like it if you spam your site here. So don’t advertise your site on ours and we won’t come and advertise our site on yours. We’re also not at all keen on you posting and asking for people to visit your site and become members. We wouldn’t do that to you so it’s only right you don’t do it to us.
       
    • Our moderators are a fine bunch, but you might not always agree with them and they may not always agree with you. If you do
      happen to disagree with something one of them has done, or your topic or post has vanished or moved with no explanation, don’t get all angry about it and begin posting rude messages. Instead, contact one of the Admins or Management by PM or e-mail and explain your point of view. These things can generally be resolved pleasantly.
       
    • We request that you wait twenty-four hours before "bumping" a topic. This mean making a new reply for the sole purpose of
      getting it to the top of the page.
       
    • Like you, we enjoy signatures and avatars and don’t mind anyone having them, but try to keep them reasonable. Huge pictures
      (either in pixel or byte size) can get really annoying, especially to those on dial-up. We’ll ask you to change it if it’s too big.
       
    • Sometimes, people might post an inappropriate topic or reply, or it may be in a place where a Moderator hasn’t noticed it. If
      you stumble across one of these, we’d be grateful if you would use the Report Post to Moderator feature. You don’t need to respond to the post saying it’s in the wrong place or not really acceptable. Just report it and we’ll deal with it.
       
    • We’re a forgiving community. We realize that sometimes things can be said that aren’t meant or are taken the wrong way. We
      also realize that sometimes people’s emotions get the better of their judgement. We’re not quite so forgiving of people who just seem to want to cause trouble. We don’t like to use it, but we have a system to warn people if they’re doing things these guidelines have politely asked them not to do. One of the Moderators will normally contact you at first and ask you to remember these guidelines. If the guidelines continue to be ignored then a warning might be issued. And if you’re a serial spammer or community disrupter, a ban may well be in order so that those of us who like to hang out here can continue having an enjoyable time.
       
    • Finally be friendly. If you’re friendly and polite we’ll welcome you and you’ll fit right in !
    • Like 3

  2. Σύντομα θα το μεταφέρουμε σε ξεχωριστή ενότητα για Virtualization

    ESXi 5: Suppressing the local/remote shell warning

    On twitter today Duco asked how to disable esxi shell warning (or SSH) for vSphere 5.0. I knew it was possible so I dug it up. This is the warning Duco is referring to for those who are not familiar with it: “SSH for the host has been enabled” or “ESXi shell for the host has been enabled”. I guess the “exclamation” mark on your host kind of leaves a bad taste.

    disable esxi shell warning

    Now suppressing it is fairly simple. Go to your host, click the configuration tab, click “advanced settings”, go to UserVars” and scroll all the way down to “UserVars.SuppressShellWarning” change the value from 0 to 1. Simple huh!

    disable esxi shell warning

    Yes I know most of you probably don’t have access yet, but this is one of those little things that will come in handy at some point.

    http://www.yellow-bricks.com/2011/07/21/esxi-5-suppressing-the-localremote-shell-warning/


  3. https://blogs.technet.microsoft.com/sbs/2009/09/23/how-to-move-wsus-content-and-database-files-to-a-different-volume/

     

    When trying to free up space, customers frequently have questions about moving WSUS Content and Databases to different partitions. Our objective is to explain three things:

    • How to move the WSUS Content
    • How to move the WSUS Database files
    • How to cleanup the WSUS Database

    Start by checking the size of the Volumes by looking at the Server Storage. Open SBS Console and select the Backup and Server Storage Tab. Next, select Server Storage to determine the space available on each partition. When highlighting the C: drive you’ll see the size of the different components that you may wish to move with the Storage Wizards. Today we will focus on moving the WSUS Components. Under the Storage Task the Move Windows Update Repository Data Wizard only moves the downloaded content. This will not move the WSUS Metadata or SUS database (SUSDB.mdf and SUSDB.ldf).

    clip_image002

    How to Move the WSUS Content

    1. Open the SBS console and select Backup and Server Storage.
    2. Select the Server Storage tab.
    3. Click the Move Windows Update Repository Data Wizard.
    4. When prompted to take a backup, we recommend that you select Yes.
    5. Select the new drive location and click Move.

    During the move the wizard will create a WSUS directory on the new location and will begin copying the contents into the <Drive>:\WSUS\WsusContent directory.

    How to Move the WSUS Database

     

    1. Launch SQL Server Management Studio Express console as an administrator. It is located under Start > Programs > Microsoft SQL Server 2005 > SQL Server Management Studio Express.
    2. Fill in the following information and then click Connect
      • Server type: Database Engine
      • Servername: \\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
      • Authentication: Windows Authentication
        clip_image004
    3. Expand Databases and right-click on SUSDB and select Tasks > Detach… from the context menu.
      clip_image006
    4. Select the "Drop Connection" checkbox and click OK.
      clip_image008
    5. Open explorer and move the C:\WSUS\SUSDB folder to the <new drive>:\WSUS directory.
    6. To reattach the database, right-click on Database and select Attach… from the context menu.
      clip_image010
    7. On the Attach Databases page select the Add button.
      clip_image012
    8. Browse to the new location of the SUSDB.mdf database and select OK twice to complete the move. clip_image014

    How to Cleanup the WSUS Database

    Note: We recommend you perform these steps after hours due to significant resource requirements.

    1. Open the native WSUS console. Start > Programs > Administrative Tools > Microsoft Windows server Update Services 3.0 SP1.
    2. Expand your server and select Options > Server Cleanup Wizard.
      clip_image016
    3. Leave all boxes checked and click Next to start the cleaning process.
      clip_image018
      Note: This process may take many hours to complete (24+ in some cases).
    4. Once the scan has completed it will display the summary information as shown below. The key information is the Disk space freed by deleting unused content files. Click Finish to complete the wizard.clip_image020

     

     


  4. Ειναι καλή εναλλακτική ανάμεσα στο σύνηθες δίπολο Plesk / cPanel αλλά εχει κάπως μπερδεμένο ( για εμένα τουλάχιστον ) Licensing

    τρεχω evaluation μαζί τους και ακόμα δεν έχω καταλάβει τις διαφορές ανάμεσα σε αυτά:

    • ISPmanager – web hosting control panel;
    • VMmanager – virtual environment management system;
    • DCImanager – dedicated server and infrastructure management system;
    • BILLmanager – hosting billing system;
    • DNSmanager – slave name server management system;
    • IPmanager – IP-address management system.

  5.  

    ISPsystem is a software development company specializing in web technologies and business automation. ISPsystem was founded in February 2004. Since the launch of ISPsystem we have striven to reshape the hosting market based around the principles of: • quality and reliability at affordable prices • high-level of automation • round-the-clock multi-language technical support • powerful products • active and precise marketing strategy. Our customers have a real impact on our business and products. We react to their wishes and deliver the service they expect to help them reach every individual goal. Many of our customers join our Partner Program that becomes a valuable income stream for their business. Our growth over the past 8 years has been phenomenal and we'd like to say thank you to everyone who is using our products. Our mission is to provide and design the best web hosting automation software available. The core of the company is a dedicated team of highly skilled programmers who work hard at fulfilling this mission. Our products are already installed on 100,000 servers worldwide. Today ISPsystem offers its customers a complete line of web hosting automation software: • ISPmanager – web hosting control panel; • VMmanager – virtual environment management system; • DCImanager – dedicated server and infrastructure management system; • BILLmanager – hosting billing system; • DNSmanager – slave name server management system; • IPmanager – IP-address management system.

    Specialties

    control panels, web hosting automation, software development, infrastructure management, cloud automation

    • Website

      https://www.ispsystem.com

    • Industry

      Computer Software

    • Type

      Privately Held

    • Company Size

      51-200 employees

    • Founded

      2004

     

     

     


  6. Have you used this ? you would be thrilled smile.gif
     

    t_logo[1].png



    Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
     

    CODE



    "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



    "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"
     

    44efa76aa40ae6a5349f285d6c62b602bccf95a7.png
    • Like 1

  7. Πως να κλείνετε idle - inactive RDP sessions ή πως να λύσετε το σπάνιο αλλά ενοχλητικό σφάλμα σε W2K8R2

    logon-exceeded.gif

     

    "because of a protocol error this session will be disconnected. please try connecting to remote computer again'

    RDPe_W2K8R2.PNG

    χωρις χρήση άλλου 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

    Πηγές:


  8. Για να προσθεσει κανεις εγγραφές σε 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

    φυσικα υπάρχουν και άλλοι τρόποι αλλα αυτός είναι και ο πιο σύντομος ίσως.

     

     

     

     

     

    • Like 2

  9. εχει τύχει πολλές φορες σε 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/

     

     

     

    • Like 1

  10. 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.

     


  11. Καλησπέρα σας,

    επειδη δεν βρηκα καποιο 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 που τηρείται απαρέγκλιτα. 

    Πάντα με εκτίμηση

    • Like 1

  12. 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.


    Serva_30.png

    Serva_30_DHCP.png

    Serva_30_TFTP.png

    ServaPXEmenu_EFI64.png

    ServaPXEmenu_BIOS.png

    ServaPXEmenu_EFI32.png
    • Like 1

  13. 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?

     

    • Like 2

  14. "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

    • Like 4

  15.    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:

    1. Backup = ( Full + Removable tapes (or media) + Offline + Offsite + Tested )
    2. 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).
    3. Never use rsync with single backup directory. Create a snapshots using rsync or rsnapshots.
    4. Use CVS to store configuration files.
    5. Wait and read command line again before hitting the dam [Enter] key.
    6. 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.

     


  16. 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

    • Like 1
×