![]() To collect info due to nature of those server daemons/setups. With a Linux OS from scratch, there would need to be separate such pages Is if fool proof? Well, not really, but me thinks it saves some time nameofscript and that will execute each line. Script on server doesn't need to be made executable. One at time via copy from text file to command line or Then presses enter for a new line.Īt the end, user has built a series of commands they can issue User clicks the 'copy' box to lower right of dialog boxes. Second screen shot is an examle of user input to form. If there was an if/or statement that would print out either that everything was or fine or list a bunch of errors, that would be one thing but you are literally typing a command to print out the text that is in the command!įrist screen shot is the form with explanations. Telling the server to say you have finished something by giving it the line to print out seems ridiculous. If this was all in a script to be run, an echo command might make sense but you are telling people to copy and paste into cli one line at a time. I am with Ken - just pull git straight in var/4. As Howard said, you install the version of PHP that you need, not just the one that Debian 11 has by default.ģ. Debian 11 is fine (I just installed a new moodle server using this) - separating out the instructions for installing PHP and DB makes more sense as when you have to upgrade you need to know what to upgrade. Yes, it is a wiki - all pages are editable.Ģ. ![]() Phpmyadmin is nice but also available through Moodle plugins.ġ. For example, at no point is there explanation of using git (maybe reference the git help pages for that). At some point, they are going to need to have some understanding of what the commands do so that they can make changes in the future. While I like the idea of making it simple for people, it is better to explain in a little more detail what is being done. Not sure why you are creating the moodle folder in opt and then copying - much quicker to pull it straight into What is the point of the echo commands? You will need to add the sury repo for that.ģ. It would make more sense to start with 8.1 if you are writing a current guide. ![]() You are installing php 7.4 which is not supported in 4.2 or later. You probably should have updated the existing page, not created a new one or at least change the name to Debian 11 Installation Guide.Ģ. Mv phpMyAdmin-5.2.0-english you, you are correct, the Debian page is somewhat out of date but the majority of it still works.ġ. Get last phpmyadmin version link from: wget () Basics apt install pythonĪpt install build-essential 2.9. You may add if needed: “ display_errors = On” to “ /etc/php/8.1/fpm/php.ini“ 2.8. Install PHP apt -y install lsb-release apt-transport-https ca-certificatesĮcho "deb $(lsb_release -sc) main" | sudo tee /etc/apt//php.listĪpt install php php8.1-fpm php8.1-mysql php8.1-common php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-curl php8.1-gd php8.1-imagick php8.1-cli php8.1-dev php8.1-imap php8.1-mbstring php8.1-opcache php8.1-soap php8.1-zip php8.1-intlĪdd: “ catch_workers_output = yes” to /etc/php/8.1/fpm/pool.d/www.conf ![]() Install mariadb apt install mariadb-server nvim /etc/nfĪdd: “ .disable_ipv6 = 1“Īnd next: sysctl -p 2.4. I always do this to avoid a lot of headaches with further configurations. nvim /etc/ssh/sshd_config /etc/init.d/ssh restartīefore continue and without closing your current session connect again through SSH to ensure port change is working. I always change the default SSH port to anything else, this single change may save you from a big % of hacking attempts. This is my preference, you can use anything else like vim or nano. Check if the machine is what is supposed to be: df -h top 2.2. Connect using SSHĪfter the installation process finishes, you can connect to the server using SSH, I start checking a couple things and installing the tools I’ll use on next steps, as nvim. Previously I’ve been using OVH for many years, but last year when I needed to cancel one of my servers that I had for 3 years they denied the cancelation alleging I had signed a 1 year contract, that I didn’t remember at all, but even if that was true, 3 years already passed! 2 months and 200€ after a very painful process I was able to cancel the server and I also canceled and moved away all I had there and no longer recommend them to anyone.Īfter paying the server you can select the OS, I always use Debian, but it’s ok if you prefer Ubuntu (that is based on Debian), they are very very similar, or another Debian based distro. This server can be a good base for a laravel installation for example. ![]() I’m installing Debian 11 on a Hetzner server, a very reliable hosting (and they also have really good prices!). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |