diff --git a/distros/redhat/Oracle/basics.md b/distros/redhat/Oracle/basics.md deleted file mode 100644 index f11cb55..0000000 --- a/distros/redhat/Oracle/basics.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "basics" -tags: [ "Documentation", "Distros" ] ---- - -> cd /etc/yum.repos.d/ - -> vim public.yum* - -These are branches of the same Oracle server. - -The first - 'latest' - is enabled by default. - -You can change 'enabled' from 0 to 1 for various repositories. - diff --git a/distros/suse/http_server.md b/distros/suse/http_server.md deleted file mode 100644 index 2bbc8bb..0000000 --- a/distros/suse/http_server.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "http_server" -tags: [ "Documentation", "distros" ] ---- -Nothing interesting. - -1. Install -2. Set a dns resolver in /etc/resolv.conf (`nameserver 1.1.1.1` works) -3. Enable NetworkManager -3. zypper install http-something php5 apache2 -4. vi /srv/www/htdocs/index.html -5. Enable apache2 diff --git a/distros/void/basics.md b/distros/void/void_basics.md similarity index 100% rename from distros/void/basics.md rename to distros/void/void_basics.md diff --git a/hardware/basics.md b/hardware/basics.md deleted file mode 100644 index 546a975..0000000 --- a/hardware/basics.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: "basics" -tags: [ "Documentation", "hardware" ] ---- -# Motherboard Information - -> sudo dmidecode - -Motherboard info, upgrading BIOS, memory capacity, LAN connections. - -# Disks - -View currently inserted disks: - -lsblk - -# CPU - -> cat /proc/cpuinfo - diff --git a/networking/protocols.md b/networking/network_protocols.md similarity index 100% rename from networking/protocols.md rename to networking/network_protocols.md diff --git a/networking/basics.md b/networking/networking_basics.md similarity index 100% rename from networking/basics.md rename to networking/networking_basics.md diff --git a/networking/pip.md b/networking/pip.md index 97eeaec..8031a19 100644 --- a/networking/pip.md +++ b/networking/pip.md @@ -13,3 +13,9 @@ Upgrade all packages > pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U +# Troubleshooting + +You may need a python3 package. +In this case, try: + +> pip3 install [ package ] diff --git a/sound/basics.md b/sound/sound_basics.md similarity index 100% rename from sound/basics.md rename to sound/sound_basics.md diff --git a/system/editors.md b/system/editors.md index 24e60ca..b38a068 100644 --- a/system/editors.md +++ b/system/editors.md @@ -4,7 +4,7 @@ tags: [ "Documentation", "System" ] --- The System's default text editor can be defined within /etc/profile. It's given the variable `EDITOR`. -Add these lines to /etc/profile: +Add these lines to `/etc/profile.d/local.sh`: ``` diff --git a/system/systemd/basics.md b/system/systemd/systemd_basics.md similarity index 100% rename from system/systemd/basics.md rename to system/systemd/systemd_basics.md diff --git a/system/systemd/users.md b/system/systemd/users.md deleted file mode 100644 index f7cc29f..0000000 --- a/system/systemd/users.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: "users" -tags: [ "Documentation", "systemd" ] ---- -# Automatic Login - -> cp /usr/lib/systemd/system/getty@.service /etc/systemd/system/getty1@.service - -Modify the lines to look like these: - -`ExecStart=-/sbin/agetty --autologin --noclear %I 38400 linux` - -`Type=oneshot` - -`Restart=no` - -In the `[Install]` section: - -`Alias=getty.target.wants/getty@tty1.service` - -Then enable the service: - -> ln -sf /etc/systemd/system/getty1@.service /etc/systemd/system/getty.target.wants/getty@tty9.service - -> systemctl start getty@tty9.service - - diff --git a/system/upx.md b/system/upx.md deleted file mode 100644 index edf9e9f..0000000 --- a/system/upx.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "upx" -tags: [ "Documentation", "System" ] ---- -upx compresses binaries, so they take up less disk space, but take longer to start. - -Make a binary, such as ls, compressed: - -> upx ls - - diff --git a/system/wine.md b/system/wine.md deleted file mode 100644 index ca0ec98..0000000 --- a/system/wine.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "wine" -tags: [ "Documentation", "System" ] ---- -maybe run \n> sudo dpkg --add-architecture i386 diff --git a/virtualization/xen/basics.md b/virtualization/xen/xen_basics.md similarity index 100% rename from virtualization/xen/basics.md rename to virtualization/xen/xen_basics.md