arrow_upward

Posted by: catfan - 09-12-2015, 08:44 PM - Forum: Web Design & Projects - Replies (2)
Maybe i want to make some site like http://www.icanhascheezeburger.com/ but i think it has bad design. Pictures are to small and so much junk that you dont need. Also it is very pale. I like colors like green and red but not white so maybe i can improve there to be better competition. I dont know yet but it can be. Do you guys think i am right or what would you improve? Any suggestion?
  cat
Posted by: catfan - 09-12-2015, 08:17 PM - Forum: Scripting & Programming - No Replies
cat is a popular command in unix. It has nothing to do with the animal but only maybe the inventors liked writing the name lots of times per day (many people do i think). I dont know but it is possible because they could have called it dog but did not do it. Also many people use cat and in over 40 years noone has tried renaming it to dog or anything else. Only Bill Gates made a cheap copy named type that is worse. Maybe he is alergic to some hair and dont want to be reminded. I dont know but it can be and enough with history now. Here is some useful example of how to use cat:

Basic usage (print some file):
Code:
cat /path/to/file

Inform yourself about your CPU:
Code:
cat /proc/cpuinfo

Write a file without any editor:
Code:
cat > /path/to/file

Continue write a file without any editor:
Code:
cat >> /path/to/file

Look at garbage (and maybe break terminal):
Code:
cat /dev/urandom

Get information about your OS:
Code:
cat /etc/issue /proc/version

Inspect your harddisk (only on linux as root and not recommended):
Code:
cat $( fdisk -l | grep 'Linux$' | sed 's/ .*//' )

Show every file on your system:
Code:
find / -type f -exec cat {} \;

Print message of the day:
Code:
cat /etc/motd

If you know some other good usage please post because i like this command very much!
Posted by: autokick - 09-12-2015, 07:23 PM - Forum: Offtopic - Replies (31)
what would you do on your vps

your planning and are you ready for it?
Posted by: Conan - 09-12-2015, 06:31 PM - Forum: Tutorials - Replies (12)
Code:
curl -k -s https://dev.1conan.com/workspace/ShellScripts/spinstaller.sh | sudo bash

To run a speedtest simply type the command
Code:
speedtest

Run it as root and be happy Smile


Removal
Code:
curl -k -s https://dev.1conan.com/workspace/ShellScripts/spinstaller.sh | sudo bash -s - --remove

Posted by: Conan - 09-12-2015, 06:27 PM - Forum: Tutorials - Replies (8)
HE IPv6 Tunnel for OpenVZ Containers


Want to have IPv6 on your VPS but your hosting company doesn't provide one? Want to be future proof your server or let IPv6 users access your website over IPv6? Then read my guide! This will teach you how to use the HE tunnel on your OpenVZ container without contacting your host for IPv6 IPs!
NOTE: Refer to https://freevps.us/thread-16343-post-188...#pid188783 for systemd Distros (CentOS 7/Debian 8/ETC.)

Requirements:
TUN/TAP Adapter Enabled
iproute
gcc
Almost any Linux OS

First, you need to register on Hurricane Electric (Obviously).
URL: https://tunnelbroker.net/register.php
[Image: 9a7dcdcb0798d5e3e73b53e87eefd91f.png]
Once you are finished registering, you can move now on to the next step.


Then, Lets start creating our tunnel.
URL: https://tunnelbroker.net/new_tunnel.php

First, Input your Server IP Address in the text box.
[Image: 3f009a67ca0b4b26871ea4420db78ce0.png]

Next, Find the Tunnel Server that is closest to the location of your OpenVZ server.
(I'd recommend you to ping it, then ping the others and find the one with the lowest latency)
[Image: f14a48a2bb30b44b1ac626932c7a81dd.png]

Next, the most exciting part, the part where we connect it!
All the Info we need from that page is:
Server IPv4 Address
[font=arial, sans-serif]Client IPv4 Address[/font]
[font=arial, sans-serif][font=arial, sans-serif]Client IPv6 Address[/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]Routed /64[/font][/font][/font]
[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif][Image: a1bf1d370425f687813c431e8dbb7f22.png][/font][/font][/font]

[font=arial, sans-serif][font=arial, sans-serif][font=arial, sans-serif]We need to compile and install a tiny program that we will use to tunnel[/font][/font][/font]
Code:
cd ~ #Lets Go to our home Dir

wget https://tb-tun.googlecode.com/files/tb-tun_r18.tar.gz #Lets get the source code!

tar -xvf tb-tun_r18.tar.gz #Why not extract it?

gcc tb_userspace.c -l pthread -o tb_userspace #Compile it!

mv tb_userspace /usr/bin/tb_userspace #Move it over to the bin folder

chmod +x /usr/bin/tb_userspace #Make it executable of course!. How would it run if it wasnt?
Lets Create the Init.d script!
Code:
nano /etc/init.d/ipv6hetb
Paste it in there with the require info

Code:
#!/bin/bash
touch /var/lock/ipv6hetb
 
 #Variables
 SERVER_IP4_ADDR="0.0.0.0" #Server IP From Hurricane Electric
 CLIENT_IP4_ADDR="0.0.0.0" #Your server IPv4 Address
 CLIENT_IP6_ADDR="::/64" #Client IPv6 Address from Hurricane Electric
 ROUTED_IP6_ADDR="::/64" #Your Routed IPv6 From Hurricane Electric
 
 
 
case "$1" in
  start)
    echo "Starting ipv6hetb "
      setsid tb_userspace tb $SERVER_IP4_ADDR $CLIENT_IP4_ADDR sit > /dev/null 2>&1 &
      sleep 3s
      ifconfig tb up
      ifconfig tb inet6 add $CLIENT_IP6_ADDR
      ifconfig tb inet6 add $ROUTED_IP6_ADDR
      ifconfig tb mtu 1480
      route -A inet6 add ::/0 dev tb
      route -A inet6 del ::/0 dev venet0
    ;;
  stop)
    echo "Stopping ipv6hetb"
      ifconfig tb down
      route -A inet6 del ::/0 dev tb
      killall tb_userspace
    ;;
  *)
    echo "Usage: /etc/init.d/ipv6hetb {start|stop}"
    exit 1
    ;;
esac
 
exit 0
Then press CTRL+X then press "y" then press enter

An example of the settings would be here
Spoiler Expand
Code:
#!/bin/bash
touch /var/lock/ipv6hetb
 
 #Variables
 SERVER_IP4_ADDR="216.218.226.238" #Server IP From Hurricane Electric
 CLIENT_IP4_ADDR="192.168.1.2" #Your server IPv4 Address
 CLIENT_IP6_ADDR="2005:490:c:6af::2/64" #Client IPv6 Address from Hurricane Electric
 ROUTED_IP6_ADDR="2005:490:d:6af::2/64" #Your Routed IPv6 From Hurricane Electric
 
 
 
case "$1" in
  start)
    echo "Starting ipv6hetb "
      setsid tb_userspace tb $SERVER_IP4_ADDR $CLIENT_IP4_ADDR sit > /dev/null 2>&1 &
      sleep 3s
      ifconfig tb up
      ifconfig tb inet6 add $CLIENT_IP6_ADDR
      ifconfig tb inet6 add $ROUTED_IP6_ADDR
      ifconfig tb mtu 1480
      route -A inet6 add ::/0 dev tb
      route -A inet6 del ::/0 dev venet0
    ;;
  stop)
    echo "Stopping ipv6hetb"
      ifconfig tb down
      route -A inet6 del ::/0 dev tb
      killall tb_userspace
    ;;
  *)
    echo "Usage: /etc/init.d/ipv6hetb {start|stop}"
    exit 1
    ;;
esac
 
exit 0

Then we should make it executable then run the service!
Code:
chmod +x /etc/init.d/ipv6hetb
service ipv6hetb start

Now we have IPv6 on our server!
Now lets verify it using
Code:
ifconfig
if you see a device called "tb" you followed this guide right!

Lets try pinging an IPv6 Server!
Code:
ping6 -c 4 google.com
If it successfully ran, You really have IPv6 now!

Now, on to adding IPv6 to Nginx
Nginx:
We just need to add this to our server block
Code:
listen [::]:80;
listen [::]:443 ssl; #if you use SSL

A typical example for the server block would be
Spoiler Expand
Code:
server {
listen 80;
listen [::]:80;
listen 443 ssl;
listen [::]:443 ssl;
server_name localhost;

root /path/to/your/web/root/;
location / {
index index.html;
}
}

Apache Users: I intentionally didn't add this because I don't use Apache lol

Thanks to 4810
I used some of his guides as a "template" (Not literally) for making this
Posted by: Conan - 09-12-2015, 06:24 PM - Forum: Free VPS Providers - Replies (172)
Well most of you should already know this.

https://freevps.us

Longest running post2host platform free vps
Posted by: FacTioN - 09-12-2015, 05:56 PM - Forum: Hardware & Technology - Replies (106)
Windows 10 is new operating system and it is released in 29 July 2015 so It is made by Microsoft. In Windows 7 and Windows 8/8.1 which you can upgrade to Windows 10 for free and it have start menu back i also have Windows 10 installed already.  it have good design and style.
Posted by: FacTioN - 09-12-2015, 05:47 PM - Forum: Meet & Greet! - Replies (3)
Hello,

I am FacTioN aka Syntax and i play Halo Custom Edition i play scrims with my Evolve friends . i am here as i will surely apply for France VPS.
Posted by: Sagnik - 09-12-2015, 04:19 PM - Forum: Meet & Greet! - Replies (2)
Hello friends,
                   I am Sagnik Sasmal from India,currently studying in class 9 in Kolkata, West Bengal. I love to do new things in my free time,learning things in linux is one of them. I love VPS.


Thanks,
Regards,
Sagnik Sasmal
Posted by: catfan - 09-12-2015, 03:28 PM - Forum: Suggestions and Feedback - Replies (4)
I have received a warning Sad It was my mistake... i know. But i love cats... It is hard for me!! Please can you undo it? I am very sorry Sad I try make nice technical post right now (it is very long in my notepad)... I beg lower my warning or i drop motivation... Please sirs can you help? I had no chance to anticipate... message only said i will not look good so i though i have time to finish writing my guide to post Sad Sad Sad
Pages (304): Jump to page 
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,271
» Latest member: orzpainter
» Forum threads: 3,078
» Forum posts: 34,793

Full Statistics

Online Users
There are currently 238 online users.
» 0 Member(s) | 234 Guest(s)
Bing, Applebot, Google, UptimeRobot

Latest Threads
WHMCS/Blesta Addons - Upt...
Forum: Others
Last Post: DewlanceHosting
03-19-2024, 11:24 AM
» Replies: 5
» Views: 2,738
🌟 Introducing VCCPro.com ...
Forum: General
Last Post: bestadvisor
03-05-2024, 09:03 PM
» Replies: 0
» Views: 52
microLXC Public Test
Forum: Free VPS Providers
Last Post: Manal
02-14-2024, 06:08 AM
» Replies: 51
» Views: 15,937
Dewlance - Free Hosting, ...
Forum: Other Free Service Providers
Last Post: DewlanceHosting
02-12-2024, 11:07 AM
» Replies: 0
» Views: 88
Multiple IPs VPS in Franc...
Forum: Cheap Providers
Last Post: HostNamaste
01-23-2024, 04:04 AM
» Replies: 0
» Views: 133
Budget Dedicated Servers ...
Forum: Others
Last Post: HostNamaste
01-02-2024, 12:00 PM
» Replies: 0
» Views: 460
earn money with your webs...
Forum: Make Money
Last Post: andreyi1979
11-16-2023, 08:39 AM
» Replies: 10
» Views: 4,282
🪔Diwali Special OFFERS fo...
Forum: Others
Last Post: visualwebtechnologies
11-12-2023, 03:28 PM
» Replies: 0
» Views: 361
Windows VPS with Android...
Forum: Cheap VPS Providers
Last Post: vps-rdp
10-04-2023, 01:56 PM
» Replies: 0
» Views: 1,103
Are you looking for cheap...
Forum: Cheap VPS Providers
Last Post: vps-rdp
09-30-2023, 04:58 PM
» Replies: 0
» Views: 564

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting