-
ReadTimeout on starting docker compose
Here is the exception that I got every time I try to start my docker compose: ERROR: for webdav HTTPConnectionPool(host='192.168.103.98', port=2375): Read timed out. (read timeout=60) First thing first, it’s not a network issue. After some investigation, it turns out to be that the volume I am mapping to one of containers just not able to access: mysql: restart: unless-stopped image: "percona:5.7" ports: - "23307:3307" environment: MYSQL_ROOT_PASSWORD: "developer" MYSQL_DATABASE: "zapps_amq" MYSQL_ALLOW_EMPTY_PASSWORD: "yes" MYSQL_USER: zuora MYSQL_PASSWORD: password volumes: - /mnt/zuora/application/billing/docker/infra/mysql/conf:/etc/mysql:ro - /mnt/zuora/application/billing/docker/infra/mysql/initdb.d:/docker-entrypoint-initdb.d:rw So it seems that it timeouts when trying to mount the volume. The error message is really mis leading.
-
How to change default port for Apache2
This example is for Ubuntu. Run sudo apachectl -S to check which conf file you are using. The result is something like: Then update the file /etc/apache2/sites-enabled/000-default.conf. Change the default file in that file. You need to change another file /etc/apache2/ports.conf. to update it to the right port. Restart apache sudo service apache2 restart Then check the status: sudo apachectl -S Done.
-
Protected: AWS Cost in Z
There is no excerpt because this is a protected post.
-
Protected: 3 Interviews in the coming Week
There is no excerpt because this is a protected post.
-
Protected: Amazon Technical Online Assessment
There is no excerpt because this is a protected post.
-
How to handle storage running out of space issue in linux
If you run out of space in one disk and you want to add a new one but you would like to move the existing data to the new disk, what would you do? Step 1: Identify the big folder Identify the folder which has the biggest files and you want to move. Here is the command you may want to run: -S Do not include the size of subdirectories. This is very useful and it would exclude the parent folder if the child folder on the list already. This would save you a lot of trouble to de-dup. the two -h should use together. We list the human readable…
-
Costco Travel Package really saves a lot of money (50% price difference)
In this coming Spring break I am trying to book a trip to Honolulu. It is a 4 days trip, 3 people (2 adults, one 11 year old kid), one room, one car. It takes $3490 which includes $86 Costco cash card. So it’s roughly $3400. Out of curious, I tried to book hotel in Mariiott.com, buy Air tickets and rental cars in Expedia and I figure it would take me roughly $5200 to get everything equally !! This is insane. That is $1800 and 50% price difference! If we look at it, only hotel alone, it takes me $2382! And the air tickets $2167 in Expedia.com: The fee for…
-
Protected: My Management Life in Z
There is no excerpt because this is a protected post.
-
Z Company Service Level Object
-
Remove wordpress.org from Meta widget in wordpress website
Go to folder “wp-includes/widgets/class-wp-widget-meta.php”, And comment out following section: Please note that you have to do it again if you upgrade your wordpress.