Hello World!
Welcome to my blog and my first post.
I will be wiring more on all things cybersecurity and programming. Here, I will share my writeups, tutorials, and explorations of cybersecurity topics. While I find red teaming and application security fascinating, some of my writings may be based on my experience managing various security programs, initiatives, and approaches. Prepare for an eclectic variety of pots and topics! I hope you will find it useful.
This blog is powered by Jekyll, a static site generator. Interested in building your own? You can follow a few easy steps to create your blog with a base image or select one of many themes available.
Everything should be made as simple as possible, but not simpler. A. Enstein
To simplify the setup and management of your Jekyll site, making it a powerful tool to streamline your management workflow, consider using Docker. Docker lets you quickly assemble your site's components and eliminates the friction that can come with version control of your overall environment. AKA... less time spent on setup & troubleshooting and more time spent on writing.
Here are a few simple steps to get you started: 1. Install Jekyll ```c gem install jekyll bundler ``` 2. Create a new Jekyll site ```c jekyll new my-jekyll-site ``` 3. Change into your new directory ```c cd my-jekyll-site ``` 4. Create a Dockerfile in the root of your directory # Use a base image with Ruby and Jekyll pre-installed FROM jekyll/jekyll:latest # Set the working directory inside the container WORKDIR /srv/jekyll # Copy the entire Jekyll site into the container COPY . . # Expose the default Jekyll port EXPOSE 4000 # Serve the site when the container starts CMD ["jekyll", "serve", "--host", "0.0.0.0"] 5. Build your docker image ```c docker build -t my-jekyll-site-image . ``` 6. Cerate your container from the docker image you've just built and run your site ```c docker run -d -p 4000:4000 --name your-site-name my-jekyll-image ``` 7. Open your browser and navigate to http://localhost:4000
That's it! You're up and running with Jekyll and Docker. Now, you can start writing your first post.
Enjoyed this read?
Here are some more articles you might like to read next: