Ik ga komende week weer een webservertje herinstalleren met CentOS (of een fork daarvan).
Een kwestie van het gratis hostingpanel VestaCP erop, maar wat zijn jullie dingen wat jullie altijd nog uitvoeren of installeren na een standaard installatie?

Belangrijkste is SSH-keys installeren en root-access via SSH uit.
Atop installeren, voor grafisch overzicht in de commandline over de load en processen.
Fail2ban installeren
ClamAV (antivirus) installeren
Composer installeren
git client, al is het maar voor het clonen van projecten uit GitHub-repo's

Zijn er verder nog dingen die van belang kunnen zijn?
Apache, PHP en een database :-)
Ivo P op 30/08/2021 22:12:41

Apache, PHP en een database :-)

Zit inbegrepen in het hostingpanel ;-)
Ik heb Apache2 meteen vervangen voor nginx, is sneller en meer lichtgewicht.
Daarbij nano, php-fpm (7.4, tenzij PHP 8 via sury ook prima is)
PostgreSQL 13, phpPgAdmin.
Dankjewel voor de tips, maar het gaat mij niet om de installatie en configuratie van de webserver zelf, maar de additionele tools, executables en eventuele tips.

De webserver kan ik immers helemaal naar smaak inrichten via het hostingpanel.
Welke versie van CentOS ga je installeren? Versie 8 is super buggy naar mijn en mijn collega's ervaring.
Ik denk CentOS 7, die is voorlopig nog niet end-of-life.
Maar misschien kies ik ook voor AlmaLinux, als VestaCP er geen problemen mee heeft en OVH het aanbiedt.

Wat zijn de bugs in CentOS 8 dan?
Kickety-kick? Iemand die nog tips heeft voor een standaard server wat zeker niet mag ontbreken?
COBOL?
Voor als je niks te doen hebt :

https://askubuntu.com/questions/287180/how-to-compile-and-run-a-cobol-program
http://www.csis.ul.ie/cobol/

DENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
	AUTHOR. Michael Coughlan.
*> https://askubuntu.com/questions/287180/how-to-compile-and-run-a-cobol-program
PROCEDURE DIVISION.
	DISPLAY 'Hello world!'.
	DISPLAY 'https://askubuntu.com/questions/287180/how-to-compile-and-run-a-cobol-program'.
	DISPLAY 'How to compile and run a cobol program'.
	DISPLAY 'cobc -free -x -o helloworld helloworld.cbl'.
	DISPLAY './helloworld'.
	DISPLAY 'https://www.tutorialspoint.com/cobol/'.
STOP RUN.

cobc -free -x -o helloworld helloworld.cbl


Dan in PHP

exec('files/helloworld', $output2, $retval2);
echo '<pre>' . print_r( $output1, TRUE ) . '</pre>';

Array
(
    [0] => Hello world!
    [1] => https://askubuntu.com/questions/287180/how-to-compile-and-run-a-cobol-program
    [2] => How to compile and run a cobol program
    [3] => cobc -free -x -o helloworld helloworld.cbl
    [4] => ./helloworld
    [5] => https://www.tutorialspoint.com/cobol/
)


Of

echo str_replace("\n", '<br />', shell_exec('./helloworld') );

Hello world!
https://askubuntu.com/questions/287180/how-to-compile-and-run-a-cobol-program
How to compile and run a cobol program
cobc -free -x -o helloworld helloworld.cbl
./helloworld
https://www.tutorialspoint.com/cobol/
Heb je dat vaak nodig dan?
Het gaat mij puur on tips en binairies die onmisbaar zijn.

Ik ga in ieder geval ook Docker op mijn lijstje zetten.

Reageren