installation – Magento2 doesn’t load in Browser after fresh install and successful nginx config test

I successfully deployed the latest Magento 2.4.1 on Ubuntu 18.04, PHP, Nginx with letsencrypt cert.

Previously, when i visit my domain i was able to see the magento 2 welcome page. After having made the Command line installation successfully and got the unique link to admin panel, visiting magento through the browser is returning a server not found error.

When i send a GET request to local host (NOT https) from server side, it returns the following Nginx welcome page.

curl -XGET http://localhost

<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>
<style>
    body {
        width: 35em;
        margin: 0 auto;
        font-family: Tahoma, Verdana, Arial, sans-serif;
    }
</style>
</head>
<body>
<h1>Welcome to nginx!</h1>
<p>If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.</p>

<p>For online documentation and support please refer to
<a href="http://nginx.org/">nginx.org</a>.<br/>
Commercial support is available at
<a href="http://nginx.com/">nginx.com</a>.</p>

<p><em>Thank you for using nginx.</em></p>

</body>
</html>

I am able to successfully ping my connected domain over the internet which returns the actual server IPv4 address

root@pc:~# ping domain.com
PING domain.com (xxx.xx.xxx.xx) 56(84) bytes of data.
64 bytes from xxx.xx.xxx.xx (xxx.xx.xxx.xx): icmp_seq=1 ttl=53 time=161 ms
64 bytes from xxx.xx.xxx.xx (xxx.xx.xxx.xx): icmp_seq=2 ttl=53 time=82.6 ms
64 bytes from xxx.xx.xxx.xx (xxx.xx.xxx.xx): icmp_seq=3 ttl=53 time=105 ms

If i ping my domain with “www.” before it retuns the below

root@pc:~# ping **www**.domain.com
ping: www.domain.com: Name or service not known

Possible issues:

I have magento installed in var/www/ instead of var/www/html but i made the necessary changes in default.conf as well as nginx.conf and the sample configuration file in the magento2 filesystem configuration (nginx.conf.sample)

The solution may be something very simple that i missed, does anyone have an idea?

Run a PHP File once every day using cron job on Aws Lightsail Bitnami WordPress Installation

I’m using a custom php script to fetch popular posts based on jetpack postviews and write results to a static php file.

Now I want to run this script only once every day by setting up the cron job in my bitnami wordpress installation on Aws lightsail,

I’m NOT good at working with commands, can someone just tell me which commands do I have to execute to do setup a cron job?

I’ve already tried what is mentioned in the official bitnami documentation and few other resources, without any success.

Thanks

MySQL8 Binary installation – getting error msg "-bash: bin/mysql: Permission denied" after upgrading to 8.0.22

We have a MySQL 8 instance with Binary Installation. After upgrading to 8.0.22 (from 8.0.19) can’t seem to connect using following cmd in CLI

bin/mysql -uusername -p

error msg –

-bash: bin/mysql: Permission denied

installation – Problem in installing Matex

I am using Mathematica 12.0, and I want to install Matex. According to this page
https://github.com/szhorvat/MaTeX

only writing the code ResourceFunction["MaTeXInstall"][] should work, but I get this error

enter image description here

I have downloaded “MaTeX-1.7.8.paclet” and put it in drive C, but the problem still persists.

Can someone please guide me where I am going wrong? I am not good at installing software and so on, maybe it is so simple.

Cloudarion Fast, Stable SSDVPS Hosting + instant installation! | NewProxyLists

https://cloudarion.com/ service is the perfect solution.

Cloudarion has been a major presence in the Web Hosting market since 2011. All of our staff is in-house and we pride ourselves on operating our own networks and infrastructures. If you add our high quality to the potency of SSDVPS hosting, you will receive a winning package. We have always been proud of our 99.9% uptime on VPS systems.

Check out Cloudarion SSDVPS hosting packages:

SSDVPS 2 hosting plan
RAM – 2 Gb
SSD – 20 Gb
OS – Windows server, CentOS, Debian, Linuxmint, Scilinux or Ubuntu.
Price $20/month

SSDVPS 4 hosting plan
RAM – 4 Gb
SSD – 30 Gb
OS – Windows server, CentOS, Debian, Linuxmint, Scilinux or Ubuntu.
Price $40/month

