Somik's Home

Server admins cheat codes

Menu
  • Bash
  • PHP
  • Uncategorized
  • About Me
  • TimeShare
Menu

Author: somik

Ubuntu 18.04 Nginx+PHP

Posted on 2019-11-132019-11-13 by somik

This will install Nginx and PHP 7.x on Ubuntu 18.04 or later and perform basic configurations needed to get it up and running. This is used to create servers to serve static content as well as minor PHP scripts that need to run on it. After we’ll set up SSL using LetsEncrypt and use it…

Read more

Ubuntu 18.04 Install Samba

Posted on 2019-10-31 by somik

So you want to use a linux server on local network. Great, but if you still have to access the files through ssh or ftp, it is troublesome. So why not access the files over samba network share? It is also great when you want to setup a simple NAS server on your local network.

Read more

Ubuntu 18.04 Install LLMP stack

Posted on 2019-10-222019-10-22 by somik

With the new MariaDB 10+ they have disabled performance_schema, which means your database will consume minimum amount of memory and you can run Lighttpd, PHP and MariaDB on only 256 MB RAM! So here’s how to do it. We’ll also install phpMyAdmin for easy configuration of our mysql server and set it up securely to…

Read more

Proxmox 6 disable subscription invalid message

Posted on 2019-10-20 by somik

When you are using the free version of Proxmox 5 or 6, you’ll get a message every time saying your subscription is invalid. This is fine if it was just during the initial login, but it’ll pop up every time you try to open a shell or run updates. Luckily this can be disabled by…

Read more

PHP IP to Country Script

Posted on 2019-10-192019-10-20 by somik

This is a simple script to translate IP to country. It is usefull when you want to know where your traffic is coming from or perform specific actions to traffic from specific countries. Do take note that users using proxies or VPN can circumvent this and give a false country.

Read more

Ubuntu 18.04 Install Aria2c for Downloads with WebUI

Posted on 2019-10-152019-10-15 by somik

This is a simple guide on how to install and configure Aria2c with WebUI for downloading files on your linux server. For the WebUI, we’ll go with lighttpd as it is lightweight, however you can install apache or nginx or even run the file directly from your computer.

Read more

Server Status Display (Modified)

Posted on 2019-10-152019-10-15 by somik

This will show a simple status of your server including CPU, RAM and disk usage, as well as status of ports you are monitoring. The original script by lfiore has been highly optimized and modified by me. You need to have PHP and any httpd agent (apache or lighttpd or nginx) to be able to…

Read more

Ubuntu 18.04 Install Pi-Hole with PiVPN

Posted on 2019-10-142019-10-14 by somik

This will transform your server into a network wide ad-blocker as well as allowing you to use this ad-blocker from outside your network using the private VPN of PiVPN. These software are originally meant to be installed on a Raspberry Pi, but since you got a space on your server, why not install it? This…

Read more

Ubuntu 18.04 Install Lighttpd+PHP

Posted on 2019-10-082019-10-31 by somik

This will install Lighttpd and PHP 7.x on Ubuntu 18.04 or later and perform basic configurations needed to get it up and running. This is used to create isolated dev servers that use as little memory as possible. You can also setup SSL on these using LetsEncrypt, but it is not covered here. This is…

Read more

Ubuntu enable SSH for root user

Posted on 2019-10-082019-10-08 by somik

This is a very bad idea for servers on open internet. Only recommended for servers on local network that are behind firewall and SSH is not accessible from internet. To be used for testing only.

Read more
  • 1
  • 2
  • Next
December 2019
M T W T F S S
« Nov    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Archives

  • November 2019
  • October 2019

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2019 Somik's Home | Powered by Minimalist Blog WordPress Theme