arrow_upward

Posted by: hamed - 11-07-2019, 05:31 PM - Forum: Test/Informal Chat - Replies (3)
hello guys . I want to introduce you a temporary hair color. I had previously seen on TV networks temporary hair dye for 3 weeks. Can you please tell me her name I don't know?
And another question. I'm a boy . Do you think it's okay to dye my hair?
And what color do you recommend for my hair. (Not all my hair. Just the front of my head.)
In my opinion . Brown and white. what is your opinion?
Posted by: hamed - 11-06-2019, 06:33 PM - Forum: VPS Support - Replies (6)
hello i got this error when i enter the "vncserver :1" command .
i install it without any problem but when i run it i got this error . pls help me . ty
Code:
root@arta:~# vncserver
xauth: (stdin):1:  bad display name "arta:1" in "add" command

New 'arta:1 (root)' desktop is arta:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/arta:1.log

Posted by: LightDestory - 11-06-2019, 09:05 AM - Forum: Tutorials - Replies (4)
*This tutorial is part of a series, visit the main thread to learn more*

When we own a server we basically interact with it via a terminal using SSH or something older then that. The bash prompt became something that we always see and read, so why don't customize it?

On this tutorial, we will learn how customize our bash prompt: how to change colors and how to add information that can useful on Ubuntu Server & CentOS.

