Posts

Showing posts from October, 2022

bluestacks 5 not starting

 enable windows subsystem for Linux and windows hypervisor then create 64bit instance then from multi-device create shortcut and then run as admin run as admin is important

Setting up roundcube to webmail.domain.com as default for domains in DirectAdmin

 mail.naviongroup.com/roundcube/ You need to setup the virtualhost for apache2. [root@ck]# cd /usr/local/directadmin/data/templates [root@ck]# cp virtual_host2.conf custom [root@ck]# cd custom   Now you can edit the new virtual_host2.conf (apache 2) file in custom folder and just add the codes to the end. <VirtualHost |IP|:80> ServerName webmail.|DOMAIN| ServerAdmin |ADMIN| DocumentRoot /var/www/html/roundcube CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes CustomLog /var/log/httpd/domains/|DOMAIN|.log combined ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log </VirtualHost>   Simply save and exit. Then run below to rewrite the httpd.conf files. echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue /usr/local/directadmin/dataskq d   Finally you need to setup dns part. [root@ck]# cd /usr/local/directadmin/data/templates [root@ck]# cp dns_a.conf custom [root@ck]# cd custom [root@ck]# echo "webmail=|IP|" >> dns_a

Unable to update challenge :: authorization must be pending

 Unable to update challenge :: authorization must be pending uncheck force redirection and www ssl

hext node js

 to change the default port vi node_modules/next/dist/cli/next-start.js vi .htaccess create an external application in cyber panel LiteSpeed web admin console port 7080 REWRITERULE ^(.*)$ http://cloudvariationcom/$1 [P] to start the application automatically vi /lib/systemd/system/cloudvarationcom.service [Unit] Description=app After=multi-user.target [Service] Type=idle ExecStart=npm start WorkingDirectory= /home/cloudvariation.com/public_html/hext-main User=root [Install] WantedBy=multi-user.target sudo chmod 644 /lib/systemd/system/ cloudvarationcom .service sudo systemctl daemon-reload sudo systemctl enable cloudvarationcom .service sudo systemctl start cloudvarationcom .service sudo systemctl status cloudvarationin .service Google workspace mail page add components data PricingGoogleWorkspaceEmailData.js hext-main/components/elements  pricing-email-Google-Workspace.js hext-main/pages GoogleWorkspace.js main menu header \hext-main\components\navigation

block pc in exim.conf directadmin

  I want to block certain botpc's who are always trying to bruteforce. DA add the down code juts after begin acl acl_check_helo:   #accept email originating on this server unconditionally   accept  hosts = @[] : @   # deny if the HELO pretends to be this host   # EDIT AS REQUIRED TO FIT YOUR ENVIRONMENT   # EDIT : REPLACE HOSTNAME WITH YOUR HOSTNAME AND IP with your main IP#   deny message = You cannot be me        condition = ${lookup{$sender_helo_name}lsearch{/etc/heloblocks}{yes}{no}}    log_message = HELO/EHLO - HELO on heloblocks Blocklist    message = HELO on heloblocks Blocklist       accept cpanel/whm Thanks to some help on the "Exim Users" mailing list, I have the proper solution: 1) Create a file with a list of the HELOs that you want to block. For example, create and edit /etc/heloblocks 2) Go to WHM > Exim Configuration Manager > Advanced Editor. 3) Scroll down until you find "acl_smtp_helo" 4) Below that, you will find a box titled "custo

Can I put NextJS in subfolder like localhost/next?

  To deploy a Next.js application under a sub-path of a domain you can use the   basePath   config option. basePath  allows you to set a path prefix for the application. For example, to use  /docs  instead of  /  (the default), open  next.config.js  and add the basePath config: module . exports = { basePath : '/docs' , } 2nd comment location / SUBPATHNAME /_next/ { alias / PROJECTROOT /. next /; autoindex on; expires 30d; access_log on; location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg)$ { expires max; log_not_found off; } } location / SUBPATH / { rewrite ^ /SUBPATH(/ .*)$ $ 1 break ; proxy_pass http : //localhost:3000; proxy_http_version 1.1 ; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade' ; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } So what is happening there is next is trying to find media and static file

roundcube filter plugin

 /var/www/html/roundcubemail-1.6.0/config config.inc.php // List of active plugins (in plugins/ directory) $config['plugins'] = array(     'archive',     'zipdownload',     'filters',     'twofactor_gauthenticator', ); plugin should be in plugins folder To install the plugin you have to: Download zip-archive to Roundcube/plugins folder; Unzip downloaded zip-archive; Rename unziped folder to 'filters'; Add "filters" in the plugins section of the roundcube configuration (config/config.inc.php). For example: $config['plugins'] = array( 'archive', 'password', 'filters', );

payload cms

 root@vmi728455:/home/certificate.url24.top/public_html# sudo npx create-payload-app sh: 1: create-payload-app: Permission denied create a folder then from inside the folder run cmd npx create-payload-app vi server.js change port to 3001 also  vi payload.config.js   serverURL: 'http://localhost:3001', change localhost also and add https else mixed conetent  serverURL: 'https://certificate.url24.top:3001', also to this serverURL: 'https://certificate.url24.top node server.js  chwon -R certi1731:nogroup public_html else you will get not found error

invalid token roundcube directadmin

  Run below command and it will fix. cd /usr/local/directadmin/custombuild ./build update ./build roundcube

proxy pass in openlitespeed

  LiteSpeed Web Server doesn't support  ProxyPass ,  ProxyPassReverse  or other mod_proxy directives. However, you can use rewrite rules with  [P]  and set up an external app of the proxy in LSWS configuration to make it work fully. Create an External App ¶ Log into the LiteSpeed WebAdmin Console at  example.com:7080 . Go to the  Configuration > Server > External App  tab and click  Add . The external app can also be added at the virtual host level, but adding at server level is recommended. Name  - Any unique external app name. It should not start with "http://". For example,  Local_proxy . *  Address  - The IP:PORT or UDS socket of the backend server. It cannot be a domain name. For example, the frontend is on port  443 , and the backend is on  ip:80 , so you would enter the backend  ip:80  here, replacing  ip  with the actual IP address. Please remember do not add "http://" or "https://" here. *  Max Connections  - The maximum number of concur

How to Reset the Litespeed Admin Credentials

Login to server via SSH. Navigate to where you have installed Litespeed # cd /usr/local/lsws/admin/misc Once you are in please type the following command “./admpass.sh”,   admpass.sh  is a file which works to change the Litespeed admin password. # ./admpass.sh Output: [root@interserver.net ~] ./admpass.sh Please specify the user name of the administrator. This is the user name required to login the administration Web interface. User name [admin]: admin Please specify the administrator’s password. This is the password required to login the administration Web interface. Password:  ********** Retype password:  ********** Administrator’s username/password is updated successfully! Now the lightspeed Webconsole access has been reset, And you can try to Login http://your.server.ip:7080/ Your.server.ip:7080 must be replaced with web server IP address. Note: Make sure that CFP firewall port must be opened.

error opening ./data/users/admin/skin_customizations/evolution/

 /usr/local/directadmin/data/users/admin/skin_customizations/ evolution chmod -R 777 evolution

blogar

For this use only node v19.0.0 else you will not be able to start the app from systemd startup script  copied the whole certification folder from url24.top/certification with .next folder and this started working with systemd service file To install npm, run the following command after configuring npm: npm install npm@5.6.0 root@server:/home/cloudvariation.in/public_html# node -v v16.18.0 root@server:/home/cloudvariation.in/public_html# npm install npm ERR! code 1 npm ERR! path /home/cloudvariation.in/public_html/node_modules/sharp npm ERR! command failed npm ERR! command sh -c — (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy) npm ERR! sharp: Are you trying to install as a root or sudo user? npm ERR! sharp: – For npm <= v6, try again with the “–unsafe-perm” flag npm ERR! sharp: – For npm >= v8, the user must own the directory “npm install” is run in npm E