วิธีการเพิ่ม admin user เพื่อใช้บริหารจัดการระบบ Zentyal 3 ให้ทำผ่าน SSH ตามคำสั่งต่อไปนี้
sudo su - #เปลี่ยนตัวเป็น root
useradd etapompam #เพิ่ม user ชื่อ etapompam
passwd etapompam #ตั้งรหัสผ่านให้ etapompam
groups etapom #ดูกลุ่มของ user เก่า ว่ามีอะไรบ้าง
usermod -g root etapompam #ใส่กลุ่มหลักให้ etapompam เข้ากลุ่ม root
usermod -G adm,sudo,dip,plugdev,lpadmin,sambashare,cdrom etapompam #เพิ่มกลุ่มให้เหมือน user เก่า
userdel etapom #ลบ user เก่า
วันศุกร์ที่ 23 พฤศจิกายน พ.ศ. 2555
วันพุธที่ 18 มกราคม พ.ศ. 2555
Zentyal
แก้ไข Template ของ Squid
มีอยู่ 2 ที่ด้วยกัน คือ
มีอยู่ 2 ที่ด้วยกัน คือ
/etc/ebox/80squid.confส่วนแรกแก้ไขตัวแปร ส่วนที่สองแก้ไขพวกข้อความเช่น visible_hostname
/usr/share/ebox/stubs/squid/squid.conf.mas
วันอังคารที่ 10 มกราคม พ.ศ. 2555
Reset Password WEBMIN
ถ้าล๊อกอินไม่ได้ ก็ใช้วิธีนี้ซะนะ
- How do I change my Webmin password if I can't login? Included with the Webmin distribution is a program called changepass.pl to solve erecisely this problem. Assuming you have installed Webmin in /usr/libexec/webmin, you could change the password of the admin user to foo by running
สำหรับ ubuntu มันไปอยู่ที่/usr/libexec/webmin/changepass.pl /etc/webmin admin foo
sudo /usr/share/webmin/changepass.pl /etc/webmin root รหัสที่ต้องการ
จากเว็บเค้า
วันศุกร์ที่ 21 มกราคม พ.ศ. 2554
XP Add firewall rule for RPC connection
1. ต้องติดตั้ง Windows XP Service Pack 2 Support Tools ติดตั้งแบบเต็มที่ด้วยนะ
( โหลดฟรี แต่ต้องตรวจสอบ XP ที่ใช้ก่อนว่าถูกลิขสิทธิ์ )
2. เปิด cmd ย้ายไปที่ c:\Program files\Support tools\
3. ipseccmd -w REG -p "Block RPC Ports" -r "Allow Inbound TCP Port 135 from 192.168.8.0 Rule" -f 192.168.8.0/255.255.255.0=0:135:TCP -n PASS
เป็นการยอมรับการติดต่อทาง RPC จาก subnet 192.168.8.0/24
ที่มา จากนี้
( โหลดฟรี แต่ต้องตรวจสอบ XP ที่ใช้ก่อนว่าถูกลิขสิทธิ์ )
2. เปิด cmd ย้ายไปที่ c:\Program files\Support tools\
3. ipseccmd -w REG -p "Block RPC Ports" -r "Allow Inbound TCP Port 135 from 192.168.8.0 Rule" -f 192.168.8.0/255.255.255.0=0:135:TCP -n PASS
เป็นการยอมรับการติดต่อทาง RPC จาก subnet 192.168.8.0/24
ที่มา จากนี้
วันอังคารที่ 18 มกราคม พ.ศ. 2554
ติดตั้ง LAMP บน Ubuntu
ตั้งแต่ 7.04 เป็นต้นมาใช้แค่คำสั่งเดียว
$ sudo tasksel install lamp-server
ส่วนการติดตั้งและการถอดถอน ทำทีล่ะตัวดูได้จากเว็บ Ubuntu
$ sudo tasksel install lamp-server
ส่วนการติดตั้งและการถอดถอน ทำทีล่ะตัวดูได้จากเว็บ Ubuntu
วันอังคารที่ 21 ธันวาคม พ.ศ. 2553
วันศุกร์ที่ 12 พฤศจิกายน พ.ศ. 2553
เอา "Test Mode Windows 7 Build 7600" ออกจาก desktop
If you want to re-enable driver checking and remove the test mode message, you may try the following commands in command prompt (Right click on CMD and run it as Administrator) and type the following commands to check if the drivers are enabled and the watermark is removed:
bcdedit.exe -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING OFF
Srinivas R
Microsoft Support.
สมัครสมาชิก:
บทความ (Atom)