Let's start with some information!

  • How works our bash prompt?
    Most Linux distro displays by default the hostname and the current working directory. Prompt's configuration is stored inside a special shell variable called PS1, there are other variables called PS2, PS3 and PS4 that we will not be used on this tutorial.
    So we can say that the PS1 variable is used as the primary prompt string and it is evaluated before each terminal update. To see our current bash's prompt configuration we can run the following command: 
    Code:
    echo $PS1
    This configuration can be system-wide or user-specific, on this tutorial we will focus on user-specific customization.
  • Where is placed the bash's prompt configuration file?
    As we said above, the customization we will focus on is the user-specific one, so our bash prompt configuration file called ".bashrc", that contains the PS1 variable, is stored in the user's home:
    Code:
    ~/.bashrc
    OR
    /home/{user}/.bashrc
  • What kind of customization can I configure?
    Well, let's start listing the customization that can add useful information to our bash:
    • A bell character:
      Code:
      \a
    • An escape character:
      Code:
      \e
    • A newline:
      Code:
      \n
    • A carriage return:
      Code:
      \r
    • A backslash:
      Code:
      \\
    • A character whose ASCII code is the octal value nnn:
      Code:
      \nnn
    • A character (like 'q' will print 'q'):
      Code:
      {character}
    • If the user's uid is 0 it will print a '#', otherwise, if the user is 'root' it will print a '$':
      Code:
      \$
    • The date in 'Weekday Month Date' format (like “Tue May 26”):
      Code:
      \d
    • The time, in 24-hour HH:MM:SS format:
      Code:
      \t
    • The time, in 12-hour HH:MM:SS format:
      Code:
      \T
    • The time, in 12-hour am/pm format:
      Code:
      \@
    • The time, in 24-hour HH:MM format:
      Code:
      \A
    • The username of the current user:
      Code:
      \u
    • The version of Bash (like 5.00):
      Code:
      \v
    • The release of Bash, version and patchlevel (like 5.00.2):
      Code:
      \V
    • The hostname, up to the first ‘.’ (like 'POST4VPS.FREEVPS.COM' will be displayes as 'POST4VPS'):
      Code:
      \h
    • The hostname (like 'POST4VPS.FREEVPS.COM' will be displayes as 'POST4VPS.FREEVPS.COM'):
      Code:
      \H
    • The number of jobs currently managed by the shell:
      Code:
      \j
    • The basename of the shell’s terminal device name:
      Code:
      \l
    • The name of the shell, the basename of $0 (the portion following the final slash):
      Code:
      \s
    • The current working directory, with $HOME abbreviated with a tilde (like if you are on '/home/POST4VPS_tutorial' folder it will print '/home/POST4VPS_tutorial'):
      Code:
      \w
    • The basename of $PWD, with $HOME abbreviated with a tilde (like if you are on '/home/POST4VPS_tutorial' folder it will print 'POST4VPS_tutorial'):
      Code:
      \W
    • The history number of this command:
      Code:
      \!
    • The command number of this command:
      Code:
      \#
    • Begin a sequence of non-printing characters that can be used to embed a terminal control sequence into the prompt:
      Code:
      \[
    • End a sequence of non-printing characters:
      Code:
      \]
    The last two codes are really important because we will use them to set the colors and formatting configurations, the following codes need to be between the BEGIN and END snippets (like "\[ COLOR_FORMATTING_CODE \]"):
    • Reset the colors:
      Code:
      \e[0m
    • Set text color as Black:
      Code:
      \e[0;30m
    • Set text color as Red:
      Code:
      \e[0;31m
    • Set text color as Green:
      Code:
      \e[0;32m
    • Set text color as Yellow:
      Code:
      \e[0;33m
    • Set text color as Blue:
      Code:
      \e[0;34m
    • Set text color as Purple:
      Code:
      \e[0;35m
    • Set text color as Cyan:
      Code:
      \e[0;36m
    • Set text color as White:
      Code:
      \e[0;37m
    • Set text as bold and text's color as Black:
      Code:
      \e[1;30m
    • Set text as bold and text's color as Red:
      Code:
      \e[1;31m
    • Set text as bold and text's color as Green:
      Code:
      \e[1;32m
    • Set text as bold and text's color as Yellow:
      Code:
      \e[1;33m
    • Set text as bold and text's color as Blue:
      Code:
      \e[1;34m
    • Set text as bold and text's color as Purple:
      Code:
      \e[1;35m
    • Set text as bold and text's color as Cyan:
      Code:
      \e[1;36m
    • Set text as bold and text's color as White:
      Code:
      \e[1;37m
    • Set text as underline and text's color as Black:
      Code:
      \e[4;30m
    • Set text as underline and text's color as Red:
      Code:
      \e[4;31m
    • Set text as underline and text's color as Green:
      Code:
      \e[4;32m
    • Set text as underline and text's color as Yellow:
      Code:
      \e[4;33m
    • Set text as underline and text's color as Blue:
      Code:
      \e[4;34m
    • Set text as underline and text's color as Purple:
      Code:
      \e[4;35m
    • Set text as underline and text's color as Cyan:
      Code:
      \e[4;36m
    • Set text as underline and text's color as White:
      Code:
      \e[4;37m
    • Set the text background color as Black:
      Code:
      \e[40m
    • Set the text background color as Red:
      Code:
      \e[41m
    • Set the text background color as Green:
      Code:
      \e[42m
    • Set the text background color as Yellow:
      Code:
      \e[43m
    • Set the text background color as Blue:
      Code:
      \e[44m
    • Set the text background color as Purple:
      Code:
      \e[45m
    • Set the text background color as Cyan:
      Code:
      \e[46m
    • Set the text background color as White:
      Code:
      \e[47m


    Now, we can start our tutorial:
    Opening file configuration:
    • MAKE A BACKUP of your .bashrc before starting editing it!
    • As we already said our bash prompt configuration file is located inside the current user folder, so we can open it using terminal editor, such as nano or vim, or graphical editors, such as gedit or sublime.


    Locate the PS1 variable and start customizing:
    • Scroll down until you locate the PS1 variable.
    • Add your own customization by mixing up all the above snippets of code.

    Examples:
    • I want to display username in yellow and hostname in red (Desired output: user@host:
      Code:
      \[\e[0;33m\]\u\[\e[0m\]@\[\e[0;31m\]\h[\e[0m\]
    • I want to display the username is blue, hostname in purple and the current directory in bold and green:
      Code:
      \[\e[0;34m\]\u\[\e[0m\]@\[\e[0;35m\]\h[\e[0m\]\[\e[4;32m\]\w

    Useful online tools:

    There are very useful online tools that can help you creating your own bash configuration:
    To see your customization enable just re-log into the system!

    Have fun!

Posted by: aside - 11-03-2019, 04:08 PM - Forum: Meet & Greet! - Replies (3)
Hey all! I just wanted to pop in and say hello. I'm not a developer or into tech at all but I'm looking to learn more and this seemed like a good place to do that.
Posted by: deanhills - 11-03-2019, 02:16 PM - Forum: Announcements - Replies (20)
It is with great appreciation that post4vps.com has received a new VPS from Hostlease to replace the current VPS 16 that had been cancelled a few months ago.  It's a personal contribution by Jordy to be included  with Hostlease's other three VPSs (VPS 17 (1) and VPS 18 (2)).  So Hostlease is currently sponsoring a total of 4 VPSs with post4vps.

The new VPS 16 comes with much more powerful specs - a mega 4 vCore VPS for sure with 200 GB SSD and 12 GB RAM.  Location is Amsterdam, Netherlands.

Our very warm thanks to Jordy for his generosity.  The VPS will be available for competition during our next Giveaway in December.

Here are the specs for VPS 16:

Disk Space: 200 GB SSD
RAM: 12 GB
IP Addresses: 1x IPv4
Virtualization: KVM
Monthly Traffic: 5 TB
Location: Amsterdam/Lelystad, Netherlands
Control Panel: Ask Admin
Windows: Yes.  Trial License allowed.
Connection: 1 Gbps
Provided by: Hostlease
Game Servers are allowed without limitation - both private and public
Requirements: Backlinks to Hostlease and Post4VPS are required. And a sig backlink
Posted by: deanhills - 11-02-2019, 10:20 AM - Forum: Announcements - No Replies
This announcement doesn't apply to those VPS Holders who are following the post4vps rule of NOT contacting the sponsors of the VPSs direct.  Please note that VPS Holders who contact the sponsor of their VPS directly for support are in breach of post4vps VPS holder rules.  For any VPS Holder to contact the sponsor by PM, WhatsApp, Discord or the sponsor's ticket system, please note this is totally against the rules and will earn the VPS Holder a warning and suspension of his/her VPS. Hopefully sponsors who are contacted in this way will let the staff of post4vps know about this so we can deal with the offenders. 

If you have a problem with your VPS, and you need support, please create a thread in the VPS discussion forum - preferably in the private VPS support forum, so that you can give full and complete information of the VPS, IP number, details of the problem and print screens if those are available.  Sponsors may respond to support requests in the support section of our Forum, if they are available and want to assist - but only as a favour. If sponsor's input is needed this is for the staff to request directly from the sponsor.

DO NOT PM the staff, and do not ask for support in the Shout Box.  Also be considerate.  Don't install iffy games servers that you know will be easily blocked necessitating a regular reinstall of the OS - use your VPS responsibly so there won't be a need for asking support multiple times over the span of a week.  

Also note that the staff here are serving in a voluntary capacity, which is the reason you're getting your VPS for free.  You need to give at least 24 hours before you think you're not adequately served by the staff.  Otherwise if you want more regular assistance, suggest you purchase a VPS instead when you will then have the right to put in a ticket with the sponsor and expect more speedy service.
Posted by: ikk157 - 11-01-2019, 09:42 AM - Forum: General Gaming Discussion - Replies (37)
Greetings.

I play a lot of GTA V online. However, I struggle to claim up into higher ranks. i grind the hell of of the game but that doesn’t help at all.

This got me wondering, what are the missions/jobs that high rankers tend to play to reach that high rank?
There has to be a “recipe”
Posted by: ikk157 - 11-01-2019, 09:04 AM - Forum: Scripting & Programming - Replies (10)
Hello everyone,

Are there any discord bot builders that let you host the bot yourself after you’ve built it from their graphical interface?

I found several graphical discord bot builders. However, they restrict you to hosting it on their services. They don’t let you download the files and host them yourself.

And for anyone wondering, apparently you can host discord bots on free web hosting. Yup, even I was surprised!

Thank you
Posted by: ikk157 - 11-01-2019, 08:54 AM - Forum: Hardware & Technology - Replies (14)
Hello there everyone!

I have two rapsberry pis:
1) the Raspberry Pi 4B with 4GB ram and an external fan powered by the gpio pins with a heatsink.
2) Raspberry Pi 3B+ (comes with 1GB ram as standard, you don’t have an option when it comes to ram).

I really don’t know what to use them for. I feel like it’s wasteful to just leave them there doing nothing.

I initially wanted to use them as a server, but I cannot leave them running 24/7.

Many people suggested running emulators on them. But that’s not my cup of tea.

I really want to make use of them, so I’d love to know what you guys suggest.

Thank you
Posted by: deanhills - 11-01-2019, 05:03 AM - Forum: VPS Giveaways - Replies (16)
 14 VPSs are Available
  • 3x VPS 1
  • 2x VPS 3
  • 1x VPS 8
  • 2x VPS 9 (Locations: Dallas, Seattle)
  • 2x VPS 10
  • 1x VPS 11
  • 1x VPS 12
  • 1x VPS 14 (Location:  Dallas) (Note:  Picture ID required - may not be available subject to confirmation - please also apply for a second choice)
  • 1x VPS 17
The giveaway will remain open until Tuesday, 5th of November.  The winners will be announced on 6th of November.

For comparing the VPS Specifications, Users can check https://post4vps.com/compare/#1,3,8,9,10,11,12,14,17 (some of the vSwap Boxes are empty since the author was unable to get that info from users' past posts).

NOTE:
  • Users must read and agree to all terms of the provider (of the VPS which they want) when they apply.  These can be found on our Plans Page.  
  • When you apply, please let us know your preferred OS and the Domain you will be using with the VPS.
  • For VPS Plans belonging to @HostDoc (VPS 13 & 14), users have to verify their personal details by providing a photo ID which has the same name, address & phone number as mentioned in your VPS request thread.  You can either post this directly at your VPS request thread or PM the giveaway manager your ID Card as a proof. We will remove the ID card from our database once it has been verified. If you have any other way of proofing your details legitimately please let us know.

Please Read before Applying
  1. Read Our Forum Rules before applying.
  2. You should have met our minimum requirements to get VPS.
  3. Read Application Format before applying. (If the application format is wrong then your Request will be rejected)
  4. You must post your VPS application in VPS Request Forum.
  5. Read TOS of VPS providers before applying.

Pages (306): 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,100
» Forum posts: 34,783

Full Statistics

Online Users
There are currently 317 online users.
» 0 Member(s) | 315 Guest(s)
Bing, Applebot

Latest Threads
⚡ EnjoyVPS.Com : 35+ Glob...
Forum: Others
Last Post: RIYAD
01-06-2026, 01:21 AM
» Replies: 0
» Views: 540
Get LLHOST Netherlands Fe...
Forum: Others
Last Post: LLHOST
09-29-2025, 03:02 AM
» Replies: 0
» Views: 985
Super Fast LLHOST Netherl...
Forum: Value VPS Providers
Last Post: LLHOST
09-16-2025, 05:01 AM
» Replies: 0
» Views: 687
Get LLHOST Netherlands Fe...
Forum: Cheap Providers
Last Post: LLHOST
09-08-2025, 01:33 PM
» Replies: 0
» Views: 815
Windows VPS @ $31.5/Year ...
Forum: Cheap Providers
Last Post: DewlanceHosting
08-16-2025, 03:12 AM
» Replies: 0
» Views: 949
Buy DemoTiger Videos on c...
Forum: Others
Last Post: DewlanceHosting
08-16-2025, 03:10 AM
» Replies: 8
» Views: 6,540
Budget Dedicated Servers ...
Forum: Others
Last Post: HostNamaste
08-13-2025, 04:54 AM
» Replies: 2
» Views: 1,981
☁️ How to Use VCCPRO Virt...
Forum: Cheap Providers
Last Post: bestadvisor
07-13-2025, 09:36 AM
» Replies: 0
» Views: 1,419
[Promo] 30% Discount – VP...
Forum: Cheap Providers
Last Post: LLHOST
07-11-2025, 12:56 PM
» Replies: 0
» Views: 1,006
✅ Affordable VPS Hosting ...
Forum: Cheap VPS Providers
Last Post: RIYAD
07-02-2025, 03:02 AM
» Replies: 0
» Views: 2,247

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