Payment methods accepted: Paypal, Payza, Bitcoin, WebMoney, Payoneer.

Hard drives are in a RAID 10 redundant array to ensure your data remains safe!
Local and Backup on remote server! Your VPS container will be on local RAID-10 Storage Array’s for the fastest & most reliable storage architecture for your websites. RAID-10 technology offer a staggering boost in input/output operations per second (IOPS).

Need help? Contact with our technical support.

 

configuration – How do I make my PHP Source installation use the libraries inside of /usr/local/programname/lib instead or /usr/local/lib?

How do I make my PHP Source installation use the libraries inside of /usr/local/programname/lib instead or /usr/local/lib?

I have tried setting LD_LIBRARY_PATH to each of the program names like LD_LIBRARY_PATH="/usr/local/programname1/lib:/usr/local/programname2/lib:/usr/local/programname3/lib".

And, I logged out. Even ran source /etc/environment (I have put the LD_LIBRARY_PATH variable in /etc/environment), even rebooted the system.

But still, when I run ./configure --with-openssl --with-curl, it tells me that libssl does not exist.

I do not want to use the libssl-dev and libcurl-dev package provided by apt, because I need the newest versions, for testing.

And, I noted that: If I install the program’s lib directory in /usr/local/lib instead of /usr/local/programname/lib, it works without setting any environment variables.

But, in my opinion, /usr/local/programname/lib is more clear, so I want to use this type of path.

How can I make it so that PHP uses the libraries inside /usr/local/programname/lib instead of /usr/local/lib?

programname refers to the name of each of the programs that is installed inside of /usr/local.

am trying to install VM VirtualBox in BigMACSur M1 Apple laptop Installation failed

I am trying to install VM VirtualBox in BigMACSur M1 Apple laptop Installation failed both on full security and semi security If any encountered please what is a solution

varnish – Hitch installation completed with insserv errors. Unable to start hitch

I am trying to install hitch to terminate the certificates for the Varnish reverse proxy on my Ubuntu 16.04 VPS. The installation completes with the following messages and Hitch service doesnt startup.

sridhar@SastraTechnologies:~$ sudo apt install hitch
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libuv1
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  hitch
0 upgraded, 1 newly installed, 0 to remove and 100 not upgraded.
Need to get 0 B/51.1 kB of archives.
After this operation, 163 kB of additional disk space will be used.
Selecting previously unselected package hitch.
(Reading database ... 249839 files and directories currently installed.)
Preparing to unpack .../hitch_1.1.1-1_amd64.deb ...
Unpacking hitch (1.1.1-1) ...
Processing triggers for systemd (229-4ubuntu21.27) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up hitch (1.1.1-1) ...
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:'  entry: please add even if empty.
insserv: missing `Default-Stop:'   entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `nagios'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `nagios'

Tried removing the packahe updating the repository and installing it again but the results are the same. Is there anything that I can do to resolve the insserv messages?

virtualization – Suspicious after CygWin/PushButton MacOs installation on VM

I’ve just performed the Cygwin+PushButton process of installing MacOs Catalina on a VM with VirtualBox (I have Windows 10) yesterday. Everything looked good yesterday. Right now (20hs later), I launched my PC, and my windows password wasn’t working, I changed it and accessed. I’m kinda nervous to have given someone full access to my computer. How can I spot it ? And if my fears are true, what can I do about it ? Thanks a lot in advance.

multisite – Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation

We are currently hosting a WordPress website at GoDaddy from the US that ultimately needs to serve customers in both China and the rest of the world.

For performance and security reasons we require to host both a .cn website from within China and a .com website from outside of China (the .cn and .com websites will be identical).

The .cn and .com websites have to be synchronised at all times and maintainable by a single WP Dashboard.

I believe that WP Multisite would not work here since the content would still be blocked by the Chinese Firewall when hosted from outside of China. And when hosted from within China would make access from outside of China too slow. Hence, the multi-domain multi-server installation required.

My question is whether such an architecture for WP exists and if there are any common/best practices for serving a multi-domain multi-server website?


I can think of one complication, the resources and links stored in the database contain the .com domain, this will make migration to a multi-domain website hard.