This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hstarwiki:cust:gen:linux2 [2017-09-13 T 18:16] admin [Observium] |
hstarwiki:cust:gen:linux2 [2018-02-28 T 00:44] (current) admin [Own cloud] |
||
---|---|---|---|
Line 70: | Line 70: | ||
==== LACP ==== | ==== LACP ==== | ||
Bonding links can be done to increase throughput: https:// | Bonding links can be done to increase throughput: https:// | ||
+ | |||
+ | ==== FreeRadius ==== | ||
+ | Tuturial Found at: | ||
+ | https:// | ||
+ | === Install === | ||
+ | Typical install: | ||
+ | * $apt install freeradius | ||
+ | * or | ||
+ | * $yum install freeradius | ||
+ | ===Running=== | ||
+ | After install you need to test run it and show debugging info | ||
+ | * $radiusd -X | ||
+ | * This will show you a long readout and at the end will say "ready to process requests" | ||
+ | * This is important when making config changes as you can modify a configuration and then test to see if their are | ||
+ | |||
==== OpenFire XMPP ==== | ==== OpenFire XMPP ==== | ||
Line 284: | Line 299: | ||
* This will render the webpage on demand rather then loading a typical page | * This will render the webpage on demand rather then loading a typical page | ||
* In Code Igniter, this is a simple way for the website to run with lower resources. It also is much more dynamic | * In Code Igniter, this is a simple way for the website to run with lower resources. It also is much more dynamic | ||
- | Installing Code igniter is about downloading the package and putting it on the server. It uses and requires PHP. | + | Installing Code igniter is about downloading the package and putting it on the server. It uses and requires PHP |
- | ====== Packages GUI ====== | + | |
- | ====OpenBox==== | + | |
- | My Favorite minimal desktop manager is Open box. Here is a good debian article on it: [[https:// | + | |
- | ==Autostart script== | + | |
- | NOTE: This ONLY applies to open box.[[http:// | + | |
- | \\ Note in that document at the bottom that t here are 2 places for the autostart, one for a user, which may not be generated in a stripped down system, and one for any open box instance. Some examples of things to add in a very stripped down version of Openbox. Remember, these are just EXAMPLES and you may want to do more reasearch if you do not know what something means | + | |
- | * xterm #to start an xterm session window | + | |
- | * feh #for setting the background..need to work on | + | |
- | === config file === | + | |
- | rc.xml is the file and it is Located in either: / | + | |
- | === Menu === | + | |
- | Menu file is located in ~/ | + | |
- | ==== xrandr/ | + | |
- | * $xrandr | + | |
- | * gives readout of the types of displays connected. Probably LVDS or LVDS1 | + | |
- | * $xrandr --output [display] [options] | + | |
- | * Some options: | + | |
- | * Display brightness | + | |
- | * $xrandr --output [display ex:LVDS] --brightness [level, 1=100%, .5=50%] | + | |
- | * ex: | + | |
- | * $xrandr --output LVDS1 --brighness 1 | + | |
- | * to clone: | + | |
- | * $xrandr --output LVDS --auto --output VGA --auto --same-as LVDS | + | |
- | * To turn off minotor needs to be: | + | |
- | * $xrandr --output [monitor] --mode [widthxheighth] | + | |
- | * To turn on and off monitor: | + | |
- | * $xrandr --output [display] --off | + | |
- | * $xrandr --output [display] --auto | + | |
- | ==== General Windows ==== | + | |
- | ===XFCE=== | + | |
- | Changing windows (when cant grab corners) | + | |
- | * move Alt + mouse click, | + | |
- | * change size Alt+space, then r | + | |
- | * change size alternative Alt+f8 | + | |
- | ==== Time ==== | + | |
- | Redo timezone: | + | |
- | * dpkg-reconfigure tzdata | + | |
- | ==== Audio ==== | + | |
- | * Why does my volume become ' | + | |
- | * Append these lines to your / | + | |
- | * / | + | |
- | * / | + | |
- | * /dev/null / | + | |
- | ==== File Mangers ==== | + | |
- | There are a few different file managers like PCFman, Nemo, Nautelus, etc. | + | |
- | == Start Dir == | + | |
- | To change the start directory for at least Nemo and Nautelus | + | |
- | * Find file / | + | |
- | * open with vi | + | |
- | * Find line that says: | + | |
- | * Exec=<fm name> $dir | + | |
- | * Change dir to desired | + | |
- | * Example: | + | |
- | * Exec=nemo / | + | |
- | * Making the line like this will always start nemo in that folder instead of the user folder | + | |
- | * note, things like %U means main user directory. | + | |
| | ||
======Packages Server ====== | ======Packages Server ====== | ||
Line 385: | Line 344: | ||
Once the service is removed, you may run MediaTomb using the following command in the terminal. | Once the service is removed, you may run MediaTomb using the following command in the terminal. | ||
* $mediatomb | * $mediatomb | ||
- | ==== Own cloud ==== | ||
- | Centos instructions: | ||
- | ===System info=== | ||
- | Owncloud is usually located in: | ||
- | * / | ||
- | * / | ||
- | For some good system info see this file: | ||
- | \\ / | ||
- | \\ This will help with finding what sql version you have | ||
- | ===Backup and restore === | ||
- | Need to backup in the own cloud folder | ||
- | * /config | ||
- | * /data | ||
- | * The data base (see below) | ||
- | More details: | ||
- | * Backup: https:// | ||
- | * Restore: https:// | ||
- | ===Database=== | ||
- | Here are mysql instructions for backing up: | ||
- | * $mysqldump --single-transaction -h [server] -u [username] -p[password] [db_name] > owncloud-dbbackup_`date +" | ||
- | | ||
==== SSHFS ==== | ==== SSHFS ==== | ||
Line 539: | Line 477: | ||
* Can press enter to proced, or add items with spaces between each. Note, you need to type knoppix first for many of them, if said, then you can type all others. | * Can press enter to proced, or add items with spaces between each. Note, you need to type knoppix first for many of them, if said, then you can type all others. | ||
* Knoppix no3d (dont use compiz) | * Knoppix no3d (dont use compiz) | ||
+ | |||
+ | ==== Puppy startup | ||
+ | http:// | ||
+ | \\ Just put scripts in / |