### Example Magento Installation Command Source: https://github.com/linode/docs/blob/develop/docs/guides/websites/ecommerce/install-magento-2-4-on-centos-8/index.md A complete example of the setup:install command with common parameters. Remember to replace sensitive information like passwords and URLs with your actual credentials and domain. ```bash bin/magento setup:install --admin-firstname="Magento" --admin-lastname="User" --admin-email="user@example.com" --admin-user="Magentouser" --admin-password="password" --db-name="magento" --db-host="localhost" --db-user="magento" --db-password="password" --language=en_US --currency=USD --timezone=Europe/London --cleanup-database --base-url=http://"your_URL_or_domain" ``` -------------------------------- ### Setup Nginx Init Script and Start Service Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/nginx/wsgi-using-uwsgi-and-nginx-on-debian-5-lenny/index.md Downloads, installs, and enables the Nginx init script, then starts the Nginx service. ```bash wget -O init-deb.sh 684-init-deb.sh mv init-deb.sh /etc/init.d/nginx chmod +x /etc/init.d/nginx /usr/sbin/update-rc.d -f nginx defaults /etc/init.d/nginx start ``` -------------------------------- ### Install Tomcat Documentation and Examples Source: https://github.com/linode/docs/blob/develop/docs/guides/development/frameworks/apache-tomcat/apache-tomcat-on-debian-6-squeeze/index.md Install optional packages for Tomcat documentation, examples, and administration tools. ```bash apt-get install tomcat6-docs tomcat6-examples tomcat6-admin ``` -------------------------------- ### Install Apache Web Server Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/lamp/lamp-server-on-fedora-19/index.md Install the Apache web server (httpd) and enable it to start on boot, then start the service. ```bash yum install httpd systemctl enable httpd.service systemctl start httpd.service ``` -------------------------------- ### Example .NET Runtime Installation Output Source: https://github.com/linode/docs/blob/develop/docs/guides/development/frameworks/dotnet/install-dotnet-on-ubuntu/index.md This is an example of the output you might see if .NET runtimes are already installed on your system. ```text Microsoft.AspNetCore.App 7.0.5 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 7.0.5 [/usr/lib/dotnet/shared/Microsoft.NETCore.App] ``` -------------------------------- ### Install and Start MySQL Server Source: https://github.com/linode/docs/blob/develop/docs/guides/databases/mysql/how-to-install-mysql-on-centos-7/index.md Install the MySQL server package and start the MySQL service. You may be prompted to confirm GPG key verification. ```bash sudo yum install mysql-server sudo systemctl start mysqld ``` -------------------------------- ### SurrealDB Installation Output Example Source: https://github.com/linode/docs/blob/develop/docs/guides/databases/surrealdb/getting-started-with-surrealdb/index.md This is an example of the output displayed after successfully running the SurrealDB installation script. It confirms the installation location and version fetched. ```text .d8888b. 888 8888888b. 888888b. d88P Y88b 888 888 'Y88b 888 '88b Y88b. 888 888 888 888 .88P 'Y888b. 888 888 888d888 888d888 .d88b. 8888b. 888 888 888 8888888K. 'Y88b. 888 888 888P' 888P' d8P Y8b '88b 888 888 888 888 'Y88b '888 888 888 888 888 88888888 .d888888 888 888 888 888 888 Y88b d88P Y88b 888 888 888 Y8b. 888 888 888 888 .d88P 888 d88P 'Y8888P' 'Y88888 888 888 'Y8888 'Y888888 888 8888888P' 8888888P' Fetching the latest database version... Fetching the host system architecture... [...] SurrealDB successfully installed in: /home/example-user/.surrealdb/surreal [...] ``` -------------------------------- ### Start Pritunl Service Source: https://github.com/linode/docs/blob/develop/docs/guides/networking/vpn/pritunl-vpn-ubuntu/index.md Starts the Pritunl service after installation to make it available for configuration. ```bash sudo service pritunl start ``` -------------------------------- ### Start ISPConfig Installation Source: https://github.com/linode/docs/blob/develop/docs/guides/websites/cms/ispconfig/manage-an-ubuntu-10-04-lucid-vps-with-ispconfig/index.md Initiates the ISPConfig installation process by running the install script. ```bash php -q install.php ``` -------------------------------- ### Example Output of choose --version Source: https://github.com/linode/docs/blob/develop/docs/guides/tools-reference/tools/use-linux-choose-command/index.md This is an example output showing the version of the 'choose' command after successful installation. ```text choose 1.3.3 ``` -------------------------------- ### Install Rails and Create Project Source: https://github.com/linode/docs/blob/develop/docs/guides/development/ror/use-unicorn-and-nginx-on-ubuntu-18-04/index.md Installs the Rails gem and creates a new Rails application named 'example'. ```bash sudo gem install rails cd rails new example cd example ``` -------------------------------- ### Install Tomcat Documentation and Examples Source: https://github.com/linode/docs/blob/develop/docs/guides/development/frameworks/apache-tomcat/apache-tomcat-on-debian-10/index.md Installs optional web-based applications for documenting, testing, and administering Tomcat. ```bash sudo apt-get install tomcat9-docs tomcat9-examples tomcat9-admin ``` -------------------------------- ### Install Nginx and CGI Support Source: https://github.com/linode/docs/blob/develop/docs/guides/websites/wikis/ikiwiki-on-arch-linux/index.md Installs Nginx, fcgi, fcgiwrap, and spawn-fcgi, then starts the fcgiwrap service. ```bash pacman -S nginx ``` ```bash pacman -S fcgi fcgiwrap spawn-fcgi /etc/rc.d/fcgiwrap start ``` -------------------------------- ### Install and Configure Nginx Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/nginx/nginx-and-phpfastcgi-on-fedora-14/index.md Installs nginx, PHP, and related tools, then configures nginx to start on boot and run. ```bash yum update yum install nginx php-cli php spawn-fcgi wget chkconfig --add nginx chkconfig --level 35 nginx on service nginx start ``` -------------------------------- ### Download and Navigate to Example Project Source: https://github.com/linode/docs/blob/develop/docs/reference-architecture/jenkins-ci-cd-on-linode-to-any-hyperscaler/guides/implement-jenkins-ci-cd/index.md Unzip the example application package and change into the project directory to begin. ```bash unzip jenkins-example-app.zip cd jenkins-example-app/ ``` -------------------------------- ### Create Example Database and Tables Source: https://github.com/linode/docs/blob/develop/docs/guides/databases/mysql/list-tables-in-mysql-and-mariadb/index.md Sets up an example database, user, and tables for demonstration purposes. Replace placeholders with your actual values. ```sql CREATE DATABASE example_db; CREATE user 'example_user'@'192.0.2.0' IDENTIFIED BY 'password'; GRANT SELECT,INSERT,UPDATE,DELETE ON example_db.* TO 'example_user' IDENTIFIED BY 'password'; USE example_db; CREATE TABLE message_app_users (user_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, user_name TEXT); CREATE TABLE message_app_channels (channel_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, channel_name TEXT); CREATE TABLE message_app_messages (message_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, channel_id INT, user_id INT, message_body TEXT, FOREIGN KEY (channel_id) REFERENCES message_app_channels(channel_id), FOREIGN KEY (user_id) REFERENCES message_app_users(user_id)); ``` -------------------------------- ### Bise Default Output Example Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/apache/measure-your-websites-recurring-readership-with-bise/index.md This is an example of the output you should expect when running Bise after a successful installation and setup with default configuration. ```text April 18 - May 02 Source Uniques Regulars --------------------------------------- All visitors 0 0 RSS feed 0 0 JSON feed 0 0 Front page 0 0 From Twitter 0 0 From web searches 0 0 ``` -------------------------------- ### Create Example Directory on Instance #1 Source: https://github.com/linode/docs/blob/develop/docs/guides/tools-reference/file-transfer/how-to-use-scp/index.md Prepare the first instance by creating a directory for backup purposes. ```command mkdir ~/example_backup1 ``` -------------------------------- ### YunoHost Installation Output Source: https://github.com/linode/docs/blob/develop/docs/guides/applications/marketplaces/installing-yunohost/index.md Example output from the YunoHost installation script indicating completion and next steps for post-installation setup. ```output ... [ OK ] YunoHost installation completed ! =========================================================================== You should now proceed with Yunohost post-installation. This is where you will be asked for : - the main domain of your server ; - the administration password. You can perform this step : - from the command line, by running 'yunohost tools postinstall' as root - or from your web browser, by accessing : - https://192.0.2.0/ (global IP, if you're on a VPS) If this is your first time with YunoHost, it is strongly recommended to take time to read the administrator documentation and in particular the sections 'Finalizing your setup' and 'Getting to know YunoHost'. It is available at the following URL : https://yunohost.org/admindoc =========================================================================== ``` -------------------------------- ### Download and Setup FastCGI Wrapper Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/nginx/nginx-and-perlfastcgi-on-fedora-12/index.md Download the FastCGI wrapper script and an init script, move them to their respective directories, set execute permissions, start the FastCGI service, and configure it to launch on startup. ```bash cd /opt/ wget -O fastcgi-wrapper 642-fastcgi-wrapper.sh wget -O init-rpm.sh 641-init-rpm.sh mv /opt/fastcgi-wrapper /usr/bin/fastcgi-wrapper.pl mv /opt/init-rpm.sh /etc/rc.d/init.d/perl-fastcgi chmod +x /usr/bin/fastcgi-wrapper.pl chmod +x /etc/rc.d/init.d/perl-fastcgi /etc/rc.d/init.d/perl-fastcgi start chkconfig --add perl-fastcgi chkconfig perl-fastcgi on ``` -------------------------------- ### Download Ikiwiki Setup File Source: https://github.com/linode/docs/blob/develop/docs/guides/websites/wikis/ikiwiki-on-ubuntu-9-10-karmic/index.md Fetches the example Ikiwiki configuration file for review and editing. ```bash cd ~/ wget -O ikiwiki.setup 655-ikiwiki.setup ``` -------------------------------- ### Download and Run Mail-in-a-Box Setup Script Source: https://github.com/linode/docs/blob/develop/docs/guides/email/mail-in-a-box/mail-in-a-box-email-server/index.md This command downloads the Mail-in-a-Box setup script and executes it with superuser privileges. The script will guide you through the installation process via a text-based interface. ```bash curl -s https://mailinabox.email/setup.sh | sudo bash ``` -------------------------------- ### Certbot Certificate Installation Output Source: https://github.com/linode/docs/blob/develop/docs/guides/applications/social-networking/how-to-install-collabora-code/index.md Example output from the Certbot command, showing successful certificate acquisition, saving locations, expiration, and auto-renewal setup. ```output Requesting a certificate for collabora.example.com Successfully received certificate. Certificate is saved at: /etc/letsencrypt/live/collabora.example.com/fullchain.pem Key is saved at: /etc/letsencrypt/live/collabora.example.com/privkey.pem This certificate expires on 2023-03-14. These files will be updated when the certificate renews. Certbot has set up a scheduled task to automatically renew this certificate in the background. Deploying certificate Successfully deployed certificate for collabora.example.com to /etc/nginx/sites-enabled/collabora Congratulations! You have successfully enabled HTTPS on https://collabora.example.com ``` -------------------------------- ### Create Example Directory on Instance #2 Source: https://github.com/linode/docs/blob/develop/docs/guides/tools-reference/file-transfer/how-to-use-scp/index.md Prepare the second instance by creating a directory for backup purposes. ```command mkdir ~/example_backup2 ``` -------------------------------- ### Navigate to Example Directory Source: https://github.com/linode/docs/blob/develop/docs/guides/development/rust/build-a-website-using-rust-and-the-rocket-web-framework/index.md Change into the 'hello_world' example directory within the Rocket repository. ```bash cd examples/hello_world ``` -------------------------------- ### Initialize a New Directory and Navigate Source: https://github.com/linode/docs/blob/develop/docs/guides/development/version-control/speed-up-your-development-process-with-turborepo/index.md Create a new directory for your project and change into it to begin setup. ```command mkdir testApp cd testApp ``` -------------------------------- ### Test Media Server Installation Source: https://github.com/linode/docs/blob/develop/docs/guides/applications/social-networking/dolphin/index.md Starts the Media Server using the 'red5.sh' script to test the installation. A successful start will show an installer service message. ```bash sudo ./red5.sh ``` -------------------------------- ### Complete Cloud-Config for Server Initialization Source: https://github.com/linode/docs/blob/develop/docs/guides/applications/configuration-management/cloud-init/configure-and-secure-servers-with-cloud-init/index.md A comprehensive cloud-config file example that automates software installation, user setup, system updates, server details, and SSH hardening. This can serve as a template for initializing Compute Instances. ```yaml #cloud-config # Configure a limited user users: - default - name: example-user groups: - sudo sudo: - ALL=(ALL) NOPASSWD:ALL shell: /bin/bash ssh_authorized_keys: - "SSH_PUBLIC_KEY" # Perform System Updates package_update: true package_upgrade: true # Configure server details timezone: 'US/Central' hostname: examplehost # Harden SSH access runcmd: - sed -i '/PermitRootLogin/d' /etc/ssh/sshd_config - echo "PermitRootLogin no" >> /etc/ssh/sshd_config - systemctl restart sshd # Install additional software packages packages: - nginx - mysql-server - php ``` -------------------------------- ### Install nginx Web Server Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/lemp/lemp-server-on-fedora-15/index.md Update system packages, install nginx, and configure it to start on boot and run immediately. ```bash yum update yum install nginx chkconfig nginx on service nginx start ``` -------------------------------- ### Example Before You Begin Section Source: https://github.com/linode/docs/blob/develop/docs/guides/linode-writers-formatting-guide/index.md This snippet shows a typical 'Before You Begin' section, outlining prerequisites like creating a Compute Instance and securing it. ```markdown ## Before You Begin 1. If you do not already have a virtual machine to use, create a Compute Instance with at least 4 GB of memory. See our [Getting Started with Linode](https://techdocs.akamai.com/cloud-computing/docs/getting-started) and [Creating a Compute Instance](https://techdocs.akamai.com/cloud-computing/docs/create-a-compute-instance) guides. 1. Follow our [Setting Up and Securing a Compute Instance](https://techdocs.akamai.com/cloud-computing/docs/set-up-and-secure-a-compute-instance) guide to update your system. You may also wish to set the timezone, configure your hostname, create a limited user account, and harden SSH access. ``` -------------------------------- ### Create Site Directories and Set Permissions Source: https://github.com/linode/docs/blob/develop/docs/guides/web-servers/cherokee/web-apps-with-cherokee-and-phpfastcgi-on-fedora-13/index.md Create necessary directories for your website and set ownership to the web server user. Replace 'example.com' with your domain name. ```bash mkdir -p /srv/www/example.com/www/public_html mkdir /srv/www/example.com/www/logs chown -R www-data:www-data /srv/www/example.com ``` -------------------------------- ### Run Ikiwiki Setup with Edited Configuration Source: https://github.com/linode/docs/blob/develop/docs/guides/websites/wikis/ikiwiki-on-fedora-12/index.md Execute Ikiwiki with your customized setup file. Ensure the path to `ikiwiki.setup` is correct for your environment. ```bash ikiwiki --setup ~/ikiwiki.setup ``` -------------------------------- ### Run Magento Setup Install Command Source: https://github.com/linode/docs/blob/develop/docs/guides/websites/ecommerce/install-magento-2-4-on-centos-8/index.md Execute the Magento setup:install command with all mandatory and optional parameters to begin the installation process. Ensure you replace placeholders with your specific values. ```bash sudo bin/magento setup:install --