User Tools

Site Tools


os_cp:2024:shell_assignment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
os_cp:2024:shell_assignment [2024/04/08 14:15]
jkonczak utworzono
os_cp:2024:shell_assignment [2024/05/08 22:50] (current)
jkonczak Added a clarification to topic 8.
Line 19: Line 19:
 \\ \\
 The script shall be run with root privileges and should be prepared for a specific Linux distribution. The script shall be run with root privileges and should be prepared for a specific Linux distribution.
-The script first installs packages: a selected HTTP server (such as apache, nginx, lighttpd…),​ a selected relational database server (mysql, mariadb, postgresql, …) and PHP. The, the scripts ​configures those servers — puts a custom website in webroot, creates a database and configures access to it, and enables PHP on the server.+The script first installs packages: a selected HTTP server (such as apache, nginx, lighttpd…),​ a selected relational database server (mysql, mariadb, postgresql, …) and PHP. Then, the script ​configures those servers — puts a custom website in webroot, creates a database and configures access to it, and enables PHP on the server.
 \\ \\
 The script must protect the DB access with a randomized password, and put the password in a configuration file of the website. The script must protect the DB access with a randomized password, and put the password in a configuration file of the website.
Line 95: Line 95:
  
 **~~Topic.#​~~.** **~~Topic.#​~~.**
-Automating running benchmarks and plotting results+Automating running benchmarks and plotting results.
 \\ \\
 First, select a program that accepts a parameter and produces some result (or metric). First, select a program that accepts a parameter and produces some result (or metric).
Line 162: Line 162:
 \\ \\
 With right arguments, the script shall add new events, remove existing events and list all events within a year in order. With right arguments, the script shall add new events, remove existing events and list all events within a year in order.
 +\\
 +<​small>​%%//​%%EDIT 2024.05.08: "​Listing all events within a year in order" shall be understood so that the sooner events appear first. For example, when the events are listed on 8th May, then the event on 10th May (that is two days from now) shall be listed prior to the event on 10th January (that is 245 days from now). </​small>​
  
  
Line 295: Line 297:
  
 **~~Topic.#​~~.** **~~Topic.#​~~.**
-Recursive text search+Recursive text search.
 \\ \\
 The script accepts a search key as the first argument, followed by a list of directories. The script accepts a search key as the first argument, followed by a list of directories.
Line 369: Line 371:
  
 **~~Topic.#​~~.** **~~Topic.#​~~.**
-Verifying output of a program+Verifying output of a program.
 \\ \\
 The script accepts a path to an executable as an argument. The script accepts a path to an executable as an argument.
os_cp/2024/shell_assignment.1712578514.txt.gz · Last modified: 2024/04/08 14:15 (external edit)