updated
This commit is contained in:
parent
86565ba3a2
commit
a70c1566c6
197
index.html
Normal file
197
index.html
Normal file
@ -0,0 +1,197 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="../../../../../assets/img/favicon.png">
|
||||
|
||||
<title>nihilist - Categories </title>
|
||||
<!-- cp index.html blog.html-->
|
||||
<!-- Bootstrap core CSS! -->
|
||||
<link href="assets/css/bootstrap.css" rel="stylesheet">
|
||||
|
||||
|
||||
<!-- Custom styles for this template! -->
|
||||
<link href="assets/css/main.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Static navbar -->
|
||||
<div class="navbar navbar-inverse-anon navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand-anon" href="\index.html">nihilist`s Blog</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- +++++ Posts Lists +++++ -->
|
||||
<!-- +++++ First Post +++++ -->
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="servers/anon.html">Anonymity Tutorials</a></h1>
|
||||
<p><img class="img-responsive" src="servers/anonymity.png" alt=""></p>
|
||||
<p>Showing how Anonymity can be achieved online.</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /anon -->
|
||||
|
||||
|
||||
<div id="anon1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="servers/index.html">Server Installations</a></h1>
|
||||
<p><img class="img-responsive" src="servers/serverside.png" alt=""></p>
|
||||
<p>Setting up servers once, and sharing tutorials to show everyone how it's done. </p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /anon -->
|
||||
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="HTB/index.html">HTB Writeups (General Hacking)</a></h1>
|
||||
<img class="imgRz" src="assets/img/htb.jpg" >
|
||||
<p>Hack The Box is an online platform allowing you to test your penetration testing skills and exchange ideas and methodologies with thousands of people in the security field. </p>
|
||||
</div>
|
||||
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
|
||||
<!-- +++++ Third Post +++++ -->
|
||||
<div id="anon3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="networking/index.html">Networking</a></h1>
|
||||
<p><img class="img-responsive" src="networking/network.png" alt=""></p>
|
||||
<p>Cisco Packet Tracer Simulations. </p>
|
||||
</div>
|
||||
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<div id="anon2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="binexp.html">Binary Exploitation</a></h1>
|
||||
<p><img class="img-responsive" src="binexp/0.png" alt=""></p>
|
||||
<p>gdb, gef, ghidra, pwntools, assembly, C, 32-64bit binaries, reverse engineering, CTF challenges</p>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /anon -->
|
||||
|
||||
<!-- +++++ Fourth Post +++++ -->
|
||||
|
||||
<!--
|
||||
<div id="anon1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="script/index.html">Programming</a></h1>
|
||||
<p>Python, C++, Scraping, URL Libraries, </p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
<div id="anon1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<p><img src="assets/img/user.png" width="50px" height="50px"> <ba>nihilist </ba></p>
|
||||
<h1><a href="myconfigs.html">Configurations</a></h1>
|
||||
<!--<p><img class="img-responsive" src="assets/img/v01d.png" alt=""></p>-->
|
||||
<p>One liners, i3 minimal installs, terminal setup, etc.</p>
|
||||
</div>
|
||||
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /anon -->
|
||||
|
||||
|
||||
<!-- +++++ Footer Section +++++ -->
|
||||
|
||||
<div id="anonb">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h4>Nihilism</h4>
|
||||
<p>
|
||||
Until there is Nothing left.
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>My Links</h4>
|
||||
<p>
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nihilism.network/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nihilism:m.datura.network">Matrix Chat</a><br/>
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>About nihilist</h4>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@nihilism.network (<a href="https://nihilism.network/nihilist.pubkey">PGP</a>)</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
</body>
|
||||
</html>
|
BIN
servers/0_ddns/0.png
Normal file
BIN
servers/0_ddns/0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
130
servers/0_ddns/index.html
Normal file
130
servers/0_ddns/index.html
Normal file
@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="../../../../../../assets/img/favicon.png">
|
||||
|
||||
<title>DuckDNS</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="../../assets/css/xt256.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="../../assets/css/main.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Static navbar -->
|
||||
<div class="navbar navbar-inverse-cis navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand-cis" href="\index.html">nihilist`s Blog</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/blog.html">Categories</a></li>
|
||||
<li><a href="https://blog.nihilism.network/donate.html">Donate</a></li>
|
||||
<li><a href="/contact.html">Contact</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- +++++ Posts Lists +++++ -->
|
||||
<!-- +++++ First Post +++++ -->
|
||||
<div id="cis2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<a href="../index.html">Previous Page</a></br></br><p><img src="../../assets/img/user.png" width="50px" height="50px"> <ba>nihilist - 00 / 00 / 00</ba></p>
|
||||
<h1>0 </h1>
|
||||
<p> Before we start, you will need a Debian 10+ VPS (you can get one on digitalocean for example), if you prefer to use your own self hosted server, make sure that port 80 and 443 are correctly port forwarded so that the public ip points to the server and not the router. Once that's done, go and ssh into your debian 10 server. </p>
|
||||
<p>You can use DuckDNS to get a free domain name:</p>
|
||||
<img src="0.png" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
[ 192.168.100.1/24 ] [ /dev/pts/13 ] [~/Nextcloud/blog/Conf]
|
||||
→ ssh root@ech4.duckdns.org
|
||||
The authenticity of host 'ech4.duckdns.org (178.128.46.38)' can't be established.
|
||||
ECDSA key fingerprint is SHA256:z2HAncB99pfbAUfj9tJY7vlo8EGUzCIUxWBAnjAflcA.
|
||||
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
|
||||
Warning: Permanently added 'ech4.duckdns.org,178.128.46.38' (ECDSA) to the list of known hosts.
|
||||
Linux debian-s-1vcpu-1gb-lon1-01 4.19.0-10-cloud-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64
|
||||
|
||||
The programs included with the Debian GNU/Linux system are free software;
|
||||
the exact distribution terms for each program are described in the
|
||||
individual files in /usr/share/doc/*/copyright.
|
||||
|
||||
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
|
||||
permitted by applicable law.
|
||||
root@debian-s-1vcpu-1gb-lon1-01:~#
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Footer Section +++++ -->
|
||||
|
||||
<div id="cisb">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h4>Nihilism</h4>
|
||||
<p>
|
||||
Until there is Nothing left.
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>My Links</h4>
|
||||
<p>
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nihilism.network/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nihilism:m.datura.network">Matrix Chat</a><br/>
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>About nihilist</h4>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@nihilism.network (<a href="https://nihilism.network/nihilist.pubkey">PGP</a>)</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
||||
</body>
|
||||
</html>
|
193
servers/0_not/index.html
Normal file
193
servers/0_not/index.html
Normal file
@ -0,0 +1,193 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="../../../../../../assets/img/favicon.png">
|
||||
|
||||
<title>SRVNAME Setup</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="../../assets/css/xt256.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="../../assets/css/main.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Static navbar -->
|
||||
<div class="navbar navbar-inverse-cis navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand-cis" href="\index.html">nihilist`s Blog</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/blog.html">Categories</a></li>
|
||||
<li><a href="https://blog.nihilism.network/donate.html">Donate</a></li>
|
||||
<li><a href="/contact.html">Contact</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- +++++ Posts Lists +++++ -->
|
||||
<!-- +++++ First Post +++++ -->
|
||||
<div id="cis2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<a href="../index.html">Previous Page</a></br></br><p><img src="../../assets/img/Kush.png" width="50px" height="50px"> <ba>notorious - 00 / 00 / 00</ba></p>
|
||||
<h1>SRVNAME Setup </h1>
|
||||
<img src="0.png" style="width:250px">
|
||||
<p> </p>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /grey -->
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="cis3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Initial Setup </b></h2>
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<div id="cis2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Setup</b></h2> </br> </br>
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="cis1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Setup</b></h2> </br> </br>
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Footer Section +++++ -->
|
||||
|
||||
<div id="cisb">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h4>Nihilism</h4>
|
||||
<p>
|
||||
Death Is Near.
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>My Links</h4>
|
||||
<p>
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nihilism.network/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nihilism:m.datura.network">Matrix Chat</a><br/>
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
</div><!-- /col-lg-4 -->
|
||||
<div class="col-lg-4">
|
||||
<h4>About Notorious</h4>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u>498pGjtN5jKGG4QJ7ubS5rVdsWEgovzgM6cCQpFwhXiPSq39q1izZE7UFTfxinyrZud2PpLRMiU6DJUnCEsR3iPGHqswj9U</p></br><p><u>Contact:</u>notorious@notorious-cloud.com</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
||||
</body>
|
||||
</html>
|
194
servers/0_test/index.html
Normal file
194
servers/0_test/index.html
Normal file
@ -0,0 +1,194 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="../../../../../../assets/img/favicon.png">
|
||||
|
||||
<title>SRVNAME</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="../../assets/css/xt256.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="../../assets/css/main.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Static navbar -->
|
||||
<div class="navbar navbar-inverse-cis navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand-cis" href="\index.html">nihilist`s Blog</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<li><a href="/about.html">About</a></li>
|
||||
<li><a href="/blog.html">Categories</a></li>
|
||||
<li><a href="https://blog.nihilism.network/donate.html">Donate</a></li>
|
||||
<li><a href="/contact.html">Contact</a></li>
|
||||
</ul>
|
||||
</div><!--/.nav-collapse -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- +++++ Posts Lists +++++ -->
|
||||
<!-- +++++ First Post +++++ -->
|
||||
<div id="cis2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<a href="../index.html">Previous Page</a></br></br><p><img src="../../assets/img/user.png" width="50px" height="50px"> <ba>nihilist - 00 / 00 / 00</ba></p>
|
||||
<h1>SRVNAME Setup </h1>
|
||||
<img src="0.png" class="imgRz">
|
||||
<p> </p>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /grey -->
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="cis3">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Initial Setup </b></h2>
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<div id="cis2">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Setup</b></h2> </br> </br>
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<img src="" class="imgRz">
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
|
||||
<!-- +++++ Second Post +++++ -->
|
||||
<div id="cis1">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2">
|
||||
<h2><b>Setup</b></h2> </br> </br>
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
<p></p>
|
||||
<pre><code class="nim">
|
||||
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
</div> <!-- /container -->
|
||||
</div><!-- /white -->
|
||||
|
||||
<!-- +++++ Footer Section +++++ -->
|
||||
|
||||
<div id="cisb">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<h4>Nihilism</h4>
|
||||
<p>
|
||||
Until there is Nothing left.
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>My Links</h4>
|
||||
<p>
|
||||
|
||||
<a target="_blank" rel="noopener noreferrer" href="http://blog.nihilism.network/rss/feed.xml">RSS Feed</a><br/><a target="_blank" rel="noopener noreferrer" href="https://matrix.to/#/#nihilism:m.datura.network">Matrix Chat</a><br/>
|
||||
|
||||
</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
<div class="col-lg-4">
|
||||
<h4>About nihilist</h4>
|
||||
<p style="word-wrap: break-word;"><u>Donate XMR:</u> 8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8</p></br><p><u>Contact:</u> nihilist@nihilism.network (<a href="https://nihilism.network/nihilist.pubkey">PGP</a>)</p>
|
||||
</div><!-- /col-lg-4 -->
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
servers/Arch/0.png
Normal file
BIN
servers/Arch/0.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 KiB |
32
servers/Arch/0.sh
Normal file
32
servers/Arch/0.sh
Normal file
@ -0,0 +1,32 @@
|
||||
######################## MANUAL !!! ############################
|
||||
|
||||
loadkeys fr
|
||||
timedatectl set-ntp true
|
||||
ping -c3 archlinux.org
|
||||
|
||||
pacman -Syy
|
||||
pacman -S reflector
|
||||
reflector -c "France" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||
|
||||
fdisk -l | grep /dev/sd | grep Disk
|
||||
#/dev/sda 64gb
|
||||
cfdisk /dev/sda
|
||||
################EFI################
|
||||
#gpt
|
||||
#delete existing partitions
|
||||
#select freespace
|
||||
#first partition : 1G (EFI)
|
||||
#last partition : 499G (Linux Root x86_64)
|
||||
#hit write
|
||||
#hit quit
|
||||
mkfs.vfat /dev/sda1
|
||||
mkfs.ext4 /dev/sda2
|
||||
|
||||
mount /dev/sda2 /mnt
|
||||
mkdir /mnt/boot/
|
||||
mount /dev/sda1 /mnt/boot/
|
||||
|
||||
pacstrap /mnt base base-devel linux linux-firmware sudo nano wget
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
arch-chroot /mnt
|
||||
#welcome to chroot, use the first script!
|
BIN
servers/Arch/1.png
Normal file
BIN
servers/Arch/1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
59
servers/Arch/1.sh
Normal file
59
servers/Arch/1.sh
Normal file
@ -0,0 +1,59 @@
|
||||
#!/bin/sh
|
||||
################ THE FIRST SCRIPT STARTS HERE ###############
|
||||
#once in arch-chroot, you must run this !
|
||||
|
||||
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
||||
hwclock --systohc --utc
|
||||
mkinitcpio -P
|
||||
date
|
||||
|
||||
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
|
||||
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
|
||||
|
||||
echo 'LANG=en_US.UTF-8' >/etc/locale.conf
|
||||
echo 'LANGUAGE= en_US.UTF-8' >> /etc/locale.conf
|
||||
echo 'LC_MESSAGES= en_US.UTF-8'>> /etc/locale.conf
|
||||
|
||||
locale-gen
|
||||
echo 'KEYMAP=fr' > /etc/vconsole.conf
|
||||
|
||||
echo 'nowhere' > /etc/hostname
|
||||
|
||||
echo "127.0.0.1 localhost" > /etc/hosts
|
||||
echo "127.0.1.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
|
||||
pacman -S networkmanager dhcpcd refind
|
||||
systemctl enable NetworkManager
|
||||
systemctl enable dhcpcd
|
||||
|
||||
echo
|
||||
echo '[+] ENTER ROOT PASSWORD!'
|
||||
passwd
|
||||
|
||||
echo '[+] what is the name of the user ?'
|
||||
read username
|
||||
|
||||
useradd $username
|
||||
mkdir /home/$username
|
||||
cp /etc/skel/.* /home/$username/
|
||||
chown -R $username: /home/$username
|
||||
#set nothing's password
|
||||
echo
|
||||
echo '[+] ENTER USERS PASSWORD!'
|
||||
passwd $username
|
||||
pacman -S sudo
|
||||
echo '%wheel ALL=(ALL) ALL' >> /etc/sudoers
|
||||
usermod -aG wheel $username
|
||||
|
||||
#pacman -S grub os-prober
|
||||
#grub-install /dev/sda
|
||||
|
||||
#grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
refind-install
|
||||
echo \"Boot with minimal options\" \"rw root=$(blkid /dev/sda2 | awk '{print $2}' | tr -d '"') initrd=initramfs-linux.img\" > /boot/refind_linux.conf
|
||||
|
||||
echo 'now type "exit" to go out of arch-chroot'
|
||||
echo 'type umount /mnt/boot /mnt'
|
||||
echo 'and type "reboot" to reboot into your arch install.'
|
162
servers/Arch/2.sh
Normal file
162
servers/Arch/2.sh
Normal file
@ -0,0 +1,162 @@
|
||||
#!/bin/sh
|
||||
########################SECOND SCRIPT##########################
|
||||
|
||||
|
||||
if [ "$EUID" -eq 0 ]
|
||||
then
|
||||
echo 'MUST NOT RUN AS ROOT!'
|
||||
exit
|
||||
fi
|
||||
|
||||
sudo pacman -Syy
|
||||
sudo pacman -S reflector
|
||||
sudo reflector -c "France" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||
|
||||
sudo pacman -Syu
|
||||
echo
|
||||
#sudo pacman -S python3 python-pip
|
||||
#sudo pacman -S arch-wiki-docs adobe-source-han-sans-jp-fonts adobe-source-han-sans-tw-fonts feh vi ttf-dejavu
|
||||
#sudo pacman -S rofi xorg bash-completion vlc tmux git engrampa alacritty lightdm base-devel lightdm-gtk-greeter
|
||||
#sudo pacman -S i3lock dmenu network-manager-applet wmctrl thunar gnome-disk-utility thunar-volman gvfs lxappearance
|
||||
#sudo pacman -S udiskie mesa xorg i3 flameshot nvidia nvidia-settings nvidia-utils
|
||||
#sudo pacman -S gnome-keyring
|
||||
sudo pacman -S mpd ncmpcpp gnome-keyring udiskie mesa xorg i3 flameshot nvidia nvidia-settings nvidia-utils i3lock dmenu network-manager-applet wmctrl thunar gnome-disk-utility thunar-volman gvfs lxappearance python3 rofi xorg bash-completion vlc tmux git engrampa alacritty lightdm base-devel lightdm-gtk-greeter python-pip arch-wiki-docs adobe-source-han-sans-jp-fonts adobe-source-han-sans-tw-fonts feh vi ttf-dejavu remmina torbrowser-launcher
|
||||
#arch wiki is in file:///usr/share/doc/arch-wiki/html/en/Arch_Linux.html
|
||||
|
||||
username=$(ls /home | head -n1 | sed 's/\/$//')
|
||||
|
||||
#I3 !
|
||||
cd /home/$username
|
||||
mkdir .config
|
||||
cd .config
|
||||
mkdir i3
|
||||
cd i3
|
||||
wget https://ech1.github.io/blog/Conf/i3config -O config
|
||||
|
||||
|
||||
cd /home/$username
|
||||
git clone https://github.com/gpakosz/.tmux.git
|
||||
ln -s -f .tmux/.tmux.conf
|
||||
cp .tmux/.tmux.conf.local .
|
||||
|
||||
wget https://ech1.github.io/blog/Conf/tmux.conf.local
|
||||
mv tmux.conf.local .tmux.conf.local
|
||||
|
||||
|
||||
wget https://ech1.netlify.app/conf/bashrc -O .bashrc
|
||||
|
||||
sudo wget https://ech1.github.io/blog/Conf/i3status.conf -O /etc/i3status.conf
|
||||
|
||||
cd .config
|
||||
mkdir alacritty
|
||||
cd alacritty
|
||||
wget https://ech1.github.io/blog/Conf/alacritty.yml
|
||||
|
||||
cd /home/$username/
|
||||
mkdir Pictures
|
||||
mkdir Documents
|
||||
mkdir .ssh
|
||||
cd Pictures
|
||||
wget https://ech1.github.io/blog/wallpaper3.png
|
||||
#wget https://ech1.github.io/blog/wallpaper_triple.png
|
||||
|
||||
cd /home/$username/
|
||||
mkdir Music
|
||||
cd Music
|
||||
mkdir Life
|
||||
cd Life
|
||||
wget https://ech1.github.io/blog/Conf/Infiltration.mp3
|
||||
|
||||
#sudo
|
||||
#apt install sudo -y
|
||||
#/usr/sbin/usermod -aG sudo $username
|
||||
|
||||
bash -c "$(wget https://ech1.netlify.app/Conf/xfce.sh -O -)"
|
||||
|
||||
#chown -R $username:$username /home/$username/
|
||||
#cp /home/$username/.bashrc ~/.bashrc
|
||||
|
||||
|
||||
cd /home/$username/
|
||||
wget https://ech1.github.io/blog/Conf/lockedscreen.png
|
||||
wget https://ech1.github.io/blog/assets/img/user1.png
|
||||
mkdir Tools
|
||||
cd Tools
|
||||
|
||||
git clone https://aur.archlinux.org/yay-git.git
|
||||
cd yay-git
|
||||
makepkg -si
|
||||
yay -S pnmixer i3lock-color xrdp archtorify-git polybar picom-jonaburg-git i3-gaps
|
||||
|
||||
#yay -S polybar-git
|
||||
mkdir -p /home/$username/.config/polybar/
|
||||
#cp /usr/share/doc/polybar/config ~/.config/polybar/polybar.conf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
mkdir -p /home/$username/.config/picom/
|
||||
wget https://ech1.github.io/blog/Conf/picom.conf -O /home/$username/.config/picom/picom.conf
|
||||
|
||||
#sudo pip3 install i3-workspace-names-daemon
|
||||
|
||||
|
||||
sudo systemctl enable xrdp
|
||||
|
||||
cd
|
||||
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/20-keyboard.conf -O /etc/X11/xorg.conf.d/20-keyboard.conf
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/lightdm-gtk-greeter.conf -O /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
sudo sed -i 's/#greeter-session=.*/greeter-session=lightdm-gtk-greeter/gi' /etc/lightdm/lightdm.conf
|
||||
sudo wget https://ech1.github.io/blog/Conf/Lain.rasi -O /usr/share/rofi/themes/Lain.rasi
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/archtor.service -O /etc/systemd/system/archtor.service
|
||||
sudo pacman -S ranger
|
||||
sudo mkdir /home/$username/.config/ranger/
|
||||
sudo wget https://ech1.github.io/blog/Conf/rc.conf -O /home/$username/.config/ranger/rc.conf
|
||||
sudo wget https://ech1.github.io/blog/Conf/rifle.conf -O /home/$username/.config/ranger/rifle.conf
|
||||
|
||||
sudo systemctl daemon-reload
|
||||
#sudo systemctl enable archtor
|
||||
|
||||
|
||||
sudo mkdir /usr/share/backgrounds/
|
||||
sudo cp /home/$username/Pictures/wallpaper3.png /usr/share/backgrounds/wallpaper2.png
|
||||
sudo cp /home/$username/Pictures/user1.png /usr/share/backgrounds/
|
||||
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/i3locker.sh -O /usr/local/bin/i3locker
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/music.sh -O /usr/local/bin/music
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/music_trance.sh -O /usr/local/bin/music_trance
|
||||
chmod +x /usr/local/bin/i3locker
|
||||
chmod +x /usr/local/bin/music
|
||||
|
||||
|
||||
curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
|
||||
|
||||
|
||||
|
||||
#sudo pacman -S picom
|
||||
mkdir -p /home/$username/.config/picom/
|
||||
sudo wget https://ech1.github.io/blog/Conf/picom.conf -O /home/$username/.config/picom/picom.conf
|
||||
|
||||
|
||||
echo '[multilib]' >> /etc/pacman.d/mirrorlist
|
||||
echo 'Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.d/mirrorlist
|
||||
|
||||
#mpd
|
||||
mkdir -p /home/$username/.config/mpd/playlists
|
||||
wget https://blog.void.yt/Conf/mpd.conf -O /home/$username/.config/mpd/mpd.conf
|
||||
#systemctl enable --now mpd
|
||||
#broken garbage ^ must be ran by user as i3config
|
||||
|
||||
sudo pacman -S noto-fonts-emoji
|
||||
|
||||
|
||||
|
||||
#echo '[+] PLEASE CHOOSE THE CORRECT CARD DRIVER FOR THE STEAM INSTALLATION !!!'
|
||||
#sudo pacman -Sy steam
|
||||
|
||||
sudo systemctl enable --now lightdm
|
||||
#lxappearance
|
||||
#sudo gnome-disks to automount everything
|
||||
#and you're done!
|
133
servers/Arch/2.tor.sh
Normal file
133
servers/Arch/2.tor.sh
Normal file
@ -0,0 +1,133 @@
|
||||
#!/bin/sh
|
||||
########################SECOND SCRIPT##########################
|
||||
|
||||
|
||||
if [ "$EUID" -eq 0 ]
|
||||
then
|
||||
echo 'MUST NOT RUN AS ROOT!'
|
||||
exit
|
||||
fi
|
||||
|
||||
sudo pacman -Syy
|
||||
sudo pacman -S reflector
|
||||
sudo reflector -c "France" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||
|
||||
sudo pacman -Syu
|
||||
echo
|
||||
#sudo pacman -S python3 python-pip
|
||||
#sudo pacman -S arch-wiki-docs adobe-source-han-sans-jp-fonts adobe-source-han-sans-tw-fonts feh vi ttf-dejavu
|
||||
#sudo pacman -S rofi xorg bash-completion vlc tmux git engrampa alacritty lightdm base-devel lightdm-gtk-greeter
|
||||
#sudo pacman -S i3lock dmenu network-manager-applet wmctrl thunar gnome-disk-utility thunar-volman gvfs lxappearance
|
||||
#sudo pacman -S udiskie mesa xorg i3 flameshot nvidia nvidia-settings nvidia-utils
|
||||
#sudo pacman -S gnome-keyring
|
||||
sudo pacman -S gnome-keyring udiskie mesa xorg i3 flameshot nvidia nvidia-settings nvidia-utils i3lock dmenu network-manager-applet wmctrl thunar gnome-disk-utility thunar-volman gvfs lxappearance python3 rofi xorg bash-completion vlc tmux git engrampa alacritty lightdm base-devel lightdm-gtk-greeter python-pip arch-wiki-docs adobe-source-han-sans-jp-fonts adobe-source-han-sans-tw-fonts feh vi ttf-dejavu remmina torbrowser-launcher
|
||||
#arch wiki is in file:///usr/share/doc/arch-wiki/html/en/Arch_Linux.html
|
||||
|
||||
username=$(ls /home | head -n1 | sed 's/\/$//')
|
||||
|
||||
#I3 !
|
||||
cd /home/$username
|
||||
mkdir .config
|
||||
cd .config
|
||||
mkdir i3
|
||||
cd i3
|
||||
wget https://ech1.github.io/blog/Conf/i3config -O config
|
||||
|
||||
|
||||
cd /home/$username
|
||||
git clone https://github.com/gpakosz/.tmux.git
|
||||
ln -s -f .tmux/.tmux.conf
|
||||
cp .tmux/.tmux.conf.local .
|
||||
|
||||
wget https://ech1.github.io/blog/Conf/tmux.conf.local
|
||||
mv tmux.conf.local .tmux.conf.local
|
||||
|
||||
|
||||
wget https://ech1.netlify.app/conf/bashrc -O .bashrc
|
||||
|
||||
sudo wget https://ech1.github.io/blog/Conf/i3status.conf -O /etc/i3status.conf
|
||||
|
||||
cd .config
|
||||
mkdir alacritty
|
||||
cd alacritty
|
||||
wget https://ech1.github.io/blog/Conf/alacritty.yml
|
||||
|
||||
cd /home/$username/
|
||||
mkdir Pictures
|
||||
cd Pictures
|
||||
wget https://ech1.github.io/blog/wallpaper3.png
|
||||
#wget https://ech1.github.io/blog/wallpaper_triple.png
|
||||
|
||||
cd /home/$username/
|
||||
mkdir Music
|
||||
cd Music
|
||||
mkdir Life
|
||||
cd Life
|
||||
wget https://ech1.github.io/blog/Conf/Infiltration.mp3
|
||||
|
||||
#sudo
|
||||
#apt install sudo -y
|
||||
#/usr/sbin/usermod -aG sudo $username
|
||||
|
||||
bash -c "$(wget https://ech1.netlify.app/Conf/xfce.sh -O -)"
|
||||
|
||||
#chown -R $username:$username /home/$username/
|
||||
#cp /home/$username/.bashrc ~/.bashrc
|
||||
|
||||
|
||||
cd /home/$username/
|
||||
wget https://ech1.github.io/blog/Conf/lockedscreen.png
|
||||
wget https://ech1.github.io/blog/assets/img/user1.png
|
||||
mkdir Tools
|
||||
cd Tools
|
||||
|
||||
git clone https://aur.archlinux.org/yay-git.git
|
||||
cd yay-git
|
||||
makepkg -si
|
||||
yay -S pnmixer i3lock-color xrdp archtorify-git
|
||||
|
||||
yay -S picom-jonaburg-git i3-gaps
|
||||
mkdir -p /home/$username/.config/picom/
|
||||
wget https://ech1.github.io/blog/Conf/picom.conf -O /home/$username/.config/picom/picom.conf
|
||||
|
||||
#sudo pip3 install i3-workspace-names-daemon
|
||||
|
||||
|
||||
sudo systemctl enable xrdp
|
||||
|
||||
cd
|
||||
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/20-keyboard.conf -O /etc/X11/xorg.conf.d/20-keyboard.conf
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/lightdm-gtk-greeter.conf -O /etc/lightdm/lightdm-gtk-greeter.conf
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/Lain.rasi -O /usr/share/rofi/themes/Lain.rasi
|
||||
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/archtor.service -O /etc/systemd/system/archtor.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now archtor
|
||||
|
||||
|
||||
sudo mkdir /usr/share/backgrounds/
|
||||
sudo cp /home/$username/Pictures/wallpaper3.png /usr/share/backgrounds/wallpaper2.png
|
||||
sudo cp /home/$username/Pictures/user1.png /usr/share/backgrounds/user1.png
|
||||
|
||||
sudo wget https://ech1.github.io/blog/servers/Arch/i3locker.sh -O /usr/local/bin/i3locker
|
||||
|
||||
curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
|
||||
|
||||
|
||||
|
||||
sudo pacman -S picom
|
||||
mkdir -p /home/$username/.config/picom/
|
||||
sudo wget https://ech1.github.io/blog/Conf/picom.conf -O /home/$username/.config/picom/picom.conf
|
||||
|
||||
|
||||
echo '[multilib]' >> /etc/pacman.d/mirrorlist
|
||||
echo 'Include = /etc/pacman.d/mirrorlist' >> /etc/pacman.d/mirrorlist
|
||||
|
||||
echo '[+] PLEASE CHOOSE THE CORRECT CARD DRIVER FOR THE STEAM INSTALLATION !!!'
|
||||
sudo pacman -Sy steam
|
||||
|
||||
sudo systemctl enable --now lightdm
|
||||
#lxappearance
|
||||
#sudo gnome-disks to automount everything
|
||||
#and you're done!
|
6
servers/Arch/20-keyboard.conf
Normal file
6
servers/Arch/20-keyboard.conf
Normal file
@ -0,0 +1,6 @@
|
||||
Section "InputClass"
|
||||
Identifier "keyboard"
|
||||
MatchIsKeyboard "yes"
|
||||
Option "XkbLayout" "us"
|
||||
Option "XkbVariant" "nodeadkeys"
|
||||
EndSection
|
31
servers/Arch/3.sh
Normal file
31
servers/Arch/3.sh
Normal file
@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then
|
||||
echo 'MUST RUN AS ROOT!'
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
|
||||
pacman -S firefox curl keepass discord telegram-desktop virt-manager qemu libvirt ebtables dnsmasq bridge-utils libreoffice
|
||||
|
||||
username=$(ls /home | head -n1 | sed 's/\/$//')
|
||||
|
||||
|
||||
|
||||
sudo gpasswd -a $username libvirt
|
||||
sudo systemctl enable libvirtd --now
|
||||
sudo systemctl status libvirtd
|
||||
|
||||
mkdir /home/$username/Documents/
|
||||
mkdir /home/$username/Documents/Github/
|
||||
mkdir /home/$username/Documents/ISOS/
|
||||
mkdir /home/$username/backups
|
||||
|
||||
|
||||
sudo -u $username bash -c "$(wget https://raw.githubusercontent.com/ech1/serverside/master/ssh/ssh_arch.sh -O -)"
|
||||
|
||||
|
||||
|
||||
|
142
servers/Arch/Lain.rasi
Normal file
142
servers/Arch/Lain.rasi
Normal file
@ -0,0 +1,142 @@
|
||||
/**
|
||||
* ROFI Color theme
|
||||
* User: Qball
|
||||
* Copyright: Dave Davenport
|
||||
*/
|
||||
|
||||
* {
|
||||
selected-normal-foreground: rgba ( 0, 0, 0, 100 % ); /*important*/
|
||||
foreground: rgba ( 209, 204, 115, 100 % ); /*important*/
|
||||
normal-foreground: @foreground;
|
||||
alternate-normal-background: rgba ( 22, 22, 22, 100 % ); /*important*/
|
||||
red: rgba ( 220, 50, 47, 100 % );
|
||||
selected-urgent-foreground: rgba ( 183, 28, 28, 100 % );
|
||||
blue: rgba ( 105, 58, 71, 100 % );
|
||||
urgent-foreground: rgba ( 255, 205, 210, 100 % );
|
||||
alternate-urgent-background: rgba ( 183, 28, 28, 100 % );
|
||||
active-foreground: rgba ( 178, 235, 242, 100 % );
|
||||
lightbg: rgba ( 238, 232, 213, 100 % );
|
||||
selected-active-foreground: rgba ( 0, 96, 100, 100 % );
|
||||
alternate-active-background: rgba ( 0, 96, 100, 100 % );
|
||||
background: rgba ( 0, 0, 0, 100 % ); /*important*/
|
||||
bordercolor: rgba ( 232, 234, 246, 100 % );
|
||||
alternate-normal-foreground: @foreground;
|
||||
normal-background: rgba ( 137, 134, 76, 3 % );
|
||||
lightfg: rgba ( 88, 104, 117, 100 % );
|
||||
selected-normal-background: rgba ( 209, 204, 115, 100 % ); /*important*/
|
||||
border-color: @foreground;
|
||||
spacing: 2;
|
||||
separatorcolor: rgba ( 209, 204, 115, 100 % ); /*important*/
|
||||
urgent-background: rgba ( 223, 110, 0, 6 % );
|
||||
selected-urgent-background: rgba ( 255, 205, 210, 100 % );
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
alternate-active-foreground: @active-foreground;
|
||||
active-background: rgba ( 223, 110, 0, 6 % );
|
||||
selected-active-background: rgba ( 137, 134, 76, 100 % );
|
||||
}
|
||||
window {
|
||||
background-color: @background;
|
||||
border: 1;
|
||||
padding: 5;
|
||||
}
|
||||
mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
message {
|
||||
border: 2px 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
listview {
|
||||
fixed-height: 0;
|
||||
border: 2px 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
element.normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
element.selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
element.alternate.normal {
|
||||
background-color: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
element.alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
element.alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
scrollbar {
|
||||
width: 4px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
mode-switcher {
|
||||
border: 2px 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
button.selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
inputbar {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
entry {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
prompt {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @normal-foreground;
|
||||
}
|
16
servers/Arch/archtor.service
Normal file
16
servers/Arch/archtor.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Archtorify Startup Service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/archtorify -t
|
||||
ExecReload=/usr/bin/archtorify -r
|
||||
ExecStop=/usr/bin/archtorify -c
|
||||
Restart=on-failure
|
||||
RestartSec=10s
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
112
servers/Arch/echo_memento.sh
Normal file
112
servers/Arch/echo_memento.sh
Normal file
@ -0,0 +1,112 @@
|
||||
#!/bin/bash
|
||||
#boot into usb
|
||||
|
||||
loadkeys fr
|
||||
ping -c4 archlinux.org
|
||||
timedatectl set-ntp true
|
||||
ip a | grep inet
|
||||
|
||||
pacman -Syy
|
||||
pacman -S reflector
|
||||
|
||||
reflector -c "France" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
|
||||
fdisk -l
|
||||
|
||||
#one harddrive : /dev/sda
|
||||
#one partition : /dev/sda1
|
||||
|
||||
cfdisk /dev/sda
|
||||
#gpt partition
|
||||
|
||||
#delete this partition
|
||||
#create new one (512M) (linux filesystem)
|
||||
|
||||
#select freespace again
|
||||
#create new one (20G) (linux filesystem)
|
||||
|
||||
#select freespace again
|
||||
#the rest is for home partition (linux filesystem)
|
||||
|
||||
#write changes to disk type yes
|
||||
#and quit
|
||||
|
||||
lsblk
|
||||
#now format it
|
||||
#sda1 : 512M
|
||||
#sda2 : 20G
|
||||
#sda3 : restG
|
||||
mkfs.fat -F32 /dev/sda1
|
||||
mkfs.ext4 /dev/sda2
|
||||
mkfs.ext4 /dev/sda3
|
||||
|
||||
mount /dev/sda2 /mnt
|
||||
mkdir /mnt/home
|
||||
|
||||
mount /dev/sda3 /mnt/home
|
||||
|
||||
lsblk
|
||||
#sda2 is mounted to mnt
|
||||
#sda3 is mounted to /mnt/home
|
||||
|
||||
pacstrap -i /mnt base linux linux-firmware sudo nano
|
||||
#skid faisait base linux linux-firmware
|
||||
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
cat /mnt/etc/fstab
|
||||
#root partition
|
||||
#and home partition
|
||||
|
||||
arch-chroot /mnt /bin/bash
|
||||
|
||||
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
||||
hwclock --systohc --utc
|
||||
date
|
||||
#timezone correct ?
|
||||
|
||||
#nano /etc/locale.gen
|
||||
echo 'en_US.UTF-8 UTF-8' > /etc/locale.gen
|
||||
echo 'LANG=en_US.UTF-8' >/etc/locale.conf
|
||||
locale-gen
|
||||
echo 'KEYMAP=fr' > /etc/vconsole.conf
|
||||
|
||||
echo 'nowhere' > /etc/hostname
|
||||
|
||||
echo "127.0.0.1 localhost" > /etc/hosts
|
||||
echo "127.0.1.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
|
||||
pacman -S networkmanager
|
||||
systemctl enable NetworkManager
|
||||
|
||||
pacman -S dhcpcd
|
||||
systemctl enable dhcpcd
|
||||
|
||||
#set root password
|
||||
passwd
|
||||
|
||||
useradd nothing
|
||||
mkdir /home/nothing
|
||||
cp /etc/skel/.* /home/nothing/
|
||||
chown -R nothing: /home/nothing
|
||||
#set nothing's password
|
||||
passwd nothing
|
||||
pacman -S sudo
|
||||
echo '%wheel ALL=(ALL) ALL' >> /etc/sudoers
|
||||
usermod -aG wheel nothing
|
||||
|
||||
|
||||
|
||||
pacman -S grub os-prober efibootmgr
|
||||
mkdir /boot/efi
|
||||
mount /dev/sda1 /boot/efi
|
||||
|
||||
lsblk
|
||||
|
||||
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB --removable
|
||||
grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
exit
|
||||
umount -R /mnt
|
||||
reboot
|
||||
|
||||
#tarace go anarchy
|
12
servers/Arch/i3locker.service
Normal file
12
servers/Arch/i3locker.service
Normal file
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=i3locker
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
Environment=DISPLAY=:0
|
||||
User=nothing
|
||||
ExecStart=/usr/bin/i3lock -c 000000
|
||||
|
||||
[Install]
|
||||
WantedBy=sleep.target suspend.target
|
||||
Before=sleep.traget suspend.target
|
24
servers/Arch/i3locker.sh
Normal file
24
servers/Arch/i3locker.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
i3lock -c 003030
|
||||
#-i /home/nothing/Nextcloud/blog/wallpapers/wallpaper_real_blue.png
|
||||
#--insidecolor=00141e \
|
||||
#--clock --datesize=70 \
|
||||
#--color=00141e \
|
||||
#--date-font=DejaVu \
|
||||
#--radius=350 \
|
||||
#--datecolor=d1cc73 \
|
||||
#--datestr="%H:%M:%S" \
|
||||
#--datepos="2140:860" \
|
||||
#--ringcolor=00141e \
|
||||
#--keyhlcolor=d1cc73 \
|
||||
#--verifcolor=00141e \
|
||||
#--indpos="2140:600" \
|
||||
#--timepos="0:0" \
|
||||
#--insidevercolor=d1cc73 \
|
||||
#--ringvercolor=d1cc73 \
|
||||
#--ring-width 5 \
|
||||
#-B 10
|
||||
#-i /home/nothing/lockedscreen.png \
|
||||
#-B 2 \
|
||||
#--color 000000 \
|
||||
|
211
servers/Arch/index.html
Normal file
211
servers/Arch/index.html
Normal file
@ -0,0 +1,211 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
<link rel="shortcut icon" href="../../../../../../../assets/img/favicon.png">
|
||||
|
||||
<title>Arch Install</title>
|
||||
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="../../assets/css/bootstrap.css" rel="stylesheet">
|
||||
<link href="../../assets/css/xt256.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="../../assets/css/main.css" rel="stylesheet">
|
||||
|
||||
|
||||
|
||||
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Static navbar -->
|
||||
<div class="navbar navbar-inverse-cis navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||