Posts

Showing posts from July, 2024

directadmin manual ssl using cmd

 To generate an SSL certificate for a domain using letsencrypt.sh (now commonly known as acme.sh) in DirectAdmin, follow these steps: /usr/local/directadmin/data/users/ajayuser/domains step-by-Step Guide: Access the Server via SSH: ssh root@your_server_ip Install acme.sh: Install acme.sh if it is not already installed. You can install it using the following command: curl https://get.acme.sh | sh Issue an SSL Certificate for Your Domain: You need to set up the necessary environment variables for DirectAdmin and then issue the certificate. Here's how: a. Export Environment Variables: export DP_Id="your_directadmin_username" export DP_Key="your_directadmin_api_key" b. Generate the Certificate: Use acme.sh to generate the certificate for your domain. Replace yourdomain.com with your actual domain and www.yourdomain.com with any subdomain if needed: Issue the Certificate Using DNS Method: /root/.acme.sh/acme.sh --issue --dns dns_dp -d ajayferocast.com -d www.ajayfero

mysql high cpu usage

Image
 there was server load and updon finding the MySQL process for db midsupport_mid  was high process list mysql -u root -p SHOW PROCESSLIST \G;