• How do I expand/extend VM partion (Xen, Ubuntu)

    28
    1 Votes
    28 Posts
    3k Views
    guyinpvG

    Dang it.

    XenServer is 6.5.
    XenCenter is 7.1 as of today.
    The VM is headless Ubuntu 14.04 running Seafile.
    I happen to also run a VM for XO but I don't know how that plays into this. Is XO better at extending partitions?

    I eventually gave up trying to extend the partition anyway. The docs I found said I had to blast away the partition so I needed to move data around to do it. Just a pain in the butt. It was only a test install of Seafile anyway. I intend to build it up properly this round.
    The only question is now, I really don't want to go through this again, or I need to set it up so changing drive size isn't as big a deal.
    We've used up our 10GB of Box space so I could easily just throw, say, 50GB at the new setup and it would probably last us a half decade. But still, it would be nice to do this in a way where I can more easily adjust available space if the time comes.

  • Windows NIC check for internet access

    2
    0 Votes
    2 Posts
    341 Views
    gjacobseG

    I believe it has to do with 'polling' known sites on the internet - such as MS DNS servers or other.

  • WiFi range extender requires wifi...

    12
    1 Votes
    12 Posts
    2k Views
    scottalanmillerS

    @NerdyDad said in WiFi range extender requires wifi...:

    Cabling: One aspect of home networking that is far too often overlooking is implementing a quality cabling plant inside the home. This requires far more effort than other home networking projects and falls more into the electrician space rather than the IT professional space but is also one of the most important pieces from the home owner perspective and end user perspective rather than the IT pro perspective. A good, well installed cabling plant will make a home more attractive to buyers and make the value a powerful home network even better.

    http://www.smbitjournal.com/2014/05/doing-it-at-home-enterprise-networking/

    What an excellent reference 🙂

  • 2 Votes
    25 Posts
    6k Views
    NashBrydgesN

    @JaredBusch said in Looking for how-to on setting up a proxy:

    server {
    client_max_body_size 40M;
    listen 80;
    server_name support.bundystl.com;
    rewrite ^ https://$server_name$request_uri? permanent;
    }

    Yep, got all that done and it's working well. What I was referring to was redirecting traffic to HTTPS. Essentially this is the part of the file I was missing...

    server { client_max_body_size 40M; listen 80; server_name support.bundystl.com; rewrite ^ https://$server_name$request_uri? permanent; }
  • Win10 native SSH with BASH for Windows

    16
  • Canon Fiery Print Servers

    5
    1 Votes
    5 Posts
    913 Views
    Mike DavisM

    I used them years ago on color printers where ripping a job could take a long time on the weak built in print controller. It's probably been 10 years since I have touched one. Even then, I didn't use it for the scan stuff. The extra processing power was just need to rip print jobs, not for scanning.

  • free dynamic DNS service- Dyname

    7
    1 Votes
    7 Posts
    1k Views
    NerdyDadN

    I'd still use DuckDNS.org
    0_1492522125211_duckdns.png

  • How do you test your website

    10
    1 Votes
    10 Posts
    3k Views
    AmbarishrhA

    @Kimberley-Paessler said in How do you test your website:

    @DustinB3403 If you (or your customer) are using PRTG, you could use the "cloud ping" and "cloud http" sensors to monitor reachability from around the world. Those sensors will try to reach your website from 5 different AWS data centers, and will report on reachability and response time from each of those data centers. If something goes wrong, you can get an alert, so you know you need to react. The free version of PRTG will let you run 5 cloud http and 5 cloud ping sensors.

    If that's not enough, check out services such as https://www.site24x7.com/, which provide similar ongoing monitoring on a larger scale.

    If a one-time or manual test is enough, check out services like https://tools.pingdom.com/ or https://www.webpagetest.org/, which are free and don't require any setup on your side, but only provide a snapshot of up/down at the time you try them.

    Along with pingdom, we usually use https://geopeeker.com which also gives a snapshot from multiple locations

  • Watch The Awesome Workplaces Of Some Great WordPress Influencers

    5
    1 Votes
    5 Posts
    671 Views
    C

    Absolutely. I'm sure I've mentioned this before, but Lucy Kellaway's series of office spaces are great. Like this Lego one

    Youtube Video

  • Security Incident Response

    4
    3 Votes
    4 Posts
    563 Views
    scottalanmillerS

    @momurda said in Security Incident Response:

    Yes i was thinking they just want an answer and dont really care what the answer is.

    Good chance that that is the case.

  • 8 Votes
    28 Posts
    11k Views
    Emad RE

    +1 for primary application platform on Ubuntu.

    If you mean what I think you mean, I use Centos for General server stuff, basically a server that can handle anything or can be more than 1 thing, however for Ubuntu and cause of the snaps, I use Ubuntu for specific roles like :

    File server
    Or
    RockChat server

    For specific purpose roles.

  • Where is the XenServer 7 VM's serial console?

    10
  • Why Cerber Is The New King Of Ransomware

    1
    3 Votes
    1 Posts
    527 Views
    No one has replied
  • SSDs for home media server. What's your preferred brand? (SATA)

    8
    2 Votes
    8 Posts
    1k Views
    stacksofplatesS

    I have had a Mushkin and a Crucial. Both seemed fine.

  • How to deflate/shrink .qcow2 KVM virtual disk image ?

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    Emad RE

    @msff-amman-Itofficer @stacksofplates

    Got more usefull info, it seems it is cause of my -c switch:

    https://docs.fedoraproject.org/en-US/Fedora/18/html/Virtualization_Administration_Guide/sect-Virtualization-Tips_and_tricks-Using_qemu_img.html

    Convert

    The convert option is used to convert one recognized image format to another image format.
    Command format:

    qemu-img convert [-c] [-f format] [-o options] [-O output_format] filename output_filename

    Convert the disk image filename to disk image output_filename using format output_format. The disk image can be optionally compressed with the -c option, or encrypted with the -o option by setting -o encryption. Note that the options available with the -o parameter differ with the selected format.

    Only the qcow2 format supports encryption or compression. qcow2 encryption uses the AES format with secure 128-bit keys. qcow2 compression is read-only, so if a compressed sector is converted from qcow2 format, it is written to the new format as uncompressed data.

    Image conversion is also useful to get a smaller image when using a format which can grow, such as qcow or cow. The empty sectors are detected and suppressed from the destination image.

  • IIS and LetsEncrypt

    3
    1 Votes
    3 Posts
    2k Views
    ObsolesceO

    @NashBrydges Oh this is awesome! Gonna be giving that a go on Monday or Tuesday.

  • FreePBX Send Mail Error on Vultr

    5
    3 Votes
    5 Posts
    2k Views
    JaredBuschJ

    @scottalanmiller said in FreePBX Send Mail Error on Vultr:

    @JaredBusch said in FreePBX send mail error:

    Did you request smtp be unblocked by vultr?

    It's blocked by default, so if you forget to request this on any server, outbound emails won't work.

    The block is account level. Not per server.

  • WordPress Tuning with MemCache

    4
    1 Votes
    4 Posts
    1k Views
    DustinB3403D

    Thank you, I'll investigate from here.

  • So...I bought a school

    1
    1 Votes
    1 Posts
    911 Views
    No one has replied
  • Creating users

    27
    1 Votes
    27 Posts
    5k Views
    ObsolesceO

    @NerdyDad said in Creating users:

    Try this out. It pops up with a command prompt to ask you a few questions to get started. Once the questions are answered, it takes care of most everything else. When it is done, it should spit out a piece of paper for you to give to the new employee with the information that they need.

    I sterilized it so that you could use it in your company.

    #Imports the AD & NTFS Modules (Module 1.02) Import-Module activedirectory Import-Module MSOnline #Sets Variables (Module 1.03) $fn #First Name $ln #Last Name $title $dep #Department $loc #Location $man #Manager $un #Username $officePhone $streetAdd $city $ZIP $fi #First Name Initial, will be used to figure out Username #Getting information (Module 1.04) Write-Host "I need some information from you first. Answer the following questions to get started." $fn = read-host "First Name?" $ln = Read-Host "Last Name?" $title = Read-Host "Title?" $dep = Read-Host "Department?" $man = Read-Host "Manager (Username)?" $loc = Read-Host "<location>?" #Finding out the Username (Module 1.05) $fi = $fn.Substring(0,1) $un = -join ($ln, $fi) #Sets Location information (Module 1.06) if ($loc -eq "Loc1") { #If the user is in Loc1 (Module 1.07) $officePhone = "(999) 999-9999"; $streetAdd = "123 Anywhere Drive"; $city = "YourTown"; $ZIP = "12345"; } Else { #If the user is in Loc2 (Module 1.08) $officePhone = "(987) 654-3210"; $streetAdd = "987 Nothere Blvd"; $city = "Somewhere Else"; $ZIP = "98765"; } #Sets Password (Module 1.09) $passwd = (Read-Host -AsSecureString "Account Password") $password = ConvertFrom-SecureString -SecureString $passwd $userParams = @{ #(Module 1.10) 'Name' = $un; 'Enabled' = $true; 'AccountPassword' = $passwd; 'UserPrincipalName' = -join ($un, "@mycompany.com"); 'SamAccountName' = $un; 'ChangePasswordAtLogon' = $false; 'GivenName' = $fn; 'Surname' = $ln; 'DisplayName' = -join ($fn, " ", $ln); 'Description' = $title; 'OfficePhone' = $officePhone; 'StreetAddress' = $streetAdd; 'City' = $city; 'State' = "Texas"; 'PostalCode' = $ZIP; 'Title' = $title; 'Department' = $dep; 'Company' = 'MyCompany'; 'Manager' = $man; } #Creates the user in AD (Module 1.11) New-ADUser @userParams #Wait for the account to be created before doing anything else (Module 1.12) Start-Sleep -Seconds 10 #Makes the user's network drive, scan folder, and sets the permissions to their folders and files (Module 1.13) if ($loc -eq "Loc1") { #If the user is in Loc1 (Module 1.14) New-Item -Name $un -ItemType directory -Path "\\server\folder\" #Creates users network drive New-Item -Name scans -ItemType directory -Path "\\server\folder\$un\" #Creates users scan folder } Else { #If the user is in Loc2 (Module 1.15) New-Item -Name $un -ItemType directory -Path "\\server\folder\" #Creates users network drive New-Item -Name scans -ItemType directory -Path "\\server\folder\$un" #Creates users scan folder } #Adds the user to the correct Security Group for permissions and other network drives if ($dep -eq "Accounting"){ #(Module 1.16) Add-ADGroupMember -Identity 'Accounting' -Members $un #(Module 1.17) } #Adds the user to the Accounting Group Elseif ($dep -eq "Customer Service") { #(Module 1.18) Add-ADGroupMember -Identity 'Customer Service' -Members $un #(Module 1.19) } #Adds the user to the Customer Service Group Elseif ($dep -eq "Executives") { #(Module 1.20) Add-ADGroupMember -Identity 'Executives' -Members $un #(Module 1.21) } #Adds the user to the Executives Group Elseif ($dep -eq "HR") { #(Module 1.22) Add-ADGroupMember -Identity 'Human Resources' -Members $un #(Module 1.23) } #Adds the user to the Human Resources Group Elseif ($dep -eq "Human Resources") { #(Module 1.24) Add-ADGroupMember -Identity 'Human Resources' -Members $un #(Module 1.25) } #Adds the user to the Human Resources Group Elseif ($dep -eq "IT") { #(Module 1.26) Add-ADGroupMember -Identity 'Domain Admins' -Members $un #(Module 1.27) } #Adds the user to the Domain Admins Group for IT Elseif ($dep -eq "Maintenance") { #(Module 1.28) Add-ADGroupMember -Identity 'MaintGroup' -Members $un #(Module 1.29) } #Adds the user to the Maintenance Group Elseif ($dep -eq "Production") { #(Module 1.30) Add-ADGroupMember -Identity 'Production' -Members $un #(Module 1.31) } #Adds the user to the Production GroupHR Elseif ($dep -eq "QA") { #(Module 1.32) Add-ADGroupMember -Identity 'QA Group' -Members $un #(Module 1.33) } #Adds the user to the QA Group Elseif ($dep -eq "Quality Assurance") { #(Module 1.34) Add-ADGroupMember -Identity 'QA Group' -Members $un #(Module 1.35) } #Adds the user to the QA Group Elseif ($dep -eq "Shipping") { #(Module 1.36) Add-ADGroupMember -Identity 'SHIP' -Members $un #(Module 1.37) } #Adds the user to the Shipping Group Else { #(Module 1.38) Add-ADGroupMember -Identity 'Domain Users' -Members $un #(Module 1.39) } #Dumps the user to the Domain Users Group $manfn = Get-ADUser $man -Properties Name | select Name #Gets the manager's name (Module 1.40) #Creates a report of the User's information $report = "Hello $fn $ln, From the IT Department, welcome to <MyCompany>. We are here to help you connect to the resources that you need for your job. If you need assistance with technology, please feel free to contact us at either the help page, which is set as your home page in Internet Explorer, email us at helpdesk@<MyCompany>.com, or call us at extension 4357. Below you will find your information so that you can login to the network and get started: Your username is domain\$un Your password is Your email address is $fn$ln@<MyCompany>.com Your phone number is $officePhone Ext. It is suggested that you change your password to something that you can remember but difficult enough that somebody else cannot figure out. The requirement is only 6 characters, but we do advise on making it longer, throw some numbers and special characters in there as well to make it stronger. Best advice would be to use a pass-PHRASE instead of a pass-WORD. Your computer should already be setup with your email loaded and your network drives. At <MyCompany>, we use Microsoft Outlook as the email client. Depending on what department you are in will depend on what drives you have available. Generally, everybody will have an F: drive and a G: drive. The F: drive is your network folder. Place in there the documents that you feel you cannot do your job without. In the F: drive will be a scan folder. When you go to the Xerox to scan in documents, then you will find them in your scan folder. The G: drive is a company-wide shared folder. As for your department drives, it would be best to talk with $($manfn.name), your supervisor/manager, about the nature and uses of these drives. The use of the equipment and resources provided are a privilege to you for use and should not be taken advantage of. There are measures set in place that allows us to manage the network. Do not assume that there is any personal privacy on this network. The only privacy that you can assume is for the nature of your work. All information (including emails, documents, spreadsheets, pictures, etc.) contained on the equipment provided and on the network is the sole property of Standard Meat Company. If you have problems with your equipment or network resources, please feel free to ask. We do not mind helping, but we cannot help if we do not know, so please ask! Sincerely, Your IT Department" if ($loc -eq "Loc1") { #(Module 1.43) Write-Output $report | Out-Printer } Else { #(Module 1.44) Write-Output $report | Out-Printer \\server\'Xerox WorkCentre 4260' } #Waiting for AD & Azure to Synchronize, which synchronizes every 30 minutes (Module 1.45) Write-host "Waiting..." Start-Sleep -Seconds 1800 #Connect to O365 and licenses the user Connect-MsolService #(Module 1.46) Set-MsolUserLicense -UserPrincipalName (-join($un,'@<MyCompany>.com')) -AddLicenses #(Module 1.47) #Connects to the Exchange box, creates the users email account, then disconnects from the Exchange box $mail = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -AllowRedirection -Authentication Basic -Credential $cred #(Module 1.48-Part 1) Import-PSSession $mail -WarningAction SilentlyContinue | Out-Null #(Module 1.48-Part 2) enable-Mailbox -Identity $un -Alias $un -DisplayName (-join($fn,$ln)) #Creates the users mailbox (Module 1.49) IF ($dep -eq "Executives") { #(Module 1.50) Set-Mailbox (-join($un,'@<MyCompany>.com')) -ProhibitSendQuota 19.5GB -ProhibitSendReceiveQuota 20GB -IssueWarningQuota 19GB #Sets the mailbox size in Exchange Online so that the user isn't using all 50 GB of storage (Module 1.51) } #If they are an executive, then they get 20 GB of mailbox space elseif ($dep -eq "IT") { #(Module 1.52) Set-Mailbox (-join($un,'@<MyCompany>.com')) #(Module 1.53) } #IT gets the full mailbox, of course else { #(Module 1.54) Set-Mailbox (-join($un,'@<MyCompany>.com')) -ProhibitSendQuota 9.5GB -ProhibitSendReceiveQuota 10GB -IssueWarningQuota 9GB #Sets the mailbox size in Exchange Online so that the user isn't using all 50 GB of storage (Module 1.55) } #Otherwise, everybody else gets 10 GB of mailbox space Remove-PSSession -Session $mail #Disconnects from the Exchange box (Module 1.56)

    This is a great script, especially if you have users frequently cycling in and out of the company. Also a good base to expand from, or customize to make it fit many environments.

    Something that stuck out in the script for me was that the homeDirectory AD attribute wasn't being used (unless I missed it). When you set that, AD automatically does permissions appropriately for the users home drive or home directory. It works well with DFS or DFSR.

    Edit: I use the following format for "homeDirectory": \\DOMAIN\Namespace\HomeDrives\%username%
    Path can be whatever works, above is just what happens to be for that case.