# Install Instructions Study  ## 1. Dependencies Installation - Get Jsons Of Each Package -> Another InstallInstruction - Install them using Install Instruction ## 2. Environment Paths And Variable ### Environment Variables - Set : ```export MY_NEW_VAR="My New Var"``` - List : ```printenv varname``` ### Environment Paths - ```export PATH=$PATH:/usr/sbin``` ## 3. OsRepos - Todo : [How To Add Apt Repository In Ubuntu | Linuxize](https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/) ## 4a. Update APT ``` apt update -y && \ apt-get update -y && \ apt upgrade -y go : cmd("/user/bin/bash", "-c", script) ``` ## 4b. ConditionalMessagesOnPreInstalledPackages ```Todo``` ## 5. OsServices(PreExecutor) - Start : ```sudo systemctl start httpd``` - Stop : ```sudo systemctl stop httpd``` - Restart : ```sudo systemctl restart httpd``` - Reload : ```sudo systemctl reload httpd``` - Enable : ```sudo systemctl enable httpd``` - Using Service : ``` sudo service httpd start sudo service httpd stop sudo service httpd restart ``` ## 6. Install Methods ```Todo``` ## 7. SymbolicLinks - Add : ```ln -s <path to the file/folder to be linked> <the path of the link to be created>``` - Remove : - ```ls -l <path-to-assumed-symlink>``` - ```unlink <path-to-symlink>``` - ```rm <path-to-symlink>``` ## 8. PathsChmods/PathModifiers ```Todo``` ## 9. OsServices(PostExecutor) ## 10. Verify ```Todo``` ### References - [Symlink Tutorial in Linux – How to Create and Remove a Symbolic Link](https://www.freecodecamp.org/news/symlink-tutorial-in-linux-how-to-create-and-remove-a-symbolic-link/) ## [CIMUX Instruction Formats](https://drive.google.com/file/d/1z94h6dTkt8Y0shudhclzfWt_gVhj_KDB/view?usp=sharing)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up