• Using command line to optimize Ubuntu system

    To optimize Ubuntu system using the command line, you can perform actions like cleaning up disk space, removing old package caches, managing startup applications, and adjusting CPU governor settings.


    Key commands for optimizing Ubuntu:

    Update & Upgrade the System:

    Keep system up to date to ensure you have the latest security patches and performance improvements.

    sudo apt update && sudo apt upgrade -y


    Disk space cleaning:

    sudo apt autoremove
    sudo apt clean # Clears the local package cache.
    sudo apt autoclean # Removes only obsolete packages from the cache.
    sudo rm /var/log//.log # Deletes old system logs
    sudo find /tmp -type f -delete # Removes temporary files from the /tmp directory

    Clean unused files:

    sudo journalctl --vacuum-time=3d


    Startup application management:

    systemd-analyze blame # Shows which services are taking the longest to start on boot

    sudo systemctl list-units --type=service --state=running
    sudo systemctl disable SERVICE_NAME # Disables a service from automatically starting on boot


    CPU performance optimization:

    cpupower frequency-info # Displays current CPU frequency settings
    sudo cpufreq-set -g performance # Sets CPU governor to "performance" for maximum speed
    sudo cpufreq-set -g powersave # Sets CPU governor to "powersave" for maximum battery life


    RAM management:

    free -h # Shows current RAM usage
    top # Displays a list of running processes and their memory usage
    sudo kill # Kills a process by its process ID (PID)
    
    sudo sync && sudo sysctl -w vm.drop_caches=3

    Optimize Swap Usage:

    # Check the current swappiness value:
    cat /proc/sys/vm/swappiness
    
    # To reduce unnecessary swapping (recommended: 10-20):
    sudo sysctl vm.swappiness=10
    
    echo "vm.swappiness=10" | sudo tee -a /etc/sysctl.conf


    Important Considerations:

    Always use sudo before commands that require root access to modify system settings.
    Backup your system before making significant changes.
    Understand the impact of each command before executing it, as some settings may affect system performance depending on your usage.

  • RackNerd New Year 2025 KVM VPS deals

    RackNerd New Year 2025 KVM VPS deals available to deploy across multiple datacenter locations! RackNerd might introduce new datacenter locations for selection, or certain locations ma becom unavailable due to high demand, and will be updated in real-time on the order form. you nee to make your selection quickly to ensure you secure your preferred location before it runs out!

    Deals:

    1 GB KVM VPS – $11.29 per YEAR!
    1x vCPU Core
    24 GB SSD Storage
    1 GB RAM
    2000GB Monthly Premium Bandwidth (FREE Double the bandwidth, just comment your order#)
    1Gbps Public Network Port
    Full Root Admin Access
    1 Dedicated IPv4 Address
    KVM / SolusVM Control Panel – Reboot, Reinstall, Manage rDNS, & much more
    Available in MULTIPLE LOCATIONS!
    JUST $11.29/Year – WOW!!
    INSTANTLY DEPLOYED: https://www.racknerd.com/NewYear/

    2 GB KVM VPS – $18.29 per YEAR!
    1x vCPU Core
    40 GB SSD Storage
    2 GB RAM
    3500GB Monthly Premium Bandwidth (FREE Double the bandwidth, just comment your order#)
    1Gbps Public Network Port
    Full Root Admin Access
    1 Dedicated IPv4 Address
    KVM / SolusVM Control Panel – Reboot, Reinstall, Manage rDNS, & much more
    Available in MULTIPLE LOCATIONS!
    JUST $18.29/Year – WOW!!
    INSTANTLY DEPLOYED: https://www.racknerd.com/NewYear/

    3.5 GB KVM VPS – $32.49 per YEAR!
    2x vCPU Cores
    65 GB SSD Storage
    3.5 GB RAM
    7000GB Monthly Premium Bandwidth (FREE Double the bandwidth, just comment your order#)
    1Gbps Public Network Port
    Full Root Admin Access
    1 Dedicated IPv4 Address
    KVM / SolusVM Control Panel – Reboot, Reinstall, Manage rDNS, & much more
    Available in MULTIPLE LOCATIONS!
    JUST $32.49/Year – WOW!!
    INSTANTLY DEPLOYED: https://www.racknerd.com/NewYear/

    4 GB KVM VPS – $43.88 per YEAR!
    3x vCPU Cores
    105 GB SSD Storage
    4 GB RAM
    9000GB Monthly Premium Bandwidth (FREE Double the bandwidth, just comment your order#)
    1Gbps Public Network Port
    Full Root Admin Access
    1 Dedicated IPv4 Address
    KVM / SolusVM Control Panel – Reboot, Reinstall, Manage rDNS, & much more
    Available in MULTIPLE LOCATIONS!
    JUST $43.88/Year – WOW!!
    INSTANTLY DEPLOYED: https://www.racknerd.com/NewYear/

    6 GB KVM VPS – $59.99 per YEAR!
    4x vCPU Cores
    140 GB SSD Storage
    6 GB RAM
    12,000GB Monthly Premium Bandwidth (FREE Double the bandwidth, just comment your order#)
    1Gbps Public Network Port
    Full Root Admin Access
    1 Dedicated IPv4 Address
    KVM / SolusVM Control Panel – Reboot, Reinstall, Manage rDNS, & much more
    Available in MULTIPLE LOCATIONS!
    JUST $59.99/Year – WOW!!
    INSTANTLY DEPLOYED: https://www.racknerd.com/NewYear/

  • Promo code for Cloud Compute plan – $31.88 to $12.75

    Go to mikyhost.com,
    Click “Cloud Compute” on navigation bar,
    Choose Package 1 – click “Order Now”,
    Select a region you like: Virginia, Ohio, Oregon, Ireland, London, Paris, Frankfurt, Singapore, Tokyo, Seoul, Montreal, Stockholm…,
    Select Operating System: Ubuntu, Debian, FreeBSD, OpenSUSE…,
    Set hostname like ‘vps-01’, then click Continue button on the right,
    Then you need login or create an account.

    enter the promo code

    BlackFriday24

    and click “Validate Code”,
    “Promotion Code Accepted! Your order total has been updated.” will shown on top of this page, and “Total Due Today” shows $12.75USD.

    Enjoy!

    VPS info:
    512 MB RAM
    2vCPUs
    20GB SSD Disk Space
    1 TB Bandwidth
    IPv4 & IPv6

    Notes:
    The promo code is One Time Discount (60%), the renewal price for the next year is $31.88 USD.

  • Claw Cloud Upgrade Event: Double RAM! CLOUD VPS 1C1G $7/year-Asia/Europe/US

    Claw Cloud had launched upgrade event:

    For all users who purchased CLOUD VPS 1C1G and CLOUD VDS 2C4G between January 9 and January 23:

    Users who purchase the 1C1G Cloud VPS series will receive a double RAM upgrade, from 1C1G to 1C2G, simply by replying with your Invoice ID in this thread.
    Users who purchase the 2C4G Cloud VDS series can leave their Invoice ID in the comments to enjoy a permanent recurring discount term.

    💡You only need to follow these steps to successfully upgrade:

    1. Simply leave your invoice ID in this thread.
    2. We will proactively send a support ticket to confirm your agreement to the upgrade.
    3. Once we receive your confirmation reply, we will complete the upgrade.
      I will check new comments every 1 day and upgrade your plan as soon as possible.

    Event Product Info:

    Cloud VPS 1GB
    1 vCPU (Xeon Platinum)
    1 GB RAM (x2 if you post your invoice number here.)
    20 GB Storage
    500 GB Transfer @ 200Mbps
    After Discount: $7/year $36/year
    Promo code: 7CLAW (For the first year, one use per customer)
    Locations: Germany (Frankfurt), US East (N. Virginia), US West (N. California),Singaporea, Japan(Tokyo), China(Hong Kong)
    Event Time: January 9, 2024 – January 23, 2025
    Purchase Link: https://claw.cloud/link.php?id=107

    Cloud VDS 4GB
    2 vCPUs (Xeon Platinum)
    4 GB RAM
    80 GB Storage
    1 TB Transfer @ 1Gbps
    After Discount: $4.2/mo $12/mo
    Promo code: 4CLAW (Get a lifetime recurring discount if you post invoice number here.)
    Locations: Germany (Frankfurt), US East (N. Virginia), US West (N. California),Singaporea, Japan(Tokyo), China(Hong Kong)
    Event Time: January 9, 2024 – January 23, 2025


    Purchase Link: https://claw.cloud/link.php?id=109

    Each product includes the following benefits:
    1 Native IPv4 /1 IPv6
    Free Backups for 30days
    99.9999999% Data Reliability
    24×7 After-Sales Support
    offer hassle-free refunds within 30 days of purchase

  • Promo code for .com domain name – only $2.88/year

    If you want to register a .com domain name for your business, you can now go to spaceship.com (you will need to register for an account if you don’t have one). When paying for the order, enter the following promo code, and you will only need to pay $2.88 for this domain name.

    Promo code:

    COMPROS

    Tested on 1/18/2025.

    Notice:

    • Each use/account can only use this coupon code once. 
    • The discount applies to only one domain per order, even if there are multiple domains, and it is valid just for the first year.

    Link: spaceship.com