This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
computing:sysadmin [2018/05/19 20:21] – oemb1905 | computing:sysadmin [2019/07/29 19:19] – oemb1905 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
------------------------------------------- | ------------------------------------------- | ||
* **sysadmin** | * **sysadmin** | ||
Line 7: | Line 8: | ||
------------------------------------------- | ------------------------------------------- | ||
- | //Welcome to my gnulinux | + | A dumping ground for basic gnulinux |
- | ------------------------------------------- | ||
- | #**install latest firefox on debian** | ||
------------------------------------------- | ------------------------------------------- | ||
- | To install | + | -Text Editors- |
+ | |||
+ | Change | ||
+ | |||
+ | exo-preferred-applications | ||
+ | |||
+ | Some systems are not kind with exo, so ... | ||
+ | |||
+ | xdg-mime default caja.desktop inode/ | ||
+ | |||
+ | Set caja or other file managers to manage desktop | ||
+ | |||
+ | gsettings set org.gnome.desktop.background show-desktop-icons false | ||
+ | gsettings set org.nemo.desktop show-desktop-icons true | ||
+ | |||
+ | |||
+ | -motd- | ||
+ | |||
+ | Create | ||
+ | |||
+ | sudo nano /etc/motd | ||
+ | |||
+ | Is motd printing twice, comment out motd statis in pam setting | ||
+ | |||
+ | / | ||
+ | # | ||
+ | (actually it is the line above this, leave this active) | ||
+ | |||
+ | Print motd with every shell log in ... | ||
+ | |||
+ | nano ~/.bashrc | ||
+ | |||
+ | Navigate to the end of the file, and add | ||
+ | |||
+ | cat /etc/motd | ||
- | | + | |
+ | -Firefox- | ||
+ | |||
+ | To install the latest firefox on Debian and make it default, do the following. | ||
+ | |||
+ | |||
+ | | ||
sudo chown -R $USER:$USER / | sudo chown -R $USER:$USER / | ||
- | tar xjf FirefoxSetup.tar.bz2 -C / | ||
- | mv / | ||
- | ln -s / | ||
cd ~/Downloads && wget -O FirefoxSetup.tar.bz2 " | cd ~/Downloads && wget -O FirefoxSetup.tar.bz2 " | ||
tar xjf FirefoxSetup.tar.bz2 -C / | tar xjf FirefoxSetup.tar.bz2 -C / | ||
+ | sudo mv / | ||
+ | sudo ln -s / | ||
To restore firefox-esr that comes with Debian. | To restore firefox-esr that comes with Debian. | ||
Line 29: | Line 67: | ||
| | ||
- | ------------------------------------------- | + | -optical ripping- |
- | #**optical | + | |
- | ------------------------------------------- | + | |
cdrecord -pad -dao -data blag-140k-i686.iso | cdrecord -pad -dao -data blag-140k-i686.iso | ||
Line 37: | Line 73: | ||
- | ------------------------------------------- | + | -pam garbage- |
- | #**security & policy information** | + | |
- | ------------------------------------------- | + | |
sudo nano / | sudo nano / | ||
Line 47: | Line 81: | ||
/ | / | ||
+ | -old reminders- | ||
- | ------------------------------------------- | + | remove old and offending keyring from gnome, make new directory for new one |
- | # | + | |
- | ------------------------------------------- | + | sudo rm -rf ~/ |
+ | mkdir ~/ | ||
start or stop network manager (or other services) | start or stop network manager (or other services) | ||
Line 94: | Line 130: | ||
- | ------------------------------------------- | + | -ngrok- |
- | #**scripts and miscellaneous** | + | |
- | ------------------------------------------- | + | |
- | + | ||
- | downloading scripts and executing them; example from DO | + | |
- | + | ||
- | curl -sSL https:// | + | |
ngrok notes; private http(s) tunnels | ngrok notes; private http(s) tunnels | ||
Line 124: | Line 154: | ||
[main contrib non-free] | [main contrib non-free] | ||
| | ||
- | Uploading files to remote webservers with sftp | + | |
+ | -sftp basics- | ||
cd ~/Downloads | cd ~/Downloads | ||
Line 130: | Line 161: | ||
> put / | > put / | ||
| | ||
- | + | | |
- | + | -build app from source- | |
- | + | ||
- | + | ||
- | ------------------------------------------- | + | |
- | #**Building From Source to Custom library Location** | + | |
- | ------------------------------------------- | + | |
tar -xf < | tar -xf < | ||
Line 148: | Line 174: | ||
+ | -using vi to scrape unnecessary text strings away from openwrt packages that need updating | ||
+ | |||
+ | :1,$s/ .*// | ||
+ | |||
+ | |||
+ | -passing traffic through wifi radio to another interface on host- | ||
+ | |||
+ | sudo su -c " | ||
+ | sudo su -c "echo 1 > / | ||
+ | |||
+ | set a static ip using ip a a x.x.x.x. dev blah | ||
+ | |||
+ | set static on wndr wan | ||
+ | |||
+ | -forthcoming- | ||
- | ------------------------------------------- | ||
- | #**next topic** | ||
- | ------------------------------------------- | ||
- | --- //[[netcmnd@jonathanhaack.com|oemb1905]] | + | --- //[[oemb1905@jonathanhaack.com|oemb1905]] |