Menu
  • Home
  • Recent Posts
  • My Skills
  • My Projects
    • All Projects
  • My Blog
    • PHP MySQL Development
    • Laravel Development
    • Javascript Development
    • WordPress Development
    • Magento Development
    • System Administration
  • Contact

Category: System Administration

Automated Deployment of Laravel Project

April 4, 2021
| No Comments
| Laravel, System Administration

In this article I would like to share my approach to automated deployment of a Laravel project. I have been successfully using this approach for my side projects. In this article I will share Laravel project deployment on Linux (Digital Ocean) server. In a nutshell deploying Laravel project consists of “building” it (installing composer dependencies,…

Read More »

Posted in Laravel, System Administration

Loading Start Scripts for GitBash on Windows

August 31, 2019
| No Comments
| System Administration

I use GitBash as my shell on Windows. Below are the scripts I normally load including git ssh agent. Useful git aliases:

Read More »

Posted in System Administration

Too Many Redirects

June 10, 2019
| No Comments
| System Administration

Sometimes your website may be making more redirects than necessary to account for https and stripping or adding trailing slash.

Read More »

Posted in System Administration

Block IP Addresses in .htaccess behind Load Balancer

June 6, 2019
| No Comments
| System Administration

Sometimes you need to block access from certain IP addresses to your web site. It is easy to do in .htaccess file if you are running Apache. What if your server is behind a load balancer ? The code below lets you block IP addresses when your server is behind AWS load balancer.

Read More »

Posted in System Administration

Ubuntu Command Line Search

August 20, 2018
| No Comments
| System Administration

Sometimes I have to go through log files searching for a certain error message. The command below will show you log file names and lines where the message was recorded. grep -rnw ‘logs/’ -e ‘Hello World’grep -rnw ‘logs/’ -e ‘Hello World’ To learn more about “grep” command use the following link https://help.ubuntu.com/community/grep

Read More »

Posted in System Administration

Check Available Space on Ubuntu

August 19, 2018
| No Comments
| System Administration

Recently I got into a situation where I ran out of free space on my Ubuntu instance. The first thing you need to do is to check how much available space you have. The command below will give you the general idea. df -hdf -h To list the files/directories that take up most of the…

Read More »

Posted in System Administration

Finding Directories And Files And Changing Permissions

April 6, 2018
| No Comments
| System Administration

I always forget how to do this: find /var/www/html -type d -exec chmod 755 {} \; find /var/www/html -type f -exec chmod 644 {} \;  

Read More »

Posted in System Administration

Node.js App on AWS EC2 Instance

March 31, 2018
| No Comments
| System Administration

To get started let’s spin up an Ubuntu 16.4 LTS instance on AWS.  After instance is up and running, we need to add port 80 to the instance’s security group inbound rules.  There should be at least two ports open: 22, and 80. Now we can ssh into the instance and install Nginx, Node, and…

Read More »

Posted in System Administration

Laravel Jenkins CI

November 26, 2017
| No Comments
| Laravel, PHP MySQL Development, System Administration

This article covers installation of Jenkins on Ubuntu server and its usage to continuously integrate a Laravel application.  Besides LAMP/LEMP stack we need to install Java, Git, Composer, and Node to successfully use Jenkins. Before starting to install this software, let’s take care of miscellaneous  stuff. Miscellaneous (can skip this). Create mysql user and database….

Read More »

Posted in Laravel, PHP MySQL Development, System Administration

Adding Virtual Box Bridged Network Adapter to Laravel Homestead

September 16, 2017
| No Comments
| Laravel, System Administration

Vagrant allows you to configure bridged network adapter, so your vagrant(homestead) box can be seen on local network.  I order to make this possible by adding a line of code to homestear.rb script in scripts folder. I opted to add this line after the following code. 25 26 27 28 29 if settings.has_key?("networks") settings["networks"].each do |network| config.vm.network…

Read More »

Posted in Laravel, System Administration
  • 1 of 2
  • 1
  • 2
  • Next »

Archives

  • July 2022
  • July 2021
  • April 2021
  • February 2021
  • October 2020
  • September 2020
  • August 2020
  • May 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • December 2018
  • November 2018
  • September 2018
  • August 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • November 2017
  • October 2017
  • September 2017
  • July 2017
  • June 2017
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016

Meta

  • Log in
Back to Main Page

© 2020 Alex Rusin. All Rights Reserved.