I am currently writing a script to automate the process of installation and configuration of an Nginx web server. What I'd like to do is add variables where anyone can change the IP address and hostname to what they would like to. I am by no means a scripting expert and it's been a while since I had to write a script. I am looking how to do this in bash.
Posts made by antonit
-
Nginx variables in bash script
-
RE: Nginx Automation
@JaredBusch They are just looking for me to automate the process. I can use any automation tool or language.
-
RE: OReilly Free eBook on Hadoop with Python
Thanks @scottalanmiller ! What a great resource.
-
RE: Nginx Automation
Sorry bout that. Here's the stipulations:
The nginx server should:
a) serve requests over port 8000
b) serve a page with the content of the following repository: https://github.com/-----/exercise-webpage. (page from the repository must be served locally)
c) Please explicitly state all assumptions (e.g. Only runs on RHEL6)I know I can write a bash script, but is that a way to impress, or should I use an automation tool?
-
Nginx Automation
Looking to do an automation script to install an Nginx web server for a job interview and was curious how I should do it to really impress the employer. Thoughts?
-
RE: Happy Birthday Thread
Happy Birthday to the founder of ML and good friend @scottalanmiller. Hope you have an amazing day!
-
RE: Zabbix 3.2 Release
@dafyre That's exactly what I'm saying! I'm sure they're able to figure it out
-
RE: Zabbix 3.2 Release
That's not a very good business practice, especially if the next release is 6 months to a year down the road.
-
Zabbix 3.2 Release
Interesting how last week I had installed Zabbix 3.0 and when I went to look for some documantation today on the site, I noticed that 3.2 was soon to be released.
-
RE: New Zabbix install with Separate MariaDB database
@scottalanmiller # service zabbix-server start
-
RE: New Zabbix install with Separate MariaDB database
@scottalanmiller said:
$DB['SERVER'] = 'maria';
Ahhh... Wasn't sure how to put that in. Sadly, I still cannot connect
-
RE: New Zabbix install with Separate MariaDB database
Correction. I can login. Mistyped the password (where's that damn post it note...)
-
RE: New Zabbix install with Separate MariaDB database
@dafyre Nope. Access denied.
-
RE: New Zabbix install with Separate MariaDB database
@dafyre Yes, I had already added the database parameters to the file (zabbix.conf.php) and have also done it to the zabbix_server.conf file.
-
RE: New Zabbix install with Separate MariaDB database
@dafyre Hmmm... maybe that's what I'm missing. Let me check.
-
RE: New Zabbix install with Separate MariaDB database
I have changed the zabbix config file to add the database in question.
-
New Zabbix install with Separate MariaDB database
I am in the midst of building a Zabbix monitoring system and have run into an issue with the install.
Since I wanted to separate the database form the actual site, there were no installation instructions. I followed the instructions to a tee, I just did the database install on a different server. Now, I can login to the database from the Zabbix server without any issues, but when it came to the initial Zabbix webpage setup (//localhost/zabbix) it can't see the database.
I have checked the user, permissions, etc... Not sure what I have done wrong or if anyone out there has done a similar install but am officially stuck.
Antoni
-
RE: What Are You Doing Right Now
@scottalanmiller Crappy. I hate it when my kids are sick Tylenol to the rescue!
-
RE: Zabbix 3.0 Has Released
@iroal I had that exact same issue Although I'm still having some issues as I am running a separate database. Had to step away and come back to it.