start

Search

You can find the results of your search below.

syntax @wiki
35 Hits, Last modified:
nd_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> <?php /** * Customizati... be modified */ $lang['js']['nosmblinks'] = ''; </code> ==== Image Links ==== You can also use an imag... t use indention for deeper levels - That's it <code> * This is a list * The second item * You... t use indention for deeper levels - That's it </code> Also take a look at the [[doku>faq:lists|FAQ on
mastodon @self-hosting
18 Hits, Last modified:
und mine at ''/etc/postgresql/posgresql.conf'': <code> shared_preload_libraries = 'pg_stat_statements' ... ts.max = 10000 track_activity_query_size = 2048 </code> Restart PostgreSQL: <code bash> sudo systemctl restart postgresql </code> Now we need to create the extension, but we need to do
pleroma @self-hosting
17 Hits, Last modified:
ir configuration at ''/etc/pleroma/config.exs'' <code elixir> config :pleroma, :instance, ... r... open: false, invites_enabled: true, ... </code> I then went through Pleroma's own security hard... ' or ''/opt/pleroma/config/prod.secret.exs'')): <code elixir> config :pleroma, :chat, enabled: false </code> Credit: [[https://splat.soy/notice/9onOIabbXoX6
request_tracker @self-hosting
14 Hits, Last modified:
w-data'' to read ''/opt/rt4/etc/RT_Config.pm''\\ <code bash> # chgrp www-data /opt/rt4/etc/RT_Config.pm </code> ==== uwsgi configuration ==== ''/etc/uwsgi/appsavailable/rt.ini'':\\ <code ini> [uwsgi] plugins = psgi chmod-socket = 664 ui... k psgi = /opt/rt4/sbin/rt-server processes = 10 </code> Be sure to softlink that to ''/etc/uwsgi/apps-e
import_export_gpg_key_pair @sysadmin:kb
10 Hits, Last modified:
/Export GPG key pair ====== ===== Export ===== <code> $ gpg --list-keys /home/user/.gnupg/pubring.gpg ... mail@example.com> sub 2048g/DEFABC01 2008-04-13 </code> Export key ''ABCDFE01'':<code> $ gpg --output gpgkey_pub.gpg --armor --export ABCDFE01 $ gpg --output... ey_sec.gpg --armor --export-secret-key ABCDFE01 </code> Optionally, use ''scp'' to copy those files to
dokuwiki @self-hosting
10 Hits, Last modified:
act the archive and copy it to its destination: <code> $ tar xzvf dokuwiki.tgz $ sudo cp -r dokuwiki /var/www/ </code> Give your web server user access, on Debian and... its derivatives, this is usually ''www-data'': <code> $ sudo chown -R www-data:www-data dokuwiki </code> ===== Configuring the Web Server ===== As stated
php_scripts @sysadmin:kb
6 Hits, Last modified:
MySQL PHP Scripts ===== ==== List Tables ==== <code php> <?php $user = 'username'; //your userna... if you wish } } echo($list); ?> </code> ==== Queries ==== <code php> <?php /////////////////////////////////////////// // ... value="Allons-y!" /> </form> </html> <? }; ?> </code> ---- <WRAP center round alert 60%> **Disclaime
pleroma_source_install @self-hosting
4 Hits, Last modified:
running on port 4000, which was causing issues. <code text> $ sudo -Hu postgres psql postgres=# drop database pleroma; postgres=# drop role pleroma; </code> I also made sure to turn off public registration, in ''prod.secrets.exs'': <code elixir> config :pleroma, :instance, ... registrations_open: false, ... </code> I then went through Pleroma's own security hard
ssl_hardening @sysadmin:nginx
4 Hits, Last modified:
o the server block of your HTTPS configuration: <code nginx> add_header Strict-Transport-Security max-age=31536000; </code> <WRAP center round important 60%> **Caution!** ... </WRAP> ===== Other Useful HTTP Headers ===== <code nginx> ssl_prefer_server_ciphers On; ssl_protocol... 28:DH+AES:RSA+AESGCM:!RSA+AES:!aNULL:!MD5:!DSS; </code> ===== Resources ===== * [[https://weakdh.org/
arch_linux @projects:notes
4 Hits, Last modified:
om''... success! ==== Update System Clock ==== <code bash> $ timedatectl set-ntp true $ timedatectl status </code> ==== Partition the Disks ==== <code> Disk Size Purpose /dev/sda1 5G swap /dev/sda2 460.8G / </code>
random_nginx_configs @self-hosting
4 Hits, Last modified:
Random Nginx Configs ====== **''nginx.conf'':** <code nginx> user www-data; worker_processes auto; pid ... 3; # protocol imap; # proxy on; # } #} </code> **''share.jrgnsn.net.conf'':** <code nginx> server { server_name share.jrgnsn.net; root /var... listen [::]:80; server_name share.jrgnsn.net; return 404; # managed by Certbot } </code>
cytube @self-hosting
4 Hits, Last modified:
public keys from Let's Encrypt's directories. <code bash> sudo ln -s /etc/letsencrypt/live/cytube.spl... lat.soy/fullchain.pem /opt/cytube/fullchain.pem </code> ===== nginx config ===== This is a trimmed con... g, I'll leave the TLS configuration up to you. <code nginx> server { listen 80; server_name cy... proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Host $http_host; } } </code>
backup_restore_postgresql_database @sysadmin:kb
4 Hits, Last modified:
==== - Use ''pg_dump'' to backup the database:<code bash>sudo -Hu postgres pg_dump -d <database_name>... rmat-custom -f </path/to/backup/database.pgdump></code> ===== Restore ===== - Use ''pg_restore'' to load the database back up:<code bash>sudo -Hu postgres pg_restore -d <database_name> -v -1 </path/to/backup/database.pgdump></code>
server_management @sysadmin:windows:tips_and_tricks
4 Hits, Last modified:
nly have to restart the computer once. </WRAP> <code powershell> Add-Computer -Domain DOMAIN_NAME -Credential DOMAIN_ADMIN </code> Where: * ''DOMAIN_NAME'' is the name of the d... unt ===== Rename Computer via PowerShell ===== <code powershell> Rename-Computer -NewName NEW_HOSTNAME </code> Where: * ''NEW_HOSTNAME'' is the new desired
weechat @sysadmin:kb
4 Hits, Last modified:
=== Aliases ===== ZNC detach and buffer close: <code> /alias add /dc /znc detach $channel; /close </code> <WRAP center round info 60%> Note: this will ... ce you enable ''send_unknown_commands'' </WRAP> <code> /set irc.network.send_unknown_commands on </code> * Ref: https://wiki.znc.in/Weechat#Enabling_.2FZN
ghost_service @sysadmin:linux
2 Hits, Last modified:
nginx-config @self-hosting:privatebin
2 Hits, Last modified:
wordpress @self-hosting
2 Hits, Last modified:
example_config_for_nextcloud @sysadmin:nginx
2 Hits, Last modified:
example_logger_configuration @sysadmin:python
2 Hits, Last modified:
ie_reg_fix @sysadmin:windows:tips_and_tricks
2 Hits, Last modified:
office_profile_fixer @sysadmin:windows:tips_and_tricks
2 Hits, Last modified:
powershell_scripts @sysadmin:windows
2 Hits, Last modified:
raspberry_pi @raspberry_pi
2 Hits, Last modified:
common_commands @sysadmin:linux
2 Hits, Last modified:
privatebin @self-hosting
2 Hits, Last modified:
ampache @self-hosting
2 Hits, Last modified:
october_2019 @self-hosting:infrastructure_notes
1 Hits, Last modified:
projects @projects
1 Hits, Last modified:
cgit @self-hosting
1 Hits, Last modified:
  • start.txt
  • Last modified: 2019/11/10 19:46
  • by mjorgensen