Viewing 1 to 10 of 93 items
Archive | Server RSS feed for this section

MacOS – Elasticsearch is not running

Elasticsearch Version 7.17.4 Installed Plugins No response Java Version bundled OS Version Mac OS X Ventura Problem Description I’m trying to install Elasticsearch using this guide. When I start Elasticsearch with the command brew services start elasticsearch-full I see this window alert: and in the log file I see this message: /opt/homebrew/Cellar/elasticsearch-full/7.17.4/libexec/bin/elasticsearch-env: line 83: 10827 Killed: 9 “$JAVA”  Full Article…

0

Cloudflare – Enable maintenance mode with a static page

About a month ago Cloudflare announced the general availability of Cloudflare Workers, a new feature to complement the existing Cloudflare product offering which allows the execution of JavaScript at the edge of Cloudflare’s CDN prior to the request hitting your own web infrastructure. Cloudflare Workers runs JavaScript in the Google V8 engine developed for Chrome that can  Full Article…

0

HTACCESS – Redirecting a web directory to another directory

Redirecting within the same domain Using htaccess in your root level of your web server, how you redirect one page to another is: RewriteRule ^url-string-to-redirect$ http://www.yourdomain.com/your-new-url-string [R=301,L] Or Redirect 301 /path/to-old-url    http://www.cyourdomain.com/path/to-new-url To redirect the contents of a whole directory to another use the below: RewriteRule ^subdirectory/(.*)$ /anotherdirectory/$1 [R=301,NC,L] To redirect the contents of  Full Article…

0

Ubuntu – Install different PHP (5.6, 7.0 and 7.1) versions

PHP (recursive acronym for PHP: Hypertext Preprocessor) is an open source, popular general-purpose scripting language that is widely-used and best suited for developing websites and web-based applications. It is a server-side scripting language that can be embedded in HTML. Currently, there are three supported versions of PHP, i.e PHP 5.6, 7.0 and 7.1. Meaning PHP 5.3, 5.4 and 5.5have all reached end of life; they are  Full Article…

0

Ubuntu – Laptop’s touchpad doesn’t work

In this tip, we will see a solution that will fix a non-working laptop’s touchpad. The problem often occurs after upgrading your Ubuntu distribution to Ubuntu 16. Solution Open the terminal and run these commands: sudo apt update sudo apt install xserver-xorg-input-synaptics or sudo apt install –reinstall xserver-xorg-input-synaptics Then reboot your laptop: sudo reboot Hope  Full Article…

1

Ubuntu – How to deploy a Meteor.js application on Ubuntu with Nginx

Before You Begin You should have: An existing Meteor app on a separate development computer (you can view the example “Todo List” app here; instructions are provided later in the tutorial) A fresh Ubuntu 14.04 server; existing Meteor installations should work in most cases root access to the server to execute commands Updated package lists. Execute:apt-get update Replace todos.net with the  Full Article…

0

Centos – Create a Sudo User

The sudo command provides a mechanism for granting administrator privileges, ordinarily only available to the root user, to normal users. This guide will show you the easiest way to create a new user with sudo access on CentOS, without having to modify your server’s sudoers file. If you want to configure sudo for an existing  Full Article…

2

Centos 7 – Add swap partition

Introduction One of the easiest ways to make your server more responsive, and guard against out-of-memory errors in your application, is to add some swap space. Swap is an area on a storage drive where the operating system can temporarily store data that it can no longer hold in memory. This gives you the ability to increase  Full Article…